Home > database >  Does the PB can do type of transformation
Does the PB can do type of transformation

Time:09-30

That will be a column object is converted to the corresponding string name
The name of a column, for example, get the corresponding string: 'column'
Or put the string 'cb_ok cb_ok converted to the corresponding button controls

CodePudding user response:

Traverse the window control, than in the control name, access control again, again want to do,

Int I
Commandbutton lcb_tmp

For I=1 to upperbound (the parent control)
If the parent. The control [I] the classname ()='cb_1' then
Lcb_tmp=parent. Control [I]
Lcb_tmp. The trigger event clicked ()
The exit
End the if
next

CodePudding user response:

This is ok, but I didn't say understand, how to provide, to what form. So I can't shows the code.

CodePudding user response:

reference 1st floor liubocy response:
traversal window control, than in the control name, access control, and then want to do,

Int I
Commandbutton lcb_tmp

For I=1 to upperbound (the parent control)
If the parent. The control [I] the classname ()='cb_1' then
Lcb_tmp=parent. Control [I]
Lcb_tmp. The trigger event clicked ()
The exit
End the if
Next

Like this

CodePudding user response:

The classname
  • Related