BBjInputT::setInsertMode

Description

In BBj 24.00 and higher, this method sets whether the BBjInputT control is in insert mode.

Syntax

Return Value Method
void setInsertMode(boolean insert)

Parameters

Parameter Description
insert Sets whether the BBjInputT control is in insert mode.

Return Value

None.

Remarks

If in insert mode, then characters are inserted into the control when typed. Otherwise, the characters are overwritten. By default, the control is not in insert mode.

Example

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,200,150,"BBjInputD",$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")
inputt! = window!.addInputT(101,25,25,150,25,$0008$)
print "Insert mode: ",inputt!.getInsertMode()
inputt! = window!.addInputT(102,25,85,150,25,$0008$)
inputt!.setInsertMode(1)
print "Insert mode: ",inputt!.getInsertMode()
process_events

eoj:
release

ClosedVersion History

  • BBj 24.00: BBjInputT::setInsertMode added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.