Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize controls
Message
From
10/09/1997 15:31:05
 
 
To
09/09/1997 15:14:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00049199
Message ID:
00049394
Views:
76
>>>>>>I am trying to allow users to resize a pageframe. I know a form is resizable but I would like to do the same to certain controls. Is there any way I can do this?
>>>>>
>>>>>Try the resize class from the Files section.
>>>>I didn't mention that I am working in VFP 3.0. I'm not familiar with the Files Section. Can you be more specific.
>>>
>>>There is also of version of resize for Visual FoxPro 3. Just click on the Files icon, proceed with Classes and lock for AutoResize.
>>
>>I would like the users to have the ability to resize a control at run-time. AutoResize won't do the trick. I am looking for the same affect as a form's borderstyle = 3-Sizable but for a control like a pageframe. So the user can take their mouse and resize the pageframe on a form at run-time.
>
>This case you have to code this yourself using following ideas:
>1. Pageframe.Click/DblClick event: toggle add/remove couple blackened dots (line or label) on pageframe border to indicate that resizing available (use Form.AddObject/Removeobject).
>2. Added 'dots' should have DragMode=1 to allow moving.
>3. 'Dots'.DragOver events should fire code which will resize (change Left\Top\Width\Height properties) of the pageframe, depending on what 'dot' is dragging.


Thanks for your help! This is exactly what I needed.
Previous
Reply
Map
View

Click here to load this message in the networking platform