Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-standard combobox
Message
From
15/09/2009 13:34:29
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01424555
Message ID:
01424590
Views:
53
This message has been marked as a message which has helped to the initial question of the thread.
>>>>>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
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform