Increase size window

Just starting out? Need help? Post your questions and find answers here.
plvicente
Posts: 3
Joined: Sun Jun 25, 2023 1:32 pm
Location: Castelo Branco, Portugal

Increase size window

Post by plvicente »

Hello,
My name is Pedro. I am coding an iOS spiderbasic application. But I can't increase openwindow size for the full browser. I am trying to code a preview before testing on my iPad.

My openwindow code is:
If OpenWindow(0, 100, 150, 195, 260, "Menu", #PB_Window_TitleBar)

CreateImage(0, 16, 16, 32, RGB(255, 0, 0))


I cannot see where I must change. I can do icon on the page. Even I can do the menus besides the sub menu.

Kind Regards,
Pedro Dias Vicente
User avatar
Paul
Posts: 210
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada
Contact:

Re: Increase size window

Post by Paul »

Did you maybe try the #PB_Window_Background flag to fill the entire window?

Code: Select all

OpenWindow(0,0,0,0,0,"Menu",#PB_Window_Background)
plvicente
Posts: 3
Joined: Sun Jun 25, 2023 1:32 pm
Location: Castelo Branco, Portugal

Re: Increase size window

Post by plvicente »

Hi,
I didn't done that. I didn't knew that trick. I am going to test it.

Thanks
plvicente
Posts: 3
Joined: Sun Jun 25, 2023 1:32 pm
Location: Castelo Branco, Portugal

Re: Increase size window

Post by plvicente »

it worked.

Thaks a lot.
Post Reply