Search found 26 matches

by firace
Thu Nov 02, 2023 5:47 pm
Forum: Coding Questions
Topic: spinblur clock animation
Replies: 0
Views: 18719

spinblur clock animation

Trying to adapt my spin-blur clock effect from PB to SB but I could use some help to make it work! All frames stay visible, creating a mess. Not sure if I should use a timer like in the PB version, multiple FlipBuffers() calls, or something else.
Any suggestions? See my current code below.

It's ...
by firace
Sun Jun 19, 2022 9:12 pm
Forum: Coding Questions
Topic: Gadget Element
Replies: 7
Views: 9756

Re: Gadget Element

Peter wrote: Sun Jun 19, 2022 9:46 am At some point after 2014 (I don't remember exactly when) Fred changed the variable notation.
SB-Help wrote:Here are the naming rules to use when accessing SpiderBasic items: - JavaScript variable name is the same in lowercase with a 'v_' prefix.
That was it! Thanks again.
by firace
Sun Jun 19, 2022 6:36 am
Forum: Coding Questions
Topic: Gadget Element
Replies: 7
Views: 9756

Re: Gadget Element

These examples no longer seem to work (buttongadget color doesn't change for me)
Could anyone have a look please?
by firace
Sun Jun 19, 2022 6:25 am
Forum: Tricks 'n' Tips
Topic: 7.css
Replies: 3
Views: 8830

Re: 7.css


In principle, that's possible. You have to replace the corresponding SpiderBasic classes with the 7.css classes.

However, this is a bit time-consuming.

OpenWindow(0, 0, 0, 500, 300, "Window", #PB_Window_ScreenCentered)
WID = WindowID(0)
! $(v_wid.element).removeClass("spiderwindow").addClass ...
by firace
Fri Jun 17, 2022 8:40 pm
Forum: Tricks 'n' Tips
Topic: 7.css
Replies: 3
Views: 8830

Re: 7.css

Nice example! But is there a simple way to apply this (or any other) stylesheet to SB gadgets, and a window created with OpenWindow?
by firace
Fri Nov 26, 2021 11:27 am
Forum: Coding Questions
Topic: Setting focus on ListIconGadget
Replies: 11
Views: 8910

Re: Setting focus on ListIconGadget

@Peter Thanks for the test! Yes, I also had to use the BrowserEmulation registry tweak to make it work.
by firace
Fri Nov 26, 2021 11:26 am
Forum: Coding Questions
Topic: Setting focus on ListIconGadget
Replies: 11
Views: 8910

Re: Setting focus on ListIconGadget



This appears to fix the ListIconGadget issue with IE11 / WebGadget - can anyone confirm?

https://www.radsix.com/test21/test111.html

If confirmed I will post the code.


Why "fix" to ancient IE11 Since pb has a working workaround to make chromium webgadget


Because the fix is just a couple ...
by firace
Thu Nov 25, 2021 1:42 pm
Forum: Coding Questions
Topic: Setting focus on ListIconGadget
Replies: 11
Views: 8910

Re: Setting focus on ListIconGadget

This appears to fix the ListIconGadget issue with IE11 / WebGadget - can anyone confirm?

https://www.radsix.com/test21/test111.html

If confirmed I will post the code.
by firace
Sun Nov 21, 2021 12:20 pm
Forum: Coding Questions
Topic: Setting focus on ListIconGadget
Replies: 11
Views: 8910

Re: Setting focus on ListIconGadget

That's awesome, thanks Peter!!

Now that got me thinking, perhaps with a variant of this hack, we can find a quick fix to make the ListIconGadget work with IE11 (PB's webgadget)?
I'm referring to the issue mentioned here: https://forums.spiderbasic.com/viewtopic.php?p=5036#p5036

I will think a ...
by firace
Sun Nov 21, 2021 9:45 am
Forum: Coding Questions
Topic: Setting focus on ListIconGadget
Replies: 11
Views: 8910

Re: Setting focus on ListIconGadget

Unfortunately this doesn't solve my issue. It does show a row as selected, but the list still does not have keyboard focus - ie, I need to first click on a row before being able to use the up/down arrow keys on my keyboard for navigation.