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