Hello FRed
I do not said hide but  disable the button  must be showed
 but does not exécuté the action . I tried  navigator.button but non
success.
Le lun. 3 févr. 2025, 12:13, Fred vS <fi...@hotmail.com> a écrit :

> Re-re hello Med.
>
> For info, you may also change the color of the button:
> tdbnavigator1.buttons[ord(dbnb_find)].color := cl_red;
>
> Also change the color of the glyph:
> tdbnavigator1.buttons[ord(dbnb_find)].colorglyph := cl_green;
>
> Or, the hint of the button:
> tdbnavigator1.buttons[ord(dbnb_find)].hint := 'I am the find button';
>
> From previuos post, enable/disable:
> tdbnavigator1.buttons[ord(dbnb_find)].enabled := false;
>
> Visible/hide:
> tdbnavigator1.buttons[ord(dbnb_find)].visible := false;
>
> Fre;D
>
> ------------------------------
> *De :* Fred vS <fi...@hotmail.com>
> *Envoyé :* lundi 3 février 2025 11:40
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* RE: [MSEide-MSEgui-talk] TDBNAVIGATOR
>
> Re-hello Med.
>
> OK, I (think) I get it:
>
> tdbnavigator1.buttons[ord(dbnb_find)].enabled := false;
>
> Cheers.
>
> Fre;D
>
> ------------------------------
> *De :* Fred vS <fi...@hotmail.com>
> *Envoyé :* lundi 3 février 2025 11:34
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* RE: [MSEide-MSEgui-talk] TDBNAVIGATOR
>
> Hello Med.
>
> At first look (I dont have my dev machine at the moment) I dont see how to
> disable the buttons.
> But you may show only the button you want, for example
> "tdbnavigator1.visiblebuttons :=[dbnb_first, dbnb_last, dbnb_find];"
>
> Fre;D
> ------------------------------
> *De :* Mohamed Hamza <medhom...@gmail.com>
> *Envoyé :* lundi 3 février 2025 06:20
> *À :* General list for MSEide+MSEgui <
> mseide-msegui-talk@lists.sourceforge.net>
> *Objet :* [MSEide-MSEgui-talk] TDBNAVIGATOR
>
> Hi All,
>
> Does anyone have any idea to Enable/Disable buttons of tdbnavigator at
> runtime.
> Regards.
>
> Med.
>
> _______________________________________________
> mseide-msegui-talk mailing list
> mseide-msegui-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to