Home > database >  Window after executing the open event, will also perform other events?
Window after executing the open event, will also perform other events?

Time:09-29

After the window, please perform open event, will perform other events?
Existing w_child a window, the ancestor window is w_parent, now encapsulates a function in the ancestral window to handle all controls in the window, to call this function in the w_child, because not directly in the open event of w_parent calls to this function, because some w_child window controls in ancestors window or not, don't want to every w_child window at the end of the open event and the called function statements, so can want to open after the event has been completed, there will be other events will perform, so you can write directly in this event, or derived window is too much, every one in the window of the open event with a single line of code inside, workload is a little big,

CodePudding user response:

The problem you describe is a little problem,
Even with an event B, you are still different w_child to write different logic, in the event B difference, write under open event or event B,
What's meaning, is not as good as they are written in the open

CodePudding user response:

Now just to write under the ancestors window B event, rather than every w_child call again, but this ancestor window B event to wait for later execution w_child window open event has been completed,
  • Related