Home » Developer & Programmer » Forms » display item.
display item. [message #82343] Tue, 20 May 2003 04:45 Go to next message
Mubeen
Messages: 44
Registered: February 2003
Member
Hi all,

Please help me out with this problem.

Suppose i have taken one display item and a push button item.what i want is

when i press the push button ,in the display field it should display 'add'.

so by taking the above example can anyone explain me how to do that .

Any help will be appreciated.

Mubeen.
Re: display item. [message #82344 is a reply to message #82343] Tue, 20 May 2003 05:08 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
You can change the value of a display item by assigning the value desired to it:
your_block.display_item = 'ADD'.

If you use the WHEN-BUTTON-PRESSED trigger of the button, I don't see any difficulty.

MHE
display item --> correction [message #82345 is a reply to message #82344] Tue, 20 May 2003 05:10 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
The code should, of course, read
:your_block.display_item := 'ADD'.
Previous Topic: Use of OLE container..
Next Topic: Thanx a lot Maheer.
Goto Forum:
  


Current Time: Tue Apr 23 21:09:57 CDT 2024