Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize problem ...
Message
From
22/08/2000 16:51:42
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Resize problem ...
Miscellaneous
Thread ID:
00407996
Message ID:
00407996
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform