BBjInputT::getRestore

Description

In BBj 24.00 and higher, this method returns the restore string for the BBjInputT control.

Syntax

Return Value Method
string getRestore()

Parameters

None.

Return Value

Returns the restore string for the BBjInputT control.

Remarks

The restore string is the text representation of the date that appears when a user hits the restore key (usually ESC) or by calling the BBjInputT::restore method.

Example

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
window! = sysgui!.addWindow(50,50,200,200,"BBjInputT",$00090083$)
window!.setCallback(window!.ON_CLOSE,"eoj")
inputt! = window!.addInputT(101,25,25,150,25,$0008$)
inputt!.focus()
print "getRestore: ",inputt!.getRestore()
inputt! = window!.addInputT(102,25,75,150,25,$0008$)
inputt!.setRestore("12pm")
print "getRestore: ",inputt!.getRestore()
restore! = window!.addButton(1,25,125,150,25,"Restore",$$)
restore!.setCallback(restore!.ON_BUTTON_PUSH,"restore")
process_events

eoj:
release

restore:
    inputt!.restore()
return

ClosedVersion History

  • BBj 24.00: BBjInputT::getRestore added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

BBjInputT::restore

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