Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox -- Enabled but not accessable
Message
De
31/07/2002 16:32:48
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ComboBox -- Enabled but not accessable
Divers
Thread ID:
00684716
Message ID:
00684716
Vues:
50
Hi All,

I'm know I'm overlooking something. (VFP 7, SP1, Windows 2000 SP2):

I have a modal form that includes three ComboBox controls. They are initially disabled and have no control source. In the LostFocus of another control I call a method that

1) Sets their ControlSource
2) Sets Enabled to .T.
3) Does an explicit Refresh of each of the three

From the debugger and the command window I can verify the following:

Visible is true
RowSourceType is 5 (array) and each RowSource array is a properly populated (form property) array
Their ControlSource record pointer, a readwrite cursor, is properly positioned
BackColor is white (16777215)
ForeColor is 0 (black)
LockScreen is .F.
Via the command window, as I change the ListIndex the DisplayValue changes

Problem: I cannot access these ComboBoxes from the form and, visually, they appear disabled. That is they appear on the running form in the DisabledForeColor and DisabledBackColor, not the black and white values the debugger and command window report.

Help please! I'm stuck and would really, really appreciate suggestions as to what I am missing. Thanks so much!

Spencer Redfield
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform