简体   繁体   中英

Change information in a dialog box from another dialog box in WindowsBuilder?

In windowsbuilder, I would like to change information from a seperate window, more specifically a table, from my main window. Is it possible to use my information from one seperate window to change it in another box? Basically, take information from here: 在此处输入图片说明

And put it into this table: 在此处输入图片说明

Is it possible? If so, how? Thank you in advance.

Yes, it is possible - but not in Windows Builder.

Create an object which will hold the information from the first window and pass the information from the window to the object. Next, pass the object to the second window (how you do this will depend on how you've configured your window objects). Finally, populate the table with the information from the object.

As far as I know, there is no direct way to do this in Windows Builder, although the above method will work fine provided you can pass objects from the first window to the second.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM