[03 Feb 2008] Problem with @DISPLAY
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on 03 Feb 2008 11:25:54 +0300
Hello,
I'm trying to open a window like this:
but Hollywood says that opening brace is missing from the "@DISPLAY" line. This summons the same error message:
And if I try something like this:
Hollywood rewards me with a "String expected!" error. Am I doing something wrong or is there a bug in the @DISPLAY command?
-- JANNE janne.email-address-removed@nospam.com
Hello,
I'm trying to open a window like this:
Code: Select all
displayAttrs = {Title = "My Window", Color = #BLACK, Width = 640, Height = 480, Mode = "Windowed", Borderless = False, Sizeable = False, HideTitleBar = False}
@DISPLAY displayAttrs
Code: Select all
windowWidth = 640
windowHeight = 480
title$ = "My Window"
displayAttrs = {}
displayAttrs.Title = title$
displayAttrs.Color = #BLACK
displayAttrs.Width = windowWidth
displayAttrs.Height = windowHeight
displayAttrs.Mode = "Windowed"
displayAttrs.Borderless = False
displayAttrs.Sizeable = False
displayAttrs.HideTitleBar = False
@DISPLAY displayAttrs
Code: Select all
windowWidth = 640
windowHeight = 480
title$ = "My Window"
@DISPLAY {Title = title$, Color = #BLACK, Width = windowWidth, Height = windowHeight, Mode = "Windowed", Borderless = False, Sizeable = False, HideTitleBar = False}
-- JANNE janne.email-address-removed@nospam.com