Hello!
Is it possible to change the control property in other form? Something like otherform.label.caption = "hello"
Thanks!
Printable View
Hello!
Is it possible to change the control property in other form? Something like otherform.label.caption = "hello"
Thanks!
Yes, just reference it like you did. Is this VBA or VB6 or .NET etc.
VBA. I know why I had this question now. Because I was expecting the editor to show me list of properties/control name when i put "form." and I didn't get any control. Since that subform hasn't been loaded, therefore when i write the code, the control won't appear on the list. =)
Thanks RobDog!
It would be like...
UserForm1.SomeControl.SomeProperty