Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anchor problem with inherited tab control
Message
 
À
13/07/2004 13:33:51
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00923864
Message ID:
00923900
Vues:
18
Max,
Do you have Large Fonts as your windows settings?
If so it is a know Designer bug, that the form will resize and try and draw everything in proportion.

HTH
--Shawn


>Gee I sure hope someone has already solved this one!
>
>I have a VB.NET base form, QLDForm, which inherits mmBusinessForm. This is the base for generic table maintenance forms. On this form there is a tab control which is anchored to all four sides so that it will stretch with the form. The tab control contains 3 tabs, Query, List, and Details which do what the say. On the List tab I have a blank space for an mmDataGrid to be placed on the subclass form which will be anchored to all four sides so that it can stretch with the tab. To the right of the grid I have mmButtonNew and mmButtonDelete which are anchored top right. Similarly I have a "Query" mmButton anchored bottom right on the Query tab and mmButtonSave and mmButtonCancel anchored bottom right on the Details tab.
>
>I create a form CustomerForm which inherits QLDForm. I can build my app and run this without adding any other controls and it works great UNLESS I change the size of the form during design. If I do that then all the command buttons move out of view off the right edge of the form.
>
>After first creating the CustomerForm, the tab control and all three tabs have Size property inherited from the parent QLDForm. If I look at the generated code in CustomerForm.vb there is no code to set the size property for these controls. Once the size is altered during design and I get code to set the size I'm cooked.
>
>Is this a known issue? Why should this occur? Is there a way around it?
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform