Home » Developer & Programmer » Forms » use of TEXT item
use of TEXT item [message #85888] Mon, 09 August 2004 05:03 Go to next message
aliimran
Messages: 12
Registered: March 2004
Junior Member
how to change a text item value at runtime
ie i have a text item ti
i want that when i pressed button
then its value increment by one

i done this thing with a text box item
but how to do this using a graphic text item
ie like Lable in Visual Basic
Re: use of TEXT item [message #85927 is a reply to message #85888] Thu, 12 August 2004 04:58 Go to previous messageGo to next message
J.S.Rajkumar
Messages: 20
Registered: March 2004
Junior Member
Hi

In D2K we you can use Display Items instead of Labels in case you need to assign a value to the Label at runtime.

I don't think it is possible to manipulate a label.

Thanks
Re: use of TEXT item [message #85936 is a reply to message #85888] Thu, 12 August 2004 22:02 Go to previous message
Nikhil Shukla
Messages: 2
Registered: August 2004
Junior Member
Hi

Use Prompt instead of label. This feature not available in 4.5.

Ex.
-----------------------------
Prompt Text Item (yr)
Year 2000 : 2000
-----------------------------

declare
lv_year number;
begin
lv_year := 2004;
set_Item_Property
('YR',PROMPT_TEXT,'Year '||lv_year);
end;

Thanks
Previous Topic: Weird problem with KEY-COMMIT
Next Topic: using forms_ddl to insert
Goto Forum:
  


Current Time: Thu May 16 02:12:01 CDT 2024