Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic comboboxes in grid
Message
De
29/01/2002 14:09:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Dynamic comboboxes in grid
Divers
Thread ID:
00612341
Message ID:
00612341
Vues:
45
Hello All,

I have the problem which makes me feel stupid. I have a grid where I want to add several combobxes into one column at startup basing on table content and then switch between them via dynamiccurrentcontrol property. In the grid's init() I have the following code:

select table
scan
with this.column2
.addobject([cmbFl]+alltr(str(table.key)),[cmbFlags])
endwith
endscan

then grid has the dynamiccurrentcontrol="this.mRefreshcontrol"

mRefreshcontrol method is:
return [cmbFl]+alltr(str(table.key))

when I run this grid then instead of comboboxes I see the grey space. If I add these comboboxes in Class designer then everthing works fine.

What I'm doing wrong?

TIA
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform