Button

Document Actions
last edited 4 years ago by mtigran

description

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

figure

inpins

  1. STR(String[]) - ID=1 - sets labels of the buttons
  2. MSR(String) - ID=2 - sets the message
  3. LAYOUT(int) - ID=3 - sets layout for the frame
  4. MSGAREA(int) - ID=4 - sets persentage of massage area to frame area
  5. GEOM(x, y, width, height) - ID=5 - sets parameters for the frame
    • x – int
    • y – int
    • width – int
    • height – int
  6. SHOW() - ID=6 - makes frame visible
  7. HIDE() - ID=7 - makes frame invisible

outpins

  1. LABELS(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.Buttons

configuration button.vcb