Hola, claro que faltan parámetros en esa expresión, porque allí es donde le debes decir, que botones quieres que se visualicen y cuales no.
Extraído de la ayuda de Delphi:
Cita:
Description
Each TNavigateBtn value identifies a different button that can appear on a TDBNavigator object. The following table lists all the button types, their corresponding TNavigateBtn values, and the action associated with each button:
Button Value Action
First nbFirst Go to the first record
Prior nbPrior Go to the previous record
Next nbNext Go to the next record
Last nbLast Go to the last record
Insert nbInsert Insert a blank record
Delete nbDelete Delete the current record
Edit nbEdit Permit users to edit the current record
Post nbPost Post the current record
Cancel nbCancel Cancel the current edit
Refresh nbRefresh Refresh the data in the dataset
|
Por ejemplo, visualizar el primero y el ultimo:
Código Delphi
[-] DBNavigator1.VisibleButtons := [nbFirst, nbLast];
La única pega que veo a esto, es que estetícament es feo, ya que no deshabilita los botones, sino que los oculta y sólo muestra los que tu has escogido. Pero en fin...
Espero te sirva.
Saludos