Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh not propagating down grid columns, headers, etc.
Message
From
25/11/2003 11:21:08
 
 
To
25/11/2003 09:40:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00853273
Message ID:
00853324
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform