Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Cover a Combobox with a text Box
Message
From
26/08/2000 09:43:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00409524
Message ID:
00409534
Views:
21
>I am trying to set up a class which has the folowing functionality:
>1. I have a Combobox control
>2. In the same position on the screen, I have a text box which exactly covers the combo box (except for the Down Arrow)
>3. I will normally have the Text Box showing
>4. After I select the Combo Box (the down arrow will be visible) and choose my data, I move the contents to the text box
>5. At this point, I want the Text Box visible
>
>I can get most of the above to work,, except Point 5. After I leave the combo box,all the combo box still shows, unless I click in this location.
>
>(The reason I am doing this is to overcome limitations in ComboBoxes where I want to display descriptions from a file)
>
>Any help would be appreciated.
>
>Thanks
>
>Gerard


Gerard,
You could use zorder() to make it work. But you could completely get rid of textbox and show description in combo. You'd need to place description in first column (Incremental search would occur on that column).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform