Hi all,
I have a question i didnt see on the forums yet.
I have tried the examples, but all of them are in windows in the browser, is there a way to have it 'fullscreen' like they did in the soccer trainer on the showcase page?
no windows in browser like the soccer trainer?
Re: no windows in browser like the soccer trainer?
Hi,
I'm not sure but there is a section in the help called 'Screen'. I think this maybe what you want.
I'm not sure but there is a section in the help called 'Screen'. I think this maybe what you want.
Regards
Andy
Andy
Re: no windows in browser like the soccer trainer?
I want to use the form gadgets. I dont need that there are multiple windows on each other in the browser.
Can someone provide a simple example on how to achieve this?
Can someone provide a simple example on how to achieve this?
Re: no windows in browser like the soccer trainer?
You can use #PB_Window_Background in the openwindow statement.
Code: Select all
If OpenWindow(0, 0, 0, 320, 160, "ProgressBarGadget", #PB_Window_Background)
TextGadget (3, 110, 110, 250, 20, "ProgressBar Standard (50/100)", #PB_Text_Center)
ProgressBarGadget(0, 110, 130, 250, 30, 0, 100)
SetGadgetState (0, 50) ; set 1st progressbar (ID = 0) to 50 of 100
TextGadget (4, 110, 170, 250, 20, "ProgressBar Smooth (50/200)", #PB_Text_Center)
ProgressBarGadget(1, 110, 190, 250, 30, 0, 200, #PB_ProgressBar_Smooth)
SetGadgetState (1, 50) ; set 2nd progressbar (ID = 1) to 50 of 200
TextGadget (5, 200, 235, 200, 20, "ProgressBar Vertical (100/300)", #PB_Text_Right)
ProgressBarGadget(2, 370, 110, 30, 120, 0, 300, #PB_ProgressBar_Vertical)
SetGadgetState (2, 100) ; set 3rd progressbar (ID = 2) to 100 of 300
EndIf
Regards
Andy
Andy
Re: no windows in browser like the soccer trainer?
You can open a "fullscreen" window with the flag #PB_Window_Background.
for example:
Greetings ... Peter
for example:
Code: Select all
#FullScreenWindow = 0
OpenWindow(#FullScreenWindow, 0, 0, 0, 0, "FullScreen", #PB_Window_Background)
Re: no windows in browser like the soccer trainer?
ah. thank you. I totally missed it when reading in the openwindow() help file.