Home » Developer & Programmer » Forms » navigation
navigation [message #83320] Tue, 23 September 2003 23:22 Go to next message
dipin ojha
Messages: 6
Registered: September 2002
Junior Member
Hi!,
I have a bit of a requirement coming along my way.
My clients want the background color of the cursor item to be changed while the cursor enters the field and get back to normal when moving to another item.
Please help.
Dipin
Re: navigation [message #83331 is a reply to message #83320] Thu, 25 September 2003 08:35 Go to previous messageGo to next message
magnetic
Messages: 324
Registered: January 2003
Senior Member
build a pre-text-item and a post-text-item triggers on form-level [[or block-level]]
pre-text-item :
set the desired background with the set_item_property

set_item_property(:system.cursor_item,backgroundcolor,red);

post-text-item : set the backgroundcolor back to white with the set_item_property property.

check out the set-itemproperty syntax in forms help.
Re: navigation -- Y? [message #83343 is a reply to message #83331] Sun, 28 September 2003 06:07 Go to previous messageGo to next message
moon
Messages: 7
Registered: July 2002
Junior Member
y pre-text-item & post text item in form level and block level.. will it not sufficient in item level.
Re: navigation -- Y? [message #83344 is a reply to message #83343] Sun, 28 September 2003 16:06 Go to previous message
magnetic
Messages: 324
Registered: January 2003
Senior Member
i didnt say AND but OR.
since the color has to change for every item, you dont want to write trigger fot each item.
at block or form level, every item is included at once!!
Previous Topic: dynamic SQL
Next Topic: message in enter_query
Goto Forum:
  


Current Time: Thu Apr 25 09:49:49 CDT 2024