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
 Automatic column width / row height

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
JokerOne Posted - 03/04/2016 : 10:24:21 AM
Origin Ver. 9.1 and Service Release 1(Select Help-->About Origin):
Operating System: Win 7

Is there a LabTalk command that sets the column width of a particular col automatically just like double-clicking the right-handed border of that column?


Also, is there a LabTalk command that sets the row height of a particular row automatically just like double-clicking the lower border of that row?

Thanks for your help.

2   L A T E S T    R E P L I E S    (Newest First)
JokerOne Posted - 03/07/2016 : 06:30:23 AM
Thank you for your answer.

I think, that I already found the command you mentioned in the docs. However, also wcolwidth 3 (-1) seems not wo work exacly like a double-click.

E.g. typing 3,14 in a cell and double-clicking that particular column fits that column to the exact width of the number "3,14", while using wcolwidth .. (-1) just - I do not know - sets a default width or so?

At least this accounts for the Origin version I am working with (9.1).

cpyang Posted - 03/04/2016 : 10:57:51 PM
wcolwidth 3 (-1);//set col(3) to fit width
but wrowheight dose not seem to work

wrowheight [3] (-1);

set to default only, does not work same as double click.

you can find out about such by

lx w*;
or
lx *width*;
lx *height*;
and to get each XF info

wrowheight -h;

CP

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