Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize Event Not Firing in Toolbar
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01046185
Message ID:
01047032
Vues:
17
Hi Kevin,

In Russian we would say, "The fools think alike <g>". :)

>Hi Serge!
>Yeah that's the conclusion I came to as well. I created 4 small "resize" buttons and a close button that appear when you right click on the toolbar. Since the toolbar contains a container with an edit field, these buttons appear above it. The user can then use these to resize the toolbar and then click the close button to make these resize buttons go away. It works pretty good. Here's some code from the click event of one of the buttons just in case anyone is interested.
>
>
>** Reduce Height **
>this.Parent.container1.edit1.height = this.Parent.container1.edit1.height - 10
>this.Parent.container1.height = this.Parent.container1.height - 10
>IF this.Parent.container1.edit1.height <= 39
>   this.Parent.container1.edit1.height = 39
>ENDIF
>
>
>By adding the buttons, it's almost like the toolbar has a toolbar. ;)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform