NigelShaw
Registered User.
- Local time
- Today, 11:50
- Joined
- Jan 11, 2008
- Messages
- 1,572
Hi,
im currently trying to collect the form width when it is resized. My form is set at 20cm and i have the anchoring of an object set to stretch down and across so the object stays with the form width however, it just seems to be the same size always. i put a message box on a button that collects the object sizes when i change the form-
what can i do to collect the visual width of the resized object & form? its frustrating me...
cheers
Nigel
im currently trying to collect the form width when it is resized. My form is set at 20cm and i have the anchoring of an object set to stretch down and across so the object stays with the form width however, it just seems to be the same size always. i put a message box on a button that collects the object sizes when i change the form-
Code:
Dim intFormWidth As Integer
Dim intObjWidth As Integer
intFormWidth = Me.Width
intObjWidth = Me.MyObject.Width
msgbox intFormWidth & VbCrlf & intObjWidth
what can i do to collect the visual width of the resized object & form? its frustrating me...
cheers
Nigel