Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize problem ...
Message
From
23/08/2000 10:23:36
 
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407996
Message ID:
00408220
Views:
13
>Oops! I didn't mean to send that last one.
>
>First move your 'end with' up and explain what you mean by they don't resize properly (not at all, not correctly and if so what do they do/what should they do)
>
>With Me.fraImplementation
>   .Left = Me.fraComponents.Left
>   .Top = Me.fraComponents.Top
>   .Width = Me.Width - (.Left * 2)
>   .Height = Me.Height - .Top
>End With
>
>nCurLeft = Me.txtImplementation.Left
>nCurTop = Me.txtImplementation.Top
>Me.txtImplementation.Height = Me.fraImplementation.Height - (nCurTop * 2)
>Me.txtImplementation.Width = Me.fraImplementation.Width - (nCurLeft * 2)
>
>
>btw. use pre tags
and
around your text
>
>text here
>        retains its spacing
>                   see
>
Chad,

The multi-line text boxes extend off the viewable area ... They return dimensions that should be correct, and are positioned correctly retaining their positioning at 120 twips offset from the frame that contains them.

Top and Left should both be 120, this works just fine.
Height should be the height of the frame - (2 * Top)
Width should be the width of the frame - (2 * left)

ie . Centered in the frame whatever size the frame ends up being.

Thanks for the help...

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Previous
Reply
Map
View

Click here to load this message in the networking platform