question about #LEFT, #RIGHT
Posted: Mon Sep 18, 2017 5:26 pm
Hi,
please try this:
why do lines (marked with comments in the above code) are not giving any result? (#TOP and #BOTTOM works as expected)
EDIT:
they work when I insert following line at the top of the code:
and they do not work with:
please try this:
Code: Select all
TextOut(#CENTER,#TOP,"top")
TextOut(#CENTER,#TOP+8,"top+8")
TextOut(#RIGHT,#CENTER,"right")
TextOut(#RIGHT-80,#CENTER,"right-80") ;shows nothing
TextOut(#CENTER,#BOTTOM-8,"bottom-8")
TextOut(#CENTER,#BOTTOM,"bottom")
TextOut(#LEFT,#CENTER,"left")
TextOut((#LEFT+80),#CENTER,"left+80") ;shows nothing
WaitKeyDown("any")
EDIT:
they work when I insert following line at the top of the code:
Code: Select all
setFontStyle(#EDGE,#RED,1)
Code: Select all
setFontStyle(#NORMAL)