[lazarus] ToolBar/ToolButton

Shane Miller SMiller1 at stvgb.org
Tue Aug 8 15:44:47 EDT 2000


If you put in your code

{ASSERTIONS ON}
then everytime it reaches an ASSERT it's print the text.

What it does is it prints the second parameter if the first one is false.  Notice we put false in there so they all would print.  What you can do is use assert's to check for critical errors.  GTK uses it to check for null values.

ASSERT(pixmap <> nil,'ERROR: PIXMAP is nil');

something like that...
Shane


>>> christer.t.johansson at se.abb.com 08/08/00 11:34AM >>>

Hi

This is the case:

In the Test All app I want to create a ToolBar with
an array of TToolButton....Ok
Ether it's some bugs or I don't know how it is done,
I guess it is the last :-)

Could someone explain in a short way.

Chris


_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list