galagast
03-26-2005, 11:08 AM
I was wondering... why cant I get/set the width or height (and maybe some other values) of a UI item in the dialog such as a button or an activeX item? (the only parameters that i can access are the common UI ones)
It seems that while trying to access it within or from the listener, it returns an unknown property error...
im using this code by the way:
test_rollout.my_button.width = foo
--or
test_rollout.my_activeX.height = foo
got this from the helpfile:
...these parameters are not properties of the user-interface item and cannot be accessed or changed by a script. [Rollout User-Interface Controls - Common Layout Parameters]
is there another way to set this? :)
If thers no other way, how does the Layer Manager handle it? Im trying to resize my ActiveX ListView item whenever the dialog is resized.
It seems that while trying to access it within or from the listener, it returns an unknown property error...
im using this code by the way:
test_rollout.my_button.width = foo
--or
test_rollout.my_activeX.height = foo
got this from the helpfile:
...these parameters are not properties of the user-interface item and cannot be accessed or changed by a script. [Rollout User-Interface Controls - Common Layout Parameters]
is there another way to set this? :)
If thers no other way, how does the Layer Manager handle it? Im trying to resize my ActiveX ListView item whenever the dialog is resized.
