Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
267 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I Basic click on the maximize button a white background appears filling my screen the whole screen instead of increasing my home screen.
How can I enlarge, after programming, the entire Graphics Window screen along with shapes and texts, keeping mouse interactions?
The Small Basic GraphicsWindow has a fixed x/y coordinate system and all objects are defined using concrete pixel information.
It is therefore not possible to enlarge the objects using the window function. The coordinates or size definitions would then no longer match the source code.
In the source code window, however, there is the nice option of enlarging the source text with "Ctrl" "Mousewheel".
If you want to have a full screen GraphicsWindow, you have to define the right height and width.
Try the following testprogram:
deskH=Desktop.Height
deskW=Desktop.Width
TextWindow.WriteLine(deskh+" : "+deskw)
TextWindow.Pause()
GraphicsWindow.Height=100
GraphicsWindow.Width=100
GraphicsWindow.BackgroundColor="Yellow"
TextWindow.Pause()
GraphicsWindow.Left=0
GraphicsWindow.Top=0
GraphicsWindow.Height=deskH
GraphicsWindow.Width=deskW