Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
ComboBox -- Enabled but not accessable
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement