Dennis,

I think Matthew needs to look at his sequence.
Seeing a form caption of ".vcaption" usually would indicate that his 
variable
is getting blown away somewhere.

I use form captions all the time, regardless of variable or not.

Use
--form ON BEFORE START eep
CLEAR VARIABLE vCaption
SET VARIABLE vCaption TEXT = 'This is the Caption'

--for ON AFTER START eep
PROPERTY RBASE_FORM CAPTION .vCaption

Just my nickle's worth (inflation).

Jan

-----Original Message-----
From: Dennis McGrath <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 13 Mar 2014 11:31:20 -0500
Subject: [RBASE-L] - Re: Changing caption on a Form


Karen,

We update the form caption all the time on variable forms.
Seems to me the same method should work on table driven forms to be 
consistent.

SET VAR vTmp = ('Generate Sample Budget Data for' & CTXT(.vBudgetYear))
PROPERTY RBASE_FORM CAPTION .vTmp



Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
From:[email protected] [mailto:[email protected]] On Behalf OfKaren Tellef
Sent: Thursday, March 13, 2014 11:21 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Changing caption on a Form

That's why I hardly ever use variable forms.    You can define in the form 
eeps, but you can't do a dynamic caption

Karen



-----Original Message-----
From: Dennis McGrath <[email protected] [mailto:[email protected]]>
To: RBASE-L Mailing List <[email protected] [mailto:[email protected]]>
Sent: Thu, Mar 13, 2014 11:18 am
Subject: [RBASE-L] - Re: Changing caption on a Form
What about Variable forms?
You cannot define form variables for a variable form.

Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected] [mailto:[email protected]]
From:[email protected] [mailto:[email protected]] [mailto:[email protected] 
[mailto:[email protected]?]] On Behalf OfKaren Tellef
Sent: Thursday, March 13, 2014 11:04 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Changing caption on a Form

You must have a form variable defined before it will be active.  If you 
define your vCaption outside of the form, then you need to sorta "redefine" 
it inside the form by creating a form variable:
    vCaption  =   .vCaption

Then the checkbox will be available, and you select vCaption

Karen



-----Original Message-----
From: Matthew Brock <[email protected] 
[mailto:[email protected]]>
To: RBASE-L Mailing List <[email protected] [mailto:[email protected]]>
Sent: Thu, Mar 13, 2014 10:55 am
Subject: [RBASE-L] - RE: Changing caption on a Form
The Dynamic Caption checkbox is grayed out and i can not set it.

Thanks,
Matthew D. Brock
IT Specialist
American Fireworks
1315 Hwy 71 W
Bastrop, Tx 78602

From:Adriana Montano <[email protected] 
[mailto:[email protected]]>
To: RBASE-L Mailing List <[email protected] [mailto:[email protected]]>
Sent: Thursday, March 13, 2014 10:46 AM
Subject: [RBASE-L] - RE: Changing caption on a Form
On the Form’s Object Properties (F11?) – Dynamic Caption tab you can set 
the Dynamic Form caption with your variable

From:[email protected] [mailto:[email protected]] [mailto:[email protected] 
[mailto:[email protected]?]] On Behalf OfMatthew Brock
Sent: Thursday, March 13, 2014 10:39 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Changing caption on a Form

I am trying to do a simple operation like setting a caption on a form and it 
is not working.

1st i set a variable which later on will be set at runtime
SET VARIABLE vCaption TEXT = 'This is the Caption'

Then i try to set the form property in "On After Start"
PROPERTY RBASE_FORM CAPTION .vCaption

And when i run the  form i get an output for the Caption as ".vCaption" 
instead of the "This is the Caption"

It seems like there is a lot of work to do simple items in RBase that can 
easily be done in other programmming languages.

Thanks,
Matthew D. Brock

Reply via email to