Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control which depends on form's property
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grid control which depends on form's property
Miscellaneous
Thread ID:
00534613
Message ID:
00534613
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform