Home > database >  The dynamic problem of how to get after open the window?? OpenWithParm
The dynamic problem of how to get after open the window?? OpenWithParm

Time:09-25

I use OpenWithParm (lw_OpenWin lstr_parm, ls_WinName) function, which opened a window into the dynamic window name, but can't use isvalid judgment window, what method can get to the window object to have excuse me?? Note not opensheetwithparm way open sheet, so can't use getactivesheet, window open for dynamic response way,

CodePudding user response:

Where you need to reference the dynamic window, because it is the response of the window

CodePudding user response:

I'm through which a database to store which one need to open the window menu, the menu is dynamically generated,

CodePudding user response:

Such as: the name of the menu as follows: "data processing", entitled as "w_a" window, and then by:
The window lw_window
Openwhitparm (lw_window, ' ', "w_a")
Can open w_a window, but if I had to figure out whether this window exists, if before use the open (w_a) way to open the window, with the isvalid (w_a) is a window can be obtained, but also can use w_a. XXX to w_a, now use dynamic open way, these functions are used.

CodePudding user response:

Now can only use isvalid (lw_window) to replace the isvalid (w_a), but because your w_a is the response window (you say), then after open w_a, you must wait for w_a was close to perform other operations

Where is your previous w_a. XXX operation conducted?

CodePudding user response:

If you need to use dynamic method to open the window, so that means you've all similar w_a. All will not be able to run normally, the operation of XXX

Give you some advice, if the dynamic optional window is less, can be used to choose a case statement to open the window, such as:
 choose case as_winname 
Case 'w_a'
Openwithparm (w_a, ' ')
Case 'w_b'
Openwithparm (w_b, ' ')
Case 'w_c'
Openwithparm (w_c ')
In case the else
The end choose


If the dynamic optional window is more, can modify the original w_a. XXX this type of code, the interaction between the window and window by the way, as far as possible don't call B window method in A window

CodePudding user response:

Thank you, write wrong yesterday, the type of window is the main! Come,
Opened, can be in other operations, because the need in a public function calls to the dynamic open window (set some progress information), so just have this problem,

CodePudding user response:

Recently have a post, reply to sink the CSDN, top up again

CodePudding user response:

Starting on July 23, 2011, on July 22, arrived in the morning every day, after post and reply to posts will be by CSDN malicious to sink , every morning on BBS, post list post he could see the last updated date is July 22 the latest, it certainly made a questioner post cannot be browsing, then cannot give answers in time,

hope moderator: lzp_lrp can help reflect problem!!!!!!

From my community and I reply "post", can see me reply through normal post, so I decided to manually every day will I have a post reply to top up, I hope you understand and support me,

Want to see, can help you with that, after all, I can only continuous

Recently reply post, was CSDN to sink, jacking again
  • Related