Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid content diont oprder correctly
Message
De
13/03/2024 15:02:18
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
13/03/2024 13:44:25
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01687690
Message ID:
01687700
Vues:
42
Luis,
1)
Low level test. Is your cursor ordered (i.e what is the result of BROWSE) after SET ORDER? Just issue BROWSE NOWAIT after the sorting method ....

2)
Have you considered to SET ORDER like
SET ORDER TO tag instead of SET ORDER TO tag_number ? Like
SET ORDER TO i_dat  ...
3)
Consider to REFRESH the grid after the change of SET ORDER. It might not be as simple as just grid.refresh, I have a rather complex method that refreshes the grid after sorting to keep active row visible. It is decades old and working, and I do not understand it at first glance. Older then eventbinding ...

Lutz

>Hi community,
>
>I have a grid on my form and i place code inside them to order on click header but they don´t work correctly especially when the column is of the date type.
>I think the column index gets messed up.
>Because clicking on the customer name column doesn't work either.
>I don't know what else to do!!!
>Can someone please help me?
>
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]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform