Jakyll
Programmer
- May 4, 2012
- 3
Hi,
New to Powerbuilder... I am trying to do something like this... I need to access a command buttons properties at runtime, but I won't know which one until it's clicked and a function is triggered ( myFunction(this.ClassName) ) ... I'm a C# programmer and don't know how to do this in PB
(in Pseudocode)
string myButton = "cb_1"
string result = ""
result = w_1.ControlsCollection(myButton).Text
I know there isn't such a thing as 'ControlsCollection' but I hope you understand my meaning... Any tips would be great! Thank you in advance.
New to Powerbuilder... I am trying to do something like this... I need to access a command buttons properties at runtime, but I won't know which one until it's clicked and a function is triggered ( myFunction(this.ClassName) ) ... I'm a C# programmer and don't know how to do this in PB
(in Pseudocode)
string myButton = "cb_1"
string result = ""
result = w_1.ControlsCollection(myButton).Text
I know there isn't such a thing as 'ControlsCollection' but I hope you understand my meaning... Any tips would be great! Thank you in advance.