Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize problem ...
Message
De
22/08/2000 16:51:42
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Resize problem ...
Divers
Thread ID:
00407996
Message ID:
00407996
Vues:
64
The form in question has a tab strip that activates frame controls. One of the frames has text boxes, combo boxes, etc. The remaining four frames each has a single multi-line text box. In the resize of the form, I am trying to resize the multi-line text boxes to match the frame that is being resized to match the new size of the form. The frames resize correctly, but the multi-line text boxes do not. Here is the resize code for one of them. Any one see what I've missed ???

With Me.fraImplementation
.Left = Me.fraComponents.Left
.Top = Me.fraComponents.Top
.Width = Me.Width - (.Left * 2)
.Height = Me.Height - .Top
nCurLeft = Me.txtImplementation.Left
nCurTop = Me.txtImplementation.Top
Me.txtImplementation.Height = Me.fraImplementation.Height - (nCurTop * 2)
Me.txtImplementation.Width = Me.fraImplementation.Width - (nCurLeft * 2)
End With

nCurLeft and nCurTop are declared previously in the event code.

Thanks in advance,

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform