This blue image .... ^^

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
falsam
Posts: 280
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

This blue image .... ^^

Post 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.

➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

Sorry for my poor english
Leonhardt
Posts: 20
Joined: Wed Feb 26, 2014 9:41 am

Re: This blue image .... ^^

Post by Leonhardt »

when you create a web app, the file "SpiderBasic\media" contains that blue image,maybe you can replace that with your image? :D
User avatar
SparrowhawkMMU
Posts: 281
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

Re: This blue image .... ^^

Post by SparrowhawkMMU »

It would be nice however if it were an option in the Project Settings (ideally) or the Create App dialogue box. :)
Basicoid
Posts: 12
Joined: Thu Dec 08, 2016 4:57 pm

Re: This blue image .... ^^

Post 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
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: This blue image .... ^^

Post 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
Basicoid
Posts: 12
Joined: Thu Dec 08, 2016 4:57 pm

Re: This blue image .... ^^

Post 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 :(
Post Reply