Toolbar

Document Actions
last edited 4 years ago by Lusin_S_Sargsyan

description

This part is designed to create a frame window with buttons on it. One of inpins are arrays of strings, which are button labels and button icons. By clicking button its label is fired out and by closing window also some string is fired out.

figure

inpins

  1. STR(String[], String[]) - ID=1 - sets labels and icons of the buttons
  2. GEOM(x, y, width, height) - ID=2 - sets parameters for the frame
    • x – int
    • y – int
    • width – int
    • height – int
  3. SHOW() - ID=3 - makes the frame visible
  4. HIDE() - ID=4 - makes the frame invisible

outpins

  1. COMMAND(String) - ID=51 - fires button labels when they are clicked
  2. CLOSE(String) - ID=52 - fires some string when frame is closed

links to CVS

source org.vcb.parts.ui.ToolBar

configuration toolbar.vcb