Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Help
Message
From
13/01/2005 13:20:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00976758
Message ID:
00976860
Views:
8
>Hello Everyone,
>
>I hope I can explain what I want to do.
>On an inventory screen I have a bound combobox on a form which allows the user to select an agreement. There is an active flag in the agreements table, which means some of the agreements are active and some of them are closed. On the inventory screen when adding inventory items only the active agreements should be diaplayed in the combobox so that the user can select one, and in the mean time when viewing older inventory entries with a closed agreement the user should still be able to see the information regarding the closed agreement on the combobox.
>I was thinking of setting a filter on the combobox items to just display the active agreements. Or maybe find a way to disable the closed agreements in the combobox.
>
>What will be the best way to do this?
>
>Thank you in advance,
>Bianca

If the first character of a combo box item is a backslash, that element is visible, but unselectable.

This is easy if you use an array but you'll obviously need some additional modifications if the combo box is populated from a table.
Previous
Reply
Map
View

Click here to load this message in the networking platform