Jump to content

How to force update of dbcontrols in another tunimtabpanel ?


FFREDIANELLI

Recommended Posts

I have a tdatasource with a grid on first tab and others details dbcontrols on others tab pages, changing the selected record on dbgrid do not update the dbcontols of the others tab pages, how to force this update on change of tab page ?

I tryed .repaint , .refresh... without success...

any help will be greatly  appreciated... :) 

Link to comment
Share on other sites

Ok... after 2 hours, yes... im new on this... i discovered the problem, my dbgrid is readonly and for some mistake i set 'enable' in dbgrid to false, this have no effect on the grid, it still working normaly navigation , normal , paging... etc... But ! do not move the cursor of the table , move on the client side, problably.. visualy but the server side not moved... so the others dbcomponents on others tabs do not show any movement...

Enable it againt and Voilá ! 

I do not see this first because the disabled grid do not change color like in VCL,  buy desing ?

 

Link to comment
Share on other sites

×
×
  • Create New...