Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Columnorder equals zero?
Message
From
10/05/2006 16:05:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01120588
Message ID:
01120779
Views:
24
Yuri --

loGrig.objects is the list of all objects in a container, which, for a grid, is the same as loGrid.columns.

Note that the statement which follows,
lnColIndex = loColumn.controlsource
, would fail if loColumn were not a column object, as only column objects have that property.

I'll make that change, if you think that's a step in the right direction.

However, I have no idea when it might be that this error would occur again -- might be hours, might be weeks. Supposing, for an instant, that this were not the solution. Do you have any other suggestions?

>James,
>
>I do not know what are loGrid.Objects and I am not quite sure that all of them are columns. I would use:
>
>
>FOR EACH locolumn IN thisform.Grid1.COLUMNS
>...
>
>
>
>
>
>>Yuri --
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform