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
 assign text "%g" to text field

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
Peter.Hors1 Posted - 03/16/2004 : 03:57:11 AM
Hello everybody,

I want to assign the text "%g" to a text field.
Important:
I don't want to assign the content of the variable %g to the text field but the characters "%" and "g".

Using
textfield.text$="%g"
assigns just the name of the project to the text field.

What I want do do at all is to assign the page label and the string "%g" to the text field:
%z=page.label$;
Dateiname.text$="\b(%g)
%z";

I am using Origin 7.0G SR4

Peter Horstmann
Robert Bosch GmbH
Germany
2   L A T E S T    R E P L I E S    (Newest First)
Peter.Hors1 Posted - 03/16/2004 : 09:38:14 AM
Thank you Mike!


Peter Horstmann
Robert Bosch GmbH
Germany
Mike Buess Posted - 03/16/2004 : 07:52:02 AM
Hi Peter,

This will work if "Link to variables" is not checked in the label control...

%z=page.label$;
Dateiname.text$="\b(%%g)
%z";

Mike Buess
Origin WebRing Member

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