Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic comboboxes in grid
Message
From
29/01/2002 14:09:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Dynamic comboboxes in grid
Miscellaneous
Thread ID:
00612341
Message ID:
00612341
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform