BBjWindow::setTrack
Description
In BBj 6.00 and higher, this method toggles the tracking mode of the window (see TRACK Mnemonic). By default, tracking is enabled.
Syntax
| Return Value | Method |
|---|---|
|
void |
setTrack(boolean track) |
Parameters
| Parameter |
Description |
|---|---|
|
track |
Specifies whether tracking is enabled. By default, track is set to true (1):
|
Return Value
None.
Remarks
By default, tracking is enabled.
You can use Window Creation flag $80000000$ to set track to 0 when you create the window with BBjSysGui::addWindow or BBjWindow::addChildWindow.
To enable scroll bars in a window, you should set track to 0 with either this method, the TRACK mnemonic, or Window Creation flag $80000000$. Then, use the window creation flags $00000004$ (horizontal scrolling) or $00000008$ (vertical scrolling) to enable scrolling for the window.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.