Question about border of screen

Just starting out? Need help? Post your questions and find answers here.
Alexander
Posts: 5
Joined: Wed Feb 07, 2018 10:34 am

Question about border of screen

Post 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 ()
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: Question about border of screen

Post by Fred »

Could you post a screenshot and your code ?
Alexander
Posts: 5
Joined: Wed Feb 07, 2018 10:34 am

Re: Question about border of screen

Post 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()
Post Reply