The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 DB list control

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Mike Buess Posted - 03/13/2002 : 5:38:58 PM
Is there a way to scroll using Labtalk? I have a scrollable list with several rows. LstCtrl.choice=30 will select the 30th row but won't bring it to the top of the list. I need something like the "Go to Row" command for worksheets.

Mike Buess
Origin WebRing Member
2   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 03/14/2002 : 12:49:31 PM
Thanks, Ryan. I'll try it tonight.

Mike Buess
Origin WebRing Member
rtoomey Posted - 03/14/2002 : 11:43:25 AM
Hi Mike,

I believe the shift(offset) method could be used in conjunction with the choice property.

For instance, if the Boltzmann function (in the Origin Basic Functions category) is selected in the NLSF Wizard, I can move it up to the top and then back again as follows:

store=NLSFwiz!Step.Function.FuncList.choice; // store the current choice
NLSFwiz!Step.Function.FuncList.shift(-1*store); // shift the item up to the top
NLSFwiz!Step.Function.FuncList.shift(store); // shift the item back to its original location

Hope this helps.

- Ryan



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000