BBjSysGui::getScaleX

Description

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

Syntax

Return Value

Method

number

getScaleX()

Parameters

None.

Return Value

Returns the current x-axis scaling factor.

Remarks

None.

Example

rem ' BBjSysGui::getScaleX

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:

See Also

BBjAPI

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