Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newobject(..., 'column') errors when building a grid
Message
 
To
26/10/2006 11:40:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00900417
Message ID:
01166129
Views:
14
Hello Dragan!

I'm here again... I tried to find a workaround, but no success...

I'm creating a wizard to help me design forms. So, I need to create my grids (and columns, of course) in design mode.

If you have some time, please, try to find that precious code... If you are busy, no problem!

Thanks anyway!

Rodolfo


>>Hi Dragan,
>>
>>Sorry to replay a old thread, but I'm doing the same thing, and I'm getting the same error! ;-) I'm using VFP 9 SP1!
>>
>>Any news about it?
>
>Since I got some of these in regular use, I looked one up, and at runtime it does work like this:
>
>- grid.columncount=0
>- grid.recordsource="myalias"
>- in grid.init,
>
This.AddObject("colMe","gcol",{pass other parameters to gCol class})
>With This.colMe
>	** set some properties
>Endwith
>
>Still, in design mode, I had to get around this issue somehow, and the piece of code where I did that... well, couldn't find it :). I see that the tool I was building does create a grid with non-default column names, just couldn't find where I'm doing that. It's been months since I last touched that.
>
>Busy right now. Could you remind me of this issue in a couple of days?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform