Home » Developer & Programmer » Forms » run-time text color change (merged)
run-time text color change (merged) [message #155394] Sun, 15 January 2006 22:23 Go to next message
mrpranab
Messages: 32
Registered: March 2005
Member
Hello Everybody,

Wish a very Happy New Year 2006 to all of you.

I need one help from you.
I have a tabular form.I want the text color of
amount filed should display RED when its value
is negative.I want it to display at runtime.
what built in and how i have to uesd can you
pls tell me.

thanks in advance
Pranab
Re: run-time text color change (merged) [message #155396 is a reply to message #155394] Sun, 15 January 2006 22:40 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have two visual_attribute definitions - one normal and one red. Use the set_item_instance_property in a post-query trigger on the block. If the item is negative use the 'red' attribute else use the 'normal' attribute.

For more information, search this forum for 'set_item_instance_property', or google it.

David

[Updated on: Sun, 15 January 2006 22:41]

Report message to a moderator

Previous Topic: WHEN-TIMER-EXPIRED refresh
Next Topic: New student,please help me,thanks!
Goto Forum:
  


Current Time: Fri Sep 20 03:25:17 CDT 2024