BBjInputT:setMargin

Description

In BBj 24.00 and higher, this method sets the left margin of the BBjInputT control.

Syntax

Return Value Method
void setMargin(int marginWidth)

Parameters

Parameter Description
marginWidth Specifies the width of the left margin.

Return Value

None.

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$)
print "getMargin",inputt!.getMargin()

inputt! = window!.addInputT(102,25,85,150,25,$0008$)
inputt!.setMargin(5)
print "getMargin",inputt!.getMargin()

process_events

eoj:
release

ClosedVersion History

  • BBj 24.00: BBjInputT::setMargin added.

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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