Raybaudi Posted May 7, 2010 Share Posted May 7, 2010 Hi all A way to change the background color of a field, going from one color to the other(s) with a simple click. ( No containers ) This works on 10 ( and UP ), but can be adapted to work ( slowly ) even with 9. _10_Toggle_Field__s_Background.zip Link to comment Share on other sites More sharing options...
comment Posted May 7, 2010 Share Posted May 7, 2010 Why not define the field as a button? Link to comment Share on other sites More sharing options...
Raybaudi Posted May 7, 2010 Author Share Posted May 7, 2010 The first release, made for 9, had buttons and script parameters. But was consistently slower than using the OnObjectEnter trigger. I could even use an $$var but, with this method, the information of the actual colour is stored into the text of the field ( this is the trick ). ( from TextColor ( TheField ; 0 ) and TextColor ( TheField ; 50 ) there is no noticable difference ) And this ( the hidden information ) opens new ways to manage accounts, layout access and so on... Link to comment Share on other sites More sharing options...
Recommended Posts