Subject Re: Erase ond of Tool buttons in standard Toolbar
From Mervyn Bick <invalid@invalid.invalid>
Date Tue, 25 Nov 2014 08:27:37 +0200
Newsgroups dbase.getting-started

On Mon, 24 Nov 2014 09:28:28 +0200, Olivari <isellall777@gmail.com> wrote:

> One tool button DELETE_ROW in standard toolbar of frame window
> I want to erase this button only or to be enabled = false
> Or to erase a set of ROW_manger (add, edit,delete,abandon, save)
> Above is not possible ?
>
> so I tried to make my tool button ( PRINT) on Frame window as below
> And then how to code as next step.
>  FUNCTION Print_onClick¡¦.
> ////////
> this.PrintToolButton = new ToolButton(this)
>    with ( this.PrintToolButton )
>       Bitmap := "RESOURCE TL_PRINT"
>       speedTip := "Print"
>       onClick  := class ::print_onClick
>    endwith
>
> Function Print_onClick
> ??????????????
> Return
>

To hide the buttons in the standard toolbars add _app.speedbar = false to  
your form's onOpen event handler.  You can now add your own toolbar(s) to  
your application.

You will have received a copy of Ken Mayer's dBASE Book with your copy of  
dBASE.  Ken covers the creation of toolbars in some detail.

Mervyn.