Jump to content

What does the refresh button in TUniDBGrind does exactly ?


Alastor

Recommended Posts

Greetings 
im having a problem where I have around 3 databases connected in layers to each other with each layer shown in a separated TUniDBGrid component and it works all fine up to the point where I call search function in the databases too quick when i send too much requests DBGrid stops to refresh

I do have in my code line that reffreshes the Grid and evne when debugging I see that program reaches that part yet grind does not refreshes 

What i do is basicaly clicking search button that does reffresh at end but it does not work 

I need to go and click the refersh button manualy that is present at bottom tool bar of UniDBGrid then it actualy starts working ! 

So my question is is there difference between TUniDbGrid.Refresh and UniDbGrids toolbar Refresh button ? 
Also how should I call the DBgrinds toolbar refresh if its even posible since it seems to solve all problems ...

As a side note I noticed that when my DB goes into that state when it needs refresh property TUniDBGrid.GridNeedsRefresh goes True  so thats the only way i can detect that there is a problem but as I said doing simply TUniDbGrid.Refresh does not fix it I need to click refresh button on toolbar 
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...