Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh not propagating down grid columns, headers, etc.
Message
De
25/11/2003 11:21:08
 
 
À
25/11/2003 09:40:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00853273
Message ID:
00853324
Vues:
18
SWAG: have you tried explicitly refreshing the grid after the form refresh?
I've found that I've had to do that on occasion.

>I have a grid that is not refreshing properly. I have even recreated the grid with no change. In the header.click() of each column I have the follwing code:
>
>
>ThisForm.ChangeGridOrderBy(1)
>*Parameter is based on the column the header is contaned in. i.e. Column2 parameter would be 2, ...
>
>
>
>ThisForm.ChangeGridOrderBy() method contains:
>
>
>LParameters tnOrderBy
>
>If VarType(tnOrderBy) <> "N" Or tnOrderBy < 0 Then
>	Return
>EndIf
>
>If ThisForm.OrderBy = tnOrderBy Then
>	Return
>EndIf
>
>ThisForm.MousePointer = 11
>ThisForm.LockScreen = .T.
>
>ThisForm.OrderBy = tnOrderBy
>
>ThisForm.RequeryView()
>
>ThisForm.Refresh()
>
>ThisForm.LockScreen = .F.
>ThisForm.MousePointer = 0
>
>
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform