I have a few forms that I have a DBGrid and DBNavigator for scrolling the grid. As far as edit, insert, delete, cancel and save functions I have a menu or using speedbuttons. On the DBNavigator - Visible Buttons, I have disabled nbCancel, nbDelete, nbEdit, nbInsert, nbPost and nbRefresh. Reason I want to write and better control these functions via TMainMenu and my own SpeedButtons. This works fine except on the form all is disabled except the Bof, Up, Down and EoF. Great, but at runtime, the Add or nbInsert is still showing???? Any ideas?
I'm going to code this in FormCreate to set these particular buttons to false and see if that does it. Be back in a bit to report.
Thanks, hardcoded it and all is good.