Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing Controls
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00232807
Message ID:
00234036
Views:
33
>>>Try using code in an event in the edit box control such as mouse click to change the height and/or width of the control and refresh the control.
>>
>>Thanks, Thomas
>>
>>I'll bash around and see what I come up with.
>>
>>regards,
>Robin's cure looks better than my idea, plus it has been used successfully and probably easier to maintain.

I've done resizing of editboxes in the past. It was where I had a listbox above an editbox. The user could grab the border between the two controls and move it up and down, thereby resizing both controls. I did it with an invisible line between the two controls. Set the Mouse Pointer for the line to the Vertical Resizer Pointer. Then I used Drag and Drop methods to let the user drag the line up and down. When the user dropped the line, I resized the two controls and moved the line to proper locations and sizes.

You could do something similar with a small invisible box over the bottom right hand corner of your editbox. Let the user drag and drop it, then resize the edit box and move the invisible shape.

HTH
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform