|
-
Aug 1st, 2001, 08:35 AM
#1
How show a form over other forms and be able to select them by tabs?
Hi, I want to show various overlaped forms, that is, a form over other forms. And I need be able to select one of them by a tab each time as it occurs in many text editors like UltraEdit. How can I do it? Can you show me the proper code?
Regards
Cris
-
Aug 1st, 2001, 01:38 PM
#2
transcendental analytic
Say Form2 should be owned by Form1, load it using show method like this:
Form2.Show VBRUN.FormShowConstants.vbModeless, Form1
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Aug 16th, 2001, 04:57 AM
#3
Sorry, I don't understand your method
Hi kedaman,
Sorry, I don't understand your method. In fact, I have proved it and it seems that not work as I wanted, you know, to be able to select a form among other forms by a tab as it occurs in many text editors or Option pages or a TabStrip control or a Multipage control. Anyway, I tried to design a window that contain a Multipage control and then load a form on the Multipage' page in run time. My idea is that each Multipage's page contains a form.
That is,
In order to add a new tab or page it would be:
Dim Newpage as page
Set Newpage = Multipage1.pages.Add(...)
If I create a form as model for others forms, it could be:
Dim NewForm as From1
Then, I think, can create an instance of the form doing:
Set NewForm = Newpage.controls.Add(...)
But, it not works, specially as it is necessary a identifier variable of object type (Look at the MSDN help: Add (method))
Have you an idea about this? What can I do?
Thanks a lot and sorry for being so long
Cris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|