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
 Origin Forum
 What is the labtalk code to highlight a column?

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
EigenGoofy Posted - 05/12/2011 : 11:31:52 PM
http://www.originlab.com/pdfs/Origin85_Documentation/LabTalk_Scripting_Guide.pdf

The labtalk scripting guide does not really help me much. So I would rather ask here:
What is the labtalk code to highlight a column, say, highlight col(C)?

Thank you for your help!
2   L A T E S T    R E P L I E S    (Newest First)
EigenGoofy Posted - 05/13/2011 : 6:44:46 PM
Oh, This is purely awsome, esp for non-consecutive selection! Thanks a ton, greg.
greg Posted - 05/13/2011 : 10:09:32 AM
The WORKSHEET command has a SELECT option as in:
worksheet -select 2 0 2 0; // Select all of column 2
wo -s 1 5 2 10; // Select col 1, row 5 to col 2 row 10

For non-contiguous selection (of whole columns) you can use the colSel method of the WKS object:
wo -s; // de-select all
// following loop selects every other column
for(ii = 2 ; ii <= wks.ncols ; ii+=2)
wks.colSel(ii,1);
}

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