Page 1 of 1

Question about border of screen

Posted: Wed Feb 07, 2018 10:56 am
by Alexander
How to remouving border of active screen?

I'm trying to write a full-screen application for the Android tablet, but when I launch it a bright orange border appears, which really hinders.

I'm using OpenScreen ()

Re: Question about border of screen

Posted: Thu Feb 15, 2018 10:45 am
by Fred
Could you post a screenshot and your code ?

Re: Question about border of screen

Posted: Thu Feb 15, 2018 4:44 pm
by Alexander
It's just a 1 pixel borderaround the perimeter of the screen. It is when using OpenScreen() and for OpenWindowedScreen().too.

This can be seen in the following example, although the color of the border is different than on the tablet with Android. If you move focus to another object, the border disappears.

Code: Select all

OpenWindow(0, 20, 20, 820, 620, "A screen in a window...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SetWindowColor(0, RGB(20,20,20))

OpenWindowedScreen(WindowID(0), 20, 20, 600, 580)

CanvasGadget(1, 700, 20, 80, 580)
StartDrawing(CanvasOutput(1))
Box(0,0,80,580,RGB(0,0,0))
StopDrawing()