Search found 303 matches

by Dirk Geppert
Tue Sep 23, 2025 11:09 am
Forum: Tricks 'n' Tips
Topic: User-Interface-Pattern: Tap-and-Hold or Long Press
Replies: 0
Views: 3279

User-Interface-Pattern: Tap-and-Hold or Long Press

An additional interaction option, e.g., to mark or favorite something.


; ==============================
; Long-Press on Gadget Desktop/Mobile
; 09/2025
; ==============================

Enumeration #PB_Event_FirstCustomValue
#PB_Event_MouseLongPress
EndEnumeration

Global G_Win_LongPress.i ...
by Dirk Geppert
Mon Sep 08, 2025 7:12 am
Forum: Coding Questions
Topic: Gadget longpress detection
Replies: 2
Views: 28065

Re: Gadget longpress detection

Thank you very much falsam! That's a great implementation. Works perfectly. 😊👍👍👍
by Dirk Geppert
Fri Sep 05, 2025 12:07 pm
Forum: Coding Questions
Topic: Gadget longpress detection
Replies: 2
Views: 28065

Gadget longpress detection

Hey guys,

do you have any idea how a long press on a ListIconGadget entry can be detected?

Unfortunately, there are no events like #PB_EventType_DragStart or
#PB_EventType_LeftButtonDown, #PB_EventType_LeftButtonUp to determine the duration of the press.

I hoped it would be as easy as this one ...
by Dirk Geppert
Mon Aug 25, 2025 7:34 pm
Forum: Coding Questions
Topic: Read barcodes
Replies: 4
Views: 93046

Re: Read barcodes

by Dirk Geppert
Mon Aug 25, 2025 8:49 am
Forum: Coding Questions
Topic: Read barcodes
Replies: 4
Views: 93046

Re: Read barcodes

This can also be done easily with pure JavaScript.

⚠ For this to work, you need to edit index.html and move the entry:


<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jsqr@1.4.0/dist/jsQR.js"></script>


to the very top of the <head> section.
Or use Peters HtmlPreprocessor ...
by Dirk Geppert
Thu Aug 14, 2025 10:58 am
Forum: Coding Questions
Topic: Is There a Workaround to DrawingBuffer() Command?
Replies: 2
Views: 2222

Re: Is There a Workaround to DrawingBuffer() Command?

Maybe this will help you?


; Demo: Pixel-Buffer einer SpiderBasic-Image via Inline-JS anfassen

;EnableExplicit

Enumeration
#Img
#Win
#Canvas
EndEnumeration

; 1) Arbeitsbild erzeugen und befüllen
CreateImage(#Img, 320, 240, 24)

If StartDrawing(ImageOutput(#Img))
Box(0, 0, OutputWidth ...
by Dirk Geppert
Thu Jul 03, 2025 11:49 am
Forum: General Discussion
Topic: SpiderBasic 3.10 is out !
Replies: 25
Views: 29182

Re: SpiderBasic 3.10 beta 2 is ready !

Peter wrote: Wed Jul 02, 2025 10:45 pm [..]could be.

[..]try it out! ;)
Peter, thank you for taking the effort to answer my question.😉 In a fit of sarcasm, I was about to hit the donate button 🤣
by Dirk Geppert
Wed Jul 02, 2025 6:37 pm
Forum: General Discussion
Topic: SpiderBasic 3.10 is out !
Replies: 25
Views: 29182

Re: SpiderBasic 3.10 beta 2 is ready !

Great news! Thx a lot @Fred for this update.

@Peter: seems that HeaderSection/EndHeaderSection can replace the HtmlPreprocessor or did I miss something?
by Dirk Geppert
Wed Jun 25, 2025 10:52 am
Forum: Coding Questions
Topic: Screenshot without security
Replies: 4
Views: 7397

Re: Screenshot without security

I don't really understand your request yet.
Are you looking for a way to bypass the screenshot prevention and the Sainsbury's Club Card app can do that?