Home » Developer & Programmer » Forms » set_item_property from another block (forms 6i)
set_item_property from another block [message #327070] Fri, 13 June 2008 11:16 Go to next message
deahayes3
Messages: 203
Registered: May 2006
Senior Member

Help!

I am trying to change the color of an item from another block.
but when it executes it does all other statements but does not change the color (information is located in key-next-item trigger), any suggestions.

go_block('Master_blk');
SET_ITEM_PROPERTY('MASTER_BLK.EMP_FULL_NAME' ,VISUAL_ATTRIBUTE, 'CHANGE_TO_RED');
go_block('previous_blk);
Re: set_item_property from another block [message #327096 is a reply to message #327070] Fri, 13 June 2008 15:09 Go to previous message
Littlefoot
Messages: 21823
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It works correctly for me; there's no need to go to that block, simply
SET_ITEM_PROPERTY('block_name.item_name', visual_attribute, 'visual_attribute_name');
Previous Topic: Query Records in forms 6i
Next Topic: forms push button color
Goto Forum:
  


Current Time: Sun Feb 09 06:08:17 CST 2025