Home > database >  PB in how to make form shows in the designated container?
PB in how to make form shows in the designated container?

Time:09-25

PB in how to make form shows in the designated container? , such as: I have a form on the left shows outlook bar, or is all about a TAB to layout, and other forms are need to display on the right side of the TAB container, how to do? Thank you very much!

CodePudding user response:

If is the window, cannot make the TAB to open a page,
But you can extend a TAB object, complete the following functions:
1, define an empty UO, defined within a window variable,
2, the open () to open the window, then open a UO in the TAB, and pass the window to the window in the UO variables, and adjust the position of the window, the window of the text of the title is set UO,
3, the close () to close the window, then close the TAB UO,
4, click the TAB page, write UO inside the window variable setfocus ()

CodePudding user response:

Thank you, I know this method, because the download a good framework is doing so in the interface, thank you very much!

But we use VB API is like some form of display position can be specified in a container, the only information I didn't bring it don't remember, is there any comrades, because of the way with API directly may be more flexible, simple,

CodePudding user response:

reference 1st floor wag_enu response:
if is the window, cannot make the TAB to open a page,
But you can extend a TAB object, complete the following functions:
1, define an empty UO, defined within a window variable,
2, the open () to open the window, then open a UO in the TAB, and pass the window to the window in the UO variables, and adjust the position of the window, the window of the text of the title is set UO,
3, the close () to close the window, along with...

The top! To study the

CodePudding user response:

By the top

CodePudding user response:

refer to the second floor tomtop response:
thank you, this way I know, because the download a good framework is doing so in the interface, thank you very much!

But we use VB API is like some form of display position can be specified in a container, the only information I didn't bring it don't remember, is there any comrades, because of the way with API directly may be more flexible, simple,


It is as you say, setparent, can put a window directly to another object in the

FUNCTION declaration: the FUNCTION ulong SetParent (ulong hWndChild, ulong hWndNewParent) LIBRARY "user32. DLL
"
Use the

Setparent (handle (w_1), handle (tab_1. Tabpage_2))

CodePudding user response:

reference 1st floor wag_enu response:
if is the window, cannot make the TAB to open a page,
But you can extend a TAB object, complete the following functions:
1, define an empty UO, defined within a window variable,
2, the open () to open the window, then open a UO in the TAB, and pass the window to the window in the UO variables, and adjust the position of the window, the window of the text of the title is set UO,
3, the close () to close the window, and then...


Hello,
You download a framework to send a give me a good interface, or give me the address? Thank you,
My email address [email protected]

CodePudding user response:

Have so a good framework, whether to share!
  • Related