BBjInputT::setEditable

Description

In BBj 24.00 and higher, this method sets whether the user can edit the contents of the BBjInputT control.

Syntax

Return Value Method
void setEditable(boolean editable)

Parameters

Parameter Description
editable Sets the editability of the control.

Return Value

None.

Remarks

By default, the control is editable.

Example

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,200,150,"BBjInputT",$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")
inputt! = window!.addInputT(101,25,25,150,25,$0008$)
inputt!.setValue(tim)
inputt!.setEditable(0)
print "isEditable: ",inputt!.isEditable()
inputt! = window!.addInputT(102,25,75,150,25,$0008$)
inputt!.focus()
inputt!.setValue(tim)
print "isEditable: ",inputt!.isEditable()
process_events

eoj:
release

ClosedVersion History

  • BBj 24.00: BBjInputT::setEditable added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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