Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
08/12/2022 12:47:11
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grids
Miscellaneous
Thread ID:
01685462
Message ID:
01685462
Views:
183
Hi Folks,

I'm lost. I have an app (GoFish) that sets a grid to a controlsource. This is as simple as
loGrid.ColumnCount = Fcount(Thisform.cSearchResultsAlias)
loGrid.RecordSource = (Thisform.cSearchResultsAlias)
The grid itself has a number of columns at design time, oddly set columnorder, oddly set zorder. Some have a column order some not. The number is different to the one set above.

The column Column17 appears left most and will be the first instantiated. It gets the 3th column of the table. Even when I change the table. It's all time the third.
Why? Why the third?

If you like to try yourself, GoFish is possibly on your comp anyway via Thor.

MODIFY CLASS gf_resultsform OF gofishui.vcx METHOD init to set a breakpoint near the code above.

Check the source.

I never use a grid in this way, I decided to build my grids at run time from start last millenium, I have no idea what is going on.

Thank you for your help.

Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Next
Reply
Map
View

Click here to load this message in the networking platform