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:26:26
 
 
À
25/11/2003 11:21:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00853273
Message ID:
00853330
Vues:
14
Trey,

I did try that, too. Also refreshing after the LockScreen = .F. with no luck. I have finally had to create a form method that reassigns all column ControlSource's after requerying. Thanks for the input anyway.

Regards,

Don

>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
>>
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform