Re: Refering to controls

From: Andrew Hardy <nobody_at_spam.from.news.AdvanticaTech.com>
Date: Thu, 19 Apr 2001 12:14:53 +0100
Message-ID: <9bmhc7$t2f$1_at_sun-cc204.lut.ac.uk>


Tom,

[Quoted]     :my_block.my_field = 'Hello World';

Andy
"Tom Deseamus" <elrice2_at_home.com> wrote in message news:I3tD6.48724$J%5.16431577_at_news2.rdc2.tx.home.com...
> Thanks that worked. One property I can't seem to find is the "Value"
> property of a text box. For example if I write a calculation in code and
> want to set the value of that text box based on the calculation.
>
>
> "Matt B." <mcb_at_ds.znet.com> wrote in message
> news:tdsbgao22sgv44_at_corp.supernews.com...
> > "Tom Deseamus" <elrice2_at_home.com> wrote in message
> > news:ixoD6.47374$J%5.15602589_at_news2.rdc2.tx.home.com...
> > > Can someone please give me an example of how to refer to controls and
 their
> > > properties and values on a form? For example if I wanted to run this
 code,
> > > how would I refer to the form, control, and properties.
> > >
> > > form name := myform
> > > control name := mycontrol
> > > button name := button1
> > >
> > > IF mycontrol value > 10 THEN
> > > myform background color := BLUE
> > > mycontrol forground color := RED
> > > END IF;
> > >
> > > Thanks,
> > > Tom
> >
> > Look at the following in the forms online help:
> >
> > GET_ITEM_PROPERTY
> > SET_ITEM_PROPERTY
> > GET_BLOCK_PROPERTY
> > SET_BLOCK_PROPERTY
> > GET_FORM_PROPERTY
> > SET_FORM_PROPERTY
> >
> > Also look at the SYSTEM variables (e.g.: SYSTEM.CURRENT_FORM,
> > SYSTEM.CURSOR_ITEM, etc.). You might also, depending on your needs,
 want
 to
> > look at NAME_IN for if and when you would like to build names
 dynamically
 in
> > your code.
> >
> > -Matt
> >
> >
>
>
Received on Thu Apr 19 2001 - 13:14:53 CEST

Original text of this message