Page 1 of 1
This blue image .... ^^
Posted: Wed Nov 23, 2016 3:58 pm
by falsam
When creating a web-application, I think it would be better to have the choice of background image (or color) and some CSS settings. (Background-repeat, background-position, background-attachment)
Quand on crée une web-application, je pense qu'il serait mieux d'avoir le choix de l'image de fond (ou une couleur) et quelques paramètres CSS. (background-repeat, background-position, background-attachment)
Thanks Fred.
Re: This blue image .... ^^
Posted: Thu Nov 24, 2016 1:32 am
by Leonhardt
when you create a web app, the file "SpiderBasic\media" contains that blue image,maybe you can replace that with your image?

Re: This blue image .... ^^
Posted: Thu Nov 24, 2016 8:53 am
by SparrowhawkMMU
It
would be nice however if it were an option in the Project Settings (ideally) or the Create App dialogue box.

Re: This blue image .... ^^
Posted: Fri Dec 09, 2016 9:56 am
by Basicoid
Just started to test SpiderBasic, so I'm not sure if some of these things are maybe already possible - if not, it would be fine to...
* set the background color individually:
SetDesktopColor(Desktop, Color)
* see events when the web window size is changed or the mobile device gets rotated:
If Event() = #PB_Event_Desktop_SizeChanged
Re: This blue image .... ^^
Posted: Fri Dec 09, 2016 10:20 am
by Peter
Code: Select all
#Desktop = 0
Procedure DesktopSizeWindowEvent()
Debug "DesktopSizeWindowEvent()"
EndProcedure
OpenWindow(#Desktop, 0, 0, 0, 0, "Desktop", #PB_Window_Background)
SetWindowColor(#Desktop, RGB(255, 255, 0))
BindEvent(#PB_Event_SizeWindow, @DesktopSizeWindowEvent(), #Desktop)
Greetings ... Peter
Re: This blue image .... ^^
Posted: Fri Dec 09, 2016 3:14 pm
by Basicoid
Thanks Peter, seems that SpiderBasic is quite cool
Changing the size of the browser window is recognized, but rotating the tablet/phone does not invoke an event
