PDA

View Full Version : CheckBox.SetProperties not work why???


lnd
03-30-2009, 10:27 AM
tProperties = {};
tProperties.TextAlignment = ALIGN_RIGHT;
tProperties.ButtonAlignment = BTN_ALIGN_RIGHT;
tProperties.ReadOrder = READ_RIGHT_TO_LEFT;
CheckBox.SetProperties("CheckBox1", tProperties);

holtgrewe
03-30-2009, 12:26 PM
See if Getting the properties first, works any better for you...

tProperties=CheckBox.GetProperties("CheckBox1")
tProperties.TextAlignment = ALIGN_RIGHT;
tProperties.ButtonAlignment = BTN_ALIGN_RIGHT;
tProperties.ReadOrder = READ_RIGHT_TO_LEFT;
CheckBox.SetProperties("CheckBox1", tProperties);

What you had seems to work on page preload, but wasn't working dynamically. You may want to ping IR support for clarification.