I tried the:
Code: Select all
StartDrawing(ScreenOutput())
Box (0,0,1204,768,0)
StopDrawing()
I also saw a couple of suggestions about controlling the refresh rate of the application, but I felt that this may cause potential problems with one's monitor. I did try using the SetFrameRate command, but I noticed no discernable difference with that either.
What I have noticed is that it only seems to flicker the top 30 or so pixels. The rest of the screen seems unaffected.
The code I'm using comes directly from the help file:
Code: Select all
If InitSprite() And InitKeyboard() And OpenScreen(800,600,16,"")
Repeat
FlipBuffers()
ClearScreen(0, 0, 0)
ExamineKeyboard()
FullText$ + KeyboardInkey() ; Add the new text to the current one (if any)
; If we press the 'Back' key, delete the last character
;
If KeyboardReleased(#PB_Key_Back)
FullText$ = Left(FullText$, Len(FullText$)-1)
EndIf
; Display the result
;
If StartDrawing(ScreenOutput())
DrawingMode(1)
FrontColor(128, 255, 0)
Locate(20,20) : DrawText("Just type some text...:")
Locate(20,40) : DrawText(FullText$)
StopDrawing()
EndIf
Until KeyboardPushed(#PB_Key_Escape)
EndIf
I searched the boards pretty heavily but everything that I've tried has been met without success. Any ideas?
Thanks for any help you can provide!
-Krylar


