Home » Developer & Programmer » Forms » Label run time problem. urgent anyone plz.
Label run time problem. urgent anyone plz. [message #87080] Sat, 04 December 2004 04:00 Go to next message
orcl_dev
Messages: 14
Registered: November 2004
Junior Member
Can any one tell plz how to change the color of the label... in

Forms 6i.....

i dont know how to do it...

i mean how to change Color of the label on Forms...

 

suppose u ve writen

account number ,, or

LIbrary SYSTEm... etc on Forms..

how to give it ur desired color..at run time through the

 

set_item_property..

i have used this property as

set_item_property('name',foreground_color,'desiredcolor')

but its not changing color..

the code is written behind the button pressed trigger or button..

but no result is there..

 

So tell me how to do it.. plz early and urgent..

plz explain the procedure..

Reply Urly

Regards..

 
Re: Label run time problem. urgent anyone plz. [message #87083 is a reply to message #87080] Sun, 05 December 2004 04:09 Go to previous message
Matloob Ali
Messages: 19
Registered: December 2004
Junior Member
1). Create the visual attribute take its properties by right click and set the desired foreground color in it.

2). Then use
SET_ITEM_PROPERTY(ITEM_NAME (to which u wana apply), CURRENT_RECORD_ATTRIBUTE (property of item),VA_NAME (visual attribute name which u created)).

SET_ITEM_PROPERTY(LB_NAME,CURRENT_RECORD_ATTRIBUTE, VA_GRAY);
Previous Topic: host command
Next Topic: A Challenging problem : CAN any one help ? PLZZZZ
Goto Forum:
  


Current Time: Wed Sep 18 18:23:31 CDT 2024