|
+--BBjSysGui
|
+--BBjWindow
|
+--BBjInputD
In BBj 4.0 and higher, the BBjInputD object provides methods for manipulating a GUI date control.
DragSource, DropTarget, Editable, Focusable, RecordSetBindable, SimpleRecordSetBindable, TabTraversable, TextAlignable, Validateable
A BBjInputD object is created through the following BBjWindow methods:
|
Return Value |
Method |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h) |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h, string flags) |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h, string flags, string mask) |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h, string flags, string mask, string rules) |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h, string flags, string mask, string rules, int restore) |
|
BBjInputD |
addInputD(int ID, int x, int y, int w, int h, string flags, string mask, string rules, int restore, int value) |
|
Return Value |
Method |
|
void |
calendar() |
|
boolean |
getBeep() |
|
int |
|
|
string |
|
|
int |
getError() |
|
boolean |
|
|
boolean |
|
|
int |
|
|
string |
|
|
int |
|
|
string |
getMask() |
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
string |
|
|
boolean |
|
|
int |
getValue() |
|
boolean |
|
|
boolean |
isValid() |
|
void |
restore() |
|
void |
setBeep(int beep) |
|
void |
setCalendarSize(int width, int height) |
|
void |
setCaretPosition(int pos) |
|
void |
setEditable(boolean editable) |
|
void |
setEditString(string edit) |
|
void |
setHighlight(boolean highlight) |
|
void |
setInsertMode(boolean insert) |
|
void |
setLength(int length) |
|
void |
setLocale(String locale) |
|
void |
setMargin(int marginWidth) |
|
void |
setMask(string mask) |
|
void |
setPassEnter(boolean pass) |
|
void |
setPassTab(boolean pass) |
|
void |
setRestore(int restore) |
|
void |
setPlusMinus(boolean pass) |
|
void |
setShowWeeks(boolean show) |
|
void |
setTodayColor(BBjColor color) |
|
void |
setValue(int value) |
|
void |
setWeekdayColor(BBjColor color) |
|
void |
setWeekendColor(BBjColor color) |
|
Return Value |
Method |
|
int |
|
|
string |
|
|
void |
setDragActions(int actions) |
|
void |
setDragType(string type) |
|
Return Value |
Method |
|
int |
|
|
void |
setDropActions(int actions) |
|
void |
setDropType(BBjVector types) |
|
Return Value |
Method |
|
boolean |
|
|
void |
setEditable(boolean p_edit) |
|
Return Value |
Method |
|
boolean |
|
|
void |
setFocusable(boolean p_focus) |
|
Return Value |
Method |
|
void |
bindRecordSet(BBjRecordSet recordset, string fieldname) |
|
string |
|
Return Value |
Method |
|
void |
|
Return Value |
Method |
|
boolean |
|
|
void |
setTabTraversable(boolean trav) |
|
Return Value |
Method |
|
int |
|
|
void |
setAlignment(int p_align) |
|
Return Value |
Method |
|
void |
accept(boolean valid) |
|
string |
|
Callback Code |
Object-oriented Event |
Read Record Event |
Code |
|
ON_CONTROL_VALIDATION |
v |
||
|
ON_EDIT_MODIFY |
e |
||
|
ON_GAINED_FOCUS |
f |
||
|
ON_INPUT_KEYPRESS |
N (Notify Code 1) |
||
|
ON_LOST_FOCUS |
f |
||
|
ON_MOUSE_ENTER |
E |
||
|
ON_MOUSE_EXIT |
E |
||
|
ON_POPUP_REQUEST |
r |
||
|
ON_RIGHT_MOUSE_DOWN |
R |
None.
|
REM Create an InputD control |
INPUTD Mnemonic - Create Date Edit (INPUTD) Control
CALLBACK Verb - Register BBj Subroutine
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.