Home > database >  Hurry hurry!!!!!!!!!! PB event
Hurry hurry!!!!!!!!!! PB event

Time:09-20

I through dynamic button creates a custom object, now I added a few edit box, on the window to display the coordinates of the button, excuse me each prawn, how to do this???????????

CodePudding user response:

Can by iterating through the form of the control array according to the tag value to get the object, get the object after the x, y value is to coordinate

CodePudding user response:

What is the mode of dynamically created by? OpenUserObject?
No matter what way, the control must be a statement, if it is a statement in user space, so will the control in the instance variables declared as public, or in the user custom controls to write a public function returns the coordinates of the buttons,
  • Related