Home » Developer & Programmer » Forms » change background color of text item at run time.
change background color of text item at run time. [message #77864] Wed, 05 December 2001 03:29 Go to next message
m masoom
Messages: 8
Registered: June 2001
Junior Member
hello
i want to change the background color of text itme in red at run time,what parameter should be pass in
set_item_property.kindly in detail coding help me.

----------------------------------------------------------------------
Re: change background color of text item at run time. [message #77865 is a reply to message #77864] Wed, 05 December 2001 05:31 Go to previous messageGo to next message
Joe
Messages: 138
Registered: November 1999
Senior Member
hi masoom,
try this
SET_ITEM_PROPERTY('block.item',background_color,'r255g0b0');
joe

----------------------------------------------------------------------
Re: change background color of text item at run time. [message #77867 is a reply to message #77865] Wed, 05 December 2001 10:04 Go to previous messageGo to next message
ghazala
Messages: 6
Registered: December 2001
Junior Member
joe,
your suggestion for changing the background color of text item at run time returns the following error " identifier background_color must be declared".
further help.

----------------------------------------------------------------------
Re: change background color of text item at run time. [message #77870 is a reply to message #77867] Wed, 05 December 2001 21:36 Go to previous message
Joe
Messages: 138
Registered: November 1999
Senior Member
i use the same construct my own program->forms 6
SET_ITEM_PROPERTY('partner_article.kdmat',background_color,'r192g192b192');
it works fine!
joe

----------------------------------------------------------------------
Previous Topic: How to use Tree Node.
Next Topic: HOW TO CALL A DYNAMIC REPORT FROM FORMS
Goto Forum:
  


Current Time: Fri Mar 29 10:56:32 CDT 2024