DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

DDgui_toolbar: id_buttons$[], id_sprites[]

 

Create a toolbar

 

Example :

 

LOCAL id$[];  DIMDATA id$[],"test1","test2"

LOCAL sprites[]; DIMDATA sprites[],0,1

DDgui_toolbar(id$[],sprites[])

 

Result :

 

This creates a list of buttons in one go – saves having to call DDgui_button commands multiple times.