Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
08/12/2022 12:47:11
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grids
Divers
Thread ID:
01685462
Message ID:
01685462
Vues:
185
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]
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform