Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid control which depends on form's property
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid control which depends on form's property
Divers
Thread ID:
00534613
Message ID:
00534613
Vues:
44
Hi everybody,

I'd like to make town textbox to be a combobox in my grid, if thisform.ProcessType<>'prclproc' Basically, I can just set readonly property of combobox to true in case of "prclproc". But this doesn't seem elegant to me. I'm thinking about placing both controls in the grid and just assigning current control depending on condition. What do you think about this idea?

BTW, I also found, that if I have DynamicBackColor (or ForeColor) on the grid set in its Init method, it seems to be executed for each visible cell, when grid is instantiated. Is it a normal behavior?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform