|
+--BBjSysGui
|
+--BBjWindow
|
+--BBjButton
The BBjButton object provides methods for manipulating a GUI button control.
DropTarget, Focusable, TabTraversable, TextAlignable
A BBjButton object is created through the following BBjWindow methods:
|
Return Value |
Method |
|
BBjButton |
addButton(int ID, int x, int y, int width, int height, string title) |
|
BBjButton |
addButton(int ID, int x, int y, int width, int height, string title, string flags) |
|
Return Value |
Method |
|
string |
|
|
boolean |
|
|
void |
|
|
void |
setImageFile(string file) |
|
void |
setNoEdge(boolean noEdge) |
|
Return Value |
Method |
|
int |
|
|
void |
setDropActions(int actions) |
|
void |
setDropType(BBjVector types) |
|
Return Value |
Method |
|
boolean |
|
|
void |
setFocusable(boolean p_focus) |
|
Return Value |
Method |
|
boolean |
|
|
void |
setTabTraversable(boolean trav) |
|
Return Value |
Method |
|
int |
|
|
void |
setAlignment(int p_align) |
|
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
|
ON_BUTTON_PUSH |
B |
||
|
ON_FORM_VALIDATION |
V |
||
|
ON_GAINED_FOCUS |
f |
||
|
ON_LOST_FOCUS |
f |
||
|
ON_MOUSE_ENTER |
E |
||
|
ON_MOUSE_EXIT |
E |
||
|
ON_POPUP_REQUEST |
r |
||
|
ON_RIGHT_MOUSE_DOWN |
R |
None.
|
REM Create a button |
BUTTON Mnemonic - Create a Push Button Control
CALLBACK Verb - Register BBj Subroutine
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.