Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to disable entries in the combobox?
Message
De
24/05/2010 13:22:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01465723
Message ID:
01465734
Vues:
79
This message has been marked as a message which has helped to the initial question of the thread.
J'aime (1)
>Hi everybody,
>
>I select data from SQL Server and display in the combobox. If the Hidden column value = 1 in SQL Server I want to display these values disabled.
> I tried appending \ in front of the description using case when statement, but as a result I got entries with \ in front of them.
>
>Is there a way to achieve what I want?
>
>Thanks in advance.

Also found this........
http://support.microsoft.com/kb/133743

"To disable items in a VFP ComboBox or ListBox control, precede the items with a backslash (\) character. Items in a VFP ComboBox or ListBox control can only be disabled when the RowSourceType property of the ComboBox or ListBox control is set to one of the following values:
0-None
1-Value
5-Array"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform