Several forms in one VB project 
Author Message
 Several forms in one VB project

You can't have more than about 250 controls on any one form. If you think you need more than that then think again. You must be doing something wrong in the design. There is always another way of doing something.

You may need to use is a TabStrip control. You'll find this in the Microsoft Windows Common Controls 6.0 (SP3) component. Using this and a few PictureBox controls you should be able to divide all your other controls into sections and show these sections one at a time.
--

Simon Jones
MillStream Designs Ltd
Independent IT Consultants
  I'm writing a VB simulation, that needs more controls than are allowed in one
  form. So I added additional forms to the project.

  I want to control all forms from Controls (buttons etc.) of the main form (the
  other forms are just displaying data). Of course this is not a problem, but I
  always have to call the ".Show" method of the additional forms within the
  click-events of the main form-controls in order to keep them displayed.
  This leads to an ugly flickering of the redisplayed additional form, since I'm
  working with the Z-order properties of the different forms.

  My question is, if there is any other possibility to handle several forms in
  one application as if it were one form. Or maybe I can even somehow change
  the maximum number of controls that one form can contain?



Sun, 16 Sep 2001 03:00:00 GMT  
 Several forms in one VB project


Fri, 19 Jun 1992 00:00:00 GMT  
 Several forms in one VB project
Barry,

Quote:
> Oh No! Not again!
> Could you explain the "SP3"?

"SP3" means Service Pack Three. The COMMCTL OCX (and almost all other
controls that shipped with VB5) were "branded" by the service pack with
that qualifier to distinguish them from non-serviced versions of the same
OCX.

~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please post/reply to the newsgroup(s) so
that everyone can benefit from the discussion.

Regards,

Klaus H. Probst, MCP

       ICQ: 22454937
      The VB Box: http://members.xoom.com/kprobst/
~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sun, 16 Sep 2001 03:00:00 GMT  
 Several forms in one VB project
Oh No! Not again!
Could you explain the "SP3"?

Barry Evans
Canberra, Australia
----------------------------

    You can't have more than about 250 controls on any one form. If you
think you need more than that then think again. You must be doing something
wrong in the design. There is always another way of doing something.

    You may need to use is a TabStrip control. You'll find this in the
Microsoft Windows Common Controls 6.0 (SP3) component. Using this and a few
PictureBox controls you should be able to divide all your other controls
into sections and show these sections one at a time.
    --

    Simon Jones
    MillStream Designs Ltd
    Independent IT Consultants


        I'm writing a VB simulation, that needs more controls than are
allowed in one
        form. So I added additional forms to the project.

        I want to control all forms from Controls (buttons etc.) of the main
form (the
        other forms are just displaying data). Of course this is not a
problem, but I
        always have to call the ".Show" method of the additional forms
within the
        click-events of the main form-controls in order to keep them
displayed.
        This leads to an ugly flickering of the redisplayed additional form,
since I'm
        working with the Z-order properties of the different forms.

        My question is, if there is any other possibility to handle several
forms in
        one application as if it were one form. Or maybe I can even somehow
change
        the maximum number of controls that one form can contain?



Mon, 17 Sep 2001 03:00:00 GMT  
 Several forms in one VB project


Fri, 19 Jun 1992 00:00:00 GMT  
 Several forms in one VB project


Fri, 19 Jun 1992 00:00:00 GMT  
 Several forms in one VB project
Whew! That gave me a fright because I have had my fill of service packs.

It was your mention of "6.0" which scared the excrement out of me. The last
COMMCTL OCX I saw under Vb5 was "5.0 (SP2)" even after I had installed Vb5
SP3 (?). Of course, with Vb6 it is now MSCOMCTL.OCX, ... and that is another
story ...

Barry Evans
Canberra, Australia
----------------------------

Barry,

Quote:
> Oh No! Not again!
> Could you explain the "SP3"?

"SP3" means Service Pack Three. The COMMCTL OCX (and almost all other
controls that shipped with VB5) were "branded" by the service pack with
that qualifier to distinguish them from non-serviced versions of the same
OCX.

~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please post/reply to the newsgroup(s) so
that everyone can benefit from the discussion.

Regards,

Klaus H. Probst, MCP

       ICQ: 22454937
      The VB Box: http://members.xoom.com/kprobst/
~~~~~~~~~~~~~~~~~~~~~~~~~~~



Tue, 18 Sep 2001 03:00:00 GMT  
 Several forms in one VB project


Fri, 19 Jun 1992 00:00:00 GMT  
 
 [ 11 post ] 

 Relevant Pages 

1. Merging Several Projects Into One

2. several CLSID for one DLL project

3. Jump from one project form to another project

4. Base forms project being used with several solutions

5. One adapter for several forms

6. One Database (access) several Forms (Beginner)

7. One dataElement in several forms

8. one record over several forms

9. Q: Run several different application on one form?

10. One dataElement in several forms

11. One data control across several forms???

12. One Database (access) several Forms (Beginner)

 

 
Powered by phpBB® Forum Software