FAQ: Don't see the toolbar although activated

    • Offizieller Beitrag

    Q: I don't see the toolbar although I activated using SetEditorMode

    A: You can activate the toolbar and other "panels" using SetEditorMode. But the toolbar is auto sized. If there is no contents in the toolbar it will be practically invisible.

    This probably happens in your application. Since by default the toolbar (and panels) have no contents you need to specify the GUI definition file and load it. This is done with method SetLayout(). We provide a layout file buttons.pcc which can be used here. Using the provided package editor you can also add and delete items from all panels, create custom buttons which trigger the OnButtonClick event and also modify the drop downs.

    Note: If SetLayout was used but the PCC file was not found you will hear a beep at startup of the application. (MessageBeep API)

    The package file also contains the localization strings.

    Typically initialisation in C#:

    Regards,

    Julian Ziersch