Button
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
- STR(String[]) - ID=1 - sets labels of the buttons
- MSR(String) - ID=2 - sets the message
- LAYOUT(int) - ID=3 - sets layout for the frame
- MSGAREA(int) - ID=4 - sets persentage of massage area to frame area
- GEOM(x, y, width, height) - ID=5 - sets parameters for the frame
- x – int
- y – int
- width – int
- height – int
- SHOW() - ID=6 - makes frame visible
- HIDE() - ID=7 - makes frame invisible
outpins
- LABELS(String) - ID=51 - fires button labels when they are clicked
- CLOSE(String) - ID=52 - fires some string when frame is closed
links to CVS
source org.vcb.parts.ui.Buttons
configuration button.vcb