Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right way with combo box control?
Message
From
02/06/2008 14:52:52
 
 
To
02/06/2008 10:26:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320984
Message ID:
01321113
Views:
22
I don't seem to have occasion to use a lot of combo boxes and they always seem to take more work to get going - I need some understanding on them...

In addition to Tamr's excellent advice, if you have a copy of 1001 Things You Wanted to Know About Visual FoxPro, take a look at Chapter 5.

Even if you don't have the book, you can download the sample chapters for free (Chapter 5 is one of them):

Chapter 5: Combos and Lists

Combo and list box basics
List and ListItem collections
When do the events fire?
How do I bind my combo and list boxes?
How do I refer to the items in my combo and list boxes?
What is the difference between DisplayValue and Value?
What's the difference between RowSourceTypes "alias" and "fields"?
How do I make my combo and list boxes point to a particular item?
Quickfill combos
How do I add new items to my combo and list boxes?
How do I filter the items displayed in a second combo or list box based on the selection made in the first?
A word about lookup tables
Generic lookup combos and lists
So what if I want to bind my combo to a value that isn't in the list?
How do I disable individual items in a combo or list?
How do I create a list box with check boxes like the one displayed by Visual FoxPro when I select "View Toolbars" from the menu?
A mover list class
What if I need to display hundreds of items in my combo box?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform