Search found 256 matches

by Dirk Geppert
Thu Apr 20, 2023 11:33 am
Forum: Coding Questions
Topic: Toast animation
Replies: 6
Views: 1865

Toast animation

Hi guys, I am currently working on a toast that is to be pushed into view from the bottom edge and then pushes itself out of view again after 5 seconds. My problem is the fly-in and fly-out animation - its to fast. So my question is: how to smooth animate a window? #tWnd = 0 Define w, h Procedure Cl...
by Dirk Geppert
Wed Mar 29, 2023 11:10 am
Forum: General Discussion
Topic: SpiderBasic 2.50 is out !
Replies: 27
Views: 26532

Re: SpiderBasic 2.50 beta 1 is ready !

Many thanks Fred for the further development!


I just read today that Apple finally supports Progressive Web Apps with iOS 16.4. That's a huge gamechanger.


@Fred: are you already planning to support PWAs?
by Dirk Geppert
Thu Mar 23, 2023 8:35 am
Forum: General Discussion
Topic: Faster without debugger?
Replies: 3
Views: 3976

Re: Faster without debugger?

You can turn off the debugger in the IDE (Bug button).

If you create your project as a webapp, you can also decide to create it with or without a debugger.

The debugger is only absolutely necessary if, for example, you create an Android app and do not sign the app.
by Dirk Geppert
Tue Mar 21, 2023 12:26 pm
Forum: Tricks 'n' Tips
Topic: SpiderBasic Library - List of new functions
Replies: 38
Views: 78209

Re: SpiderBasic Library - List of new functions

Good to know, also for other windows like this. Thx magg!
by Dirk Geppert
Sun Jan 08, 2023 11:09 am
Forum: Coding Questions
Topic: How to prevent the program from being unloaded from memory?
Replies: 7
Views: 1680

Re: How to prevent the program from being unloaded from memory?

I would also recommend looking for Cordova plugins that allow background operation.
Another untested idea would be to try a ServiceWorker?
by Dirk Geppert
Sat Jan 07, 2023 5:22 pm
Forum: Coding Questions
Topic: Drag and Drop (for "Cards")
Replies: 8
Views: 1084

Re: Drag and Drop (for "Cards")

@Peter: good to know! That opens up new horizons! :D Procedure Events() SetGadgetText(1, "Dragged to: " + Str(GadgetX(1)) + ", " + Str(GadgetY(1))) EndProcedure If OpenWindow(0, 0, 0, 800, 800, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ContainerGadget(0, 20...
by Dirk Geppert
Tue Dec 06, 2022 7:55 am
Forum: Coding Questions
Topic: on-screen keyboard
Replies: 6
Views: 1297

Re: on-screen keyboard

Unfortunately, I can't help you with that. I only know this as a problem with web app development. That the keyboard behaviour was sometimes different.
by Dirk Geppert
Mon Dec 05, 2022 8:19 am
Forum: Coding Questions
Topic: on-screen keyboard
Replies: 6
Views: 1297

Re: on-screen keyboard

But you have to be careful. There are two ways to show the keyboard. One is by reducing the size of the viewport and the other is as an overlay. In the latter case, the size of the viewport does not change.
by Dirk Geppert
Wed Nov 30, 2022 1:58 pm
Forum: Coding Questions
Topic: Load and work SVG Images
Replies: 6
Views: 1171

Re: Load and work SVG Images

Since Firefox can load and display the image directly, but not with SB LoadImage() ... where is the error then? With SpiderBasic?
by Dirk Geppert
Tue Nov 29, 2022 8:20 pm
Forum: Javascript
Topic: jQuery event-aliases deprecated since jQuery 1.8.
Replies: 0
Views: 5914

jQuery event-aliases deprecated since jQuery 1.8.

I use the webgadget in a project to display html that is edited in an editor. Since the function SetGadgetItemText(Gadget, #PB_Web_HtmlCode, Html) unfortunately does not work correctly, I use a Javascript code (credits to Peter). Since this code suddenly caused a problem, I now found out that jQuery...