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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 assign text "%g" to text field
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Peter.Hors1

Germany
11 Posts

Posted - 03/16/2004 :  03:57:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 03/16/2004 :  07:52:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Peter.Hors1

Germany
11 Posts

Posted - 03/16/2004 :  09:38:14 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Mike!


Peter Horstmann
Robert Bosch GmbH
Germany
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000