Recent

Author Topic: no navigation on DBGrid in edit mode  (Read 4091 times)

slai

  • New Member
  • *
  • Posts: 25
no navigation on DBGrid in edit mode
« on: October 23, 2010, 02:19:18 pm »
Hy there

Is it possible to disable navigation in DBGrid if the underlying DataSource is in EditMode?

Thanks for replies!

jesusr

  • Sr. Member
  • ****
  • Posts: 499
Re: no navigation on DBGrid in edit mode
« Reply #1 on: October 23, 2010, 06:37:35 pm »
at design time set property AutoAdvance to aaNone and in code set FastEditing:=false, see http://wiki.lazarus.freepascal.org/Grids_Reference_Page#Adjustments_for_improving_Delphi_grids_compatibility

 

TinyPortal © 2005-2018