Well, I do not think this will work for what
I am trying to do or I can't seem to figure it out.
I want to have a generic EEP that gets the
field name or button's text caption name when
you click on either object. Then I will popup
a small form with a help message for that object.
EDIT USING helpform where objname = .vobjname
I tried using the same ComponentI for 3 buttons
but it kept getting the same button text caption no matter
which button I clicked.
Is this possible with 7.5 ?
I think I am still missing something.
Marc
> >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.
>
>