Thanks Razzak and All

I should have know Property command to the rescue!!
Man that command does so much it is hard to keep up 
with everything it can do.

Thanks again
Marc


----- Original Message ----- 
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Tuesday, August 30, 2005 12:41 PM
Subject: [RBG7-L] - Re: SET VAR vbutton = (CVAL('form_field_name'))


> At 01:21 PM 8/30/2005, Marc Schluter wrote:
> 
> >This use to return the name of a Button in 6.5 but does not
> >work in 7.5.
> >SET VAR vbutton = (CVAL('form_field_name'))
> >
> >How can this be done in 7.5? What am I missing?
> 
> Marc,
> 
> Actually, in 6.5++ for Windows, the (CVAL('Form_Field_Name'))
> return the text caption of that button.
> 
> You can achieve the same functionality in 7.x/V-8 Turbo for
> Windows by using the CAPTION property as following:
> 
> -- Start
> SET VAR vButton TEXT = NULL
> GETPROPERTY <ButtonComponentID> CAPTION vButton
> RETURN
> -- End
> 
> vButton will return the text caption for that button.
> 
> That's all there is to it!
> 
> For complete details, syntax and examples:
> 
> Building Syntax for PROPERTY Command:
> 
> http://www.rbase.com/property
> 
> Building Syntax for GETPROPERTY Command:
> 
> http://www.rbase.com/getproperty
> 
> or
> 
> Refer to R:Docs (version 2.3 or higher)!
> 
> Have fun.
> 
> Very Best R:egards,
> 
> Razzak.
> 
> 

Reply via email to