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
 Using Long names to manipulate windows

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
LabTalk user Posted - 09/28/2010 : 10:18:00 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.1 SR3
Operating System: XP

I recently encountered a problem where the short name was being truncated and not naming the windows properly. I have gotten that issue resolved, but now I need to learn how to activate and rename windows using the long name. I can't seem to find it on the wiki page so any directions or assistance would be greatly appreciated.

Thanks!
3   L A T E S T    R E P L I E S    (Newest First)
minimax Posted - 09/29/2010 : 9:31:46 PM
Hi Patrick,

For Origin8.x version, it is suggested to use page.longname$ to rename the window's LongName.

Max
OriginLab Technical Support
LabTalk user Posted - 09/29/2010 : 7:01:49 PM
Thank you, this has helped point me in the right direction.

Thanks again!
VincentLiu Posted - 09/29/2010 : 04:29:11 AM
The following offers an example to show you how to active a window with its long name. But please note that for a long name could be used by different windows, it may be not a good way to manipulate a window with it.

Suppose you have a graph with long name as "My Test", then you can use the following command to activate it.

range rr = [My Test]!1;
win -a %(rr.getpage()$);


After the window has been activated, you could use

page.label$ ="You Test";

to rename it.

Vincent
OriginLab Technical Services

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