-
Notifications
You must be signed in to change notification settings - Fork 0
ReadGraphicsWindowSize
Nonki Takahashi edited this page May 18, 2019
·
2 revisions
Small Basic Coding Pattern > Compatible Pattern > SBO Pattern > ReadGraphicsWindowSize
Use following code
gw = GraphicsWindow.Width
gh = GraphicsWindow.Height
instead of
gw = 598
gh = 428
GraphicsWindow.Width = gw
GraphicsWindow.Height = gh
for Small Basic Online v1.0 public preview (SBO 1.0). Because GraphicsWindow.Width
and GraphicsWindow.Height
in SBO 1.0 are read only. This pattern is trade-off with AvoidResize pattern.
Copyright © 2017-2019 Nonki Takahashi.
This work is licensed under a Creative Commons Attribution 4.0 International License.