Simplicty and flexibility!


New Function in 8 - SetColor() - Change the Fill, Border and Font of Fields/Buttons (Ver. 8.0.0.1158)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

New Function in 8 - SetColor() - Change the Fill, Border and Font of Fields/Buttons (Ver. 8.0.0.1158)

This is the last function in the triumvirate, SetFocus()- SetState() and SetColor(). With this last function you will now be able to set the focus/cursor on a Field/Button, hide/show, enable/disable and finally change the appearance from a derivation or other button. To make it easy for and transparent for the user, we allow the user to set all three in one go. SetColor(Object,FontColor,FillColor,BorderColor) It returns an empty string so it can be deployed from any formula etc without interfering with the result. SetColor("Field1",#FeFeFe,-1,-1) -1 on property interprets as No Change. So this call will only change the colour of the font on Field1. You can call it with Hex value by using # prefix or with a decimal value 0-65535 Good luck!
Written by DataEase 19/11/12 at 19:44:55 Dataease [{8}]FIVE