BBjInputT::getEditString

Description

In BBj 24.00 and higher, this method returns the !EDIT string used to map input characters to edit functions for the BBjInputT control.

Syntax

Return Value Method
string getEditString()

Parameters

None.

Return Value

Returns the !EDIT string which is used to map input characters to edit functions for the BBjInputT control.

Example

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

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

inputt! = window!.addInputT(101,25,25,150,25,$0008$)
inputt!.focus()

edit$ = inputt!.getEditString()
print "Edit string is ",hta(edit$)

picker = pos($55$=edit$,-1)
if picker and mod(picker,2)=0 then edit$(picker-1,1) = $1c$; rem ' F1
if picker and mod(picker,2)=0 then edit$(picker-1,1) = $03$; rem ' ^C
inputt!.setEditString(edit$)

edit$ = inputt!.getEditString()
print "Edit string is ",hta(edit$)

process_events

eoj:
release

ClosedVersion History

  • BBj 24.00: BBjInputT::getEditString added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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