Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to prevent Grid's Refresh
Message
From
12/04/2002 07:49:07
 
 
To
11/04/2002 15:34:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00643916
Message ID:
00644161
Views:
10
Hi!

In addition to what Nadya said, you can put all controls except grid into the container. Then refresh that container will refresh all controls inside of it. You will not need this way to call refresh of each text box, just a single call to refresh the container.

>Hy,
>I have a grid and a couple of related textboxes in the Form.
>In the AfterRowColChange I put thisform.refresh().
>But not only the textboxes get a refresh but also the grid.
>Is there a way to prevent the grid also refreshes?
>I know I can say thisform.textbox1.refresh(),thisform.textbox2.refresh() etc.
>A second solution is to put the textboxes in a container and said thisform.cnt.refrsh().
>But that is not what I want.
>I want to block the refresh from the grid.
>In the refresh methode of the Grid Return .F. doesn't work because the Refresh is already there,It must be done before the Refresh methode.
>Is this possible ?
>
>Thanks John Zylstra Holland
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform