; ToolBar::AddItem() - similar to 'AddGadgetItem()'
; ToolBar::AttachPopupMenu() - attachs a popup menu to the button
; ToolBar::ButtonText() - similar to 'ToolBarButtonText()'
; ToolBar::ComboBox() - adds a ComboBox to the toolbar
; ToolBar::DisableButton() - similar to 'DisableToolBarButton()'
; ToolBar::DisableReDraw() - disable/enable redrawing
; ToolBar::Separator() - similar to 'ToolBarSeparator()'
; ToolBar::EventNumber() - returns the event number (integer) of the toolbar button
; ToolBar::EventID() - returns the event ID (string) of the toolbar button
; ToolBar::EventState() - returns the state of a toolbar gadget (e.g. ComboBox)
; ToolBar::Free() - similar to 'FreeToolBar()'
; ToolBar::Gadget() - similar to 'CreateToolBar()'
; ToolBar::GetAttribute() - similar to 'GetGadgetAttribute()'
; ToolBar::GetIndex() - returns item index of the corresponding event number
; ToolBar::GetIndexFromID() - returns item index of the corresponding event ID
; ToolBar::GetGadgetNumber() - returns the gadget number of the gadget at index position
; ToolBar::GetState() - similar to 'GetGadgetState()'
; ToolBar::GetText() - similar to 'GetGadgetText()'
; ToolBar::ImageButton() - similar to 'ToolBarImageButton()'
; ToolBar::HideButton() - hide button
; ToolBar::Height() - similar to 'ToolBarHeight()'
; ToolBar::SetAutoResizeFlags() - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; ToolBar::SetAttribute() - similar to 'SetGadgetColor()'
; ToolBar::SetColor() - similar to 'SetGadgetAttribute()'
; ToolBar::SetFont() - similar to 'SetGadgetFont()'
; ToolBar::SetGadgetFlags() - [#Top/#Bottom]
; ToolBar::SetPostEvent() - changes PostEvent [#PB_Event_Gadget/#PB_Event_Menu]
; ToolBar::SetSpinAttribute() - similar to 'SetGadgetAttribute()' for the SpinGadget [#PB_Spin_Minimum/#PB_Spin_Maximum]
; ToolBar::SetState() - similar to 'SetGadgetState()'
; ToolBar::SetText() - similar to 'SetGadgetText()'
; ToolBar::Spacer() - inserts available space between buttons
; ToolBar::SpinBox() - adds a SpinGadget to the toolbar
; ToolBar::ToolTip() - similar to 'ToolBarToolTip()'
; ToolBar::TextButton() - similar to 'ButtonGadget()'
Thorsten1867
Many thanks for sharing. I'am very sorry, but I have small note: if you click on the names of the buttons in a row, all these buttons will be highlighted. Would be great if it fixed.
ZX80 wrote:Thorsten1867
Many thanks for sharing. I'am very sorry, but I have small note: if you click on the names of the buttons in a row, all these buttons will be highlighted. Would be great if it fixed.
Thorsten1867
1st. Thank you.
2nd. Good, but not enough. Sorry, but now I am not receiving messages in the debugger window when I click on the button. No events.
Thorsten1867, thank you very much. Now everything is fine.
You are just a klondike with gold codes/modules. I also watch news in the topic: "Chart - Gadget". It's very interesting for me.