Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two controlsources in the same cell of a grid
Message
From
21/04/2006 09:29:04
 
 
To
21/04/2006 09:20:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01115235
Message ID:
01115353
Views:
7
PMFJI

Pardon me for asking a dumb questions also. Why don't you just put another column in the grid? Instead of trying to jam everything into one.

just my 2 cents.

Have a great weekend.
Beth

>>>>Hi Dragan,
>>>>
>>>>Did you set on Column Bound=.F. and right ControlSource for each control?
>>>
>>>
>>>Tried with .bound=.f. now, still the same. And the controlsource for the textbox is set in the init. The controlsource for the first textbox (showing outlinenr) is OK, it's just the second one, which should be different for the first two levels. As soon as I click anywhere on the grid, it becomes the same as on the third or lower levels.
>>
>>I believe you need to put the two controls in a container and then the container in the column.
>
>That's what I'm doing. And I have n containers in the column (5 so far, but that's dynamic, depending on number of levels in use, decided in column's init), and the column's dynamiccontrolsource is set to cnt1 for level 1, cnt2 for level 2 etc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform