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:26:26
 
 
To
25/11/2003 11:21:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00853273
Message ID:
00853330
Views:
13
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
>>
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform