BBGadTools
=BBWinPosX()
=BBWinPosY()
Description:
This two Commands Returns the X+Y Position of current Window.
If You Draws with any Commands of BB (Like Rect, Line, Oval or Others e.g.) in Current Window,
Please Use the "BBWinPosX()" + "BBWinPosY()"-Functions to get the Correct Coordinaates
of the Current Window. Otherwise do Not Use it with Commands of the BBGadTools.
(BBPushButton(), BBMakeVLine() and others e.g.) All BBGadTools-Commands will Draws
Automatically in the Current Window.
Parameter:
None!
Example:
X=BBWinPosX()
Y=BBWinPosY()
Text X+30,Y+50,"Hello" ; Drawing "Hello" on the Coordinaates 30,50 of Current Window.
BBPushButton(1,30,50," OK ") ; Drawing also on Coordinaates 30,50 of Current window.
Back to the Menu