BBjInputT::getError

Description

In BBj 24.00 and higher, this method returns the number of the last error generated in the BBjInputT control.

Syntax

Return Value Method
int getError()

Parameters

None.

Return Value

Returns the number of the last error generated in the BBjInputT control.

Example

rem ' BBjInputT::getError()

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()

window! = sysgui!.addWindow(50,50,200,100,"BBjInputT",$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")

inputt! = window!.addInputT(101,25,25,100,25)
inputt!.setCaretPosition(10)

error = inputt!.getError()
msg$ = "Error code for setCaretPosition(10) is: "+str(error)
msg = msgbox(msg$)

process_events

eoj:
release

ClosedVersion History

  • BBj 24.00: BBjInputT::getError added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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