BBjSysGui::getScaleY

Description

In BBj 15.0 and higher, this method returns the current y-axis scaling factor.

Syntax

Return Value

Method

number

getScaleY()

Parameters

None.

Return Value

Returns the current y-axis scaling factor.

Remarks

None.

Example

rem ' BBjSysGui::getScaleY

sysgui = unt

open (sysgui)"X0"

sysgui! = bbjapi().getSysGui()

sysgui!.setScale(2,2)

print "getScale:",sysgui!.getScaleX(),sysgui!.getScaleY()

title$ = "BBjSysGui::setScale"

window! = sysgui!.addWindow(100,100,150,125,title$,$00090003$)

window!.setCallback(window!.ON_CLOSE,"eoj")

window!.addButton(1,25,25,100,25,"OK",$$)

window!.addEditBox(101,25,75,100,25,"Edit",$$)

process_events

eoj:

release

See Also

BBjAPI

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