Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Non-standard combobox
Message
De
15/09/2009 13:38:29
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01424555
Message ID:
01424592
Vues:
42
>>>>>>>I know, but I want a combobox - not enough space for the listbox.
>>>>>>
>>>>>>There is something like MouseEnter/MouseLeave where you can expand (change the height) the list /set the height back ?
>>>>>
>>>>>That's an interesting idea. Let me review the class I found and may be I can use auto-expanded ListBox idea if that class would not work for me.
>>>>
>>>>I just tried it - looks sexy - and what is more if you forgot the choice(s) you can mouve the mouse over it
>>>
>>> Can you please send the test form to my gmail then?
>>>
>>>I was fiddling with the table/view structure changes - haven't yet looked into the class.
>>
>>
>>
>>There's not a lot to send
>>
>>
>>(1) having set the rowsource and rowsource type
>>
>>(2) having set multiselect = .t.
>>
>>(3) MouseLeave
>>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>>this.Height = 24 && not clean, save the original height somewhere
>>
>>(4) MouseEnter
>>LPARAMETERS nButton, nShift, nXCoord, nYCoord
>>this.height = this.Parent.Height - this.Top
>>
>
>I think it should also show the first item selected when not expanded.

True - but can I leave something for you ?
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform