Hi there, not sure if this is possible but I am trying to create three arrays (here is an example), one that collects the check values from A1:A5, the second gathers the values from B1:B5 and the third which stores control properties in an array {"Enabled","MaxLength","Locked","TextAlign","SpecialEffect"}
Column 'A' would have either a Yes or No value in each cell.
Column 'B' might have values from row 1 to 5 like: (Row1: True, Row2: 5, Row3: False, Row4: fmTextAlignCenter, Row5: fmSpecialEffectSunken)
What I would like to do is run a for next loop that assigns a property value to a TextBox property (could be a variety of controls, the reason for the Yes/No check) if the array1 value = Yes then;
Is something like this possible? I have tried different declare types for the properties in array3 with no avail.
Thanks
Craig
Bookmarks