Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing Controls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00232807
Message ID:
00234036
Vues:
35
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform