Search found 46 matches

by es_91
Tue Jun 10, 2025 10:57 pm
Forum: Coding Questions
Topic: How to read keyboard keys into a window
Replies: 5
Views: 4032

Re: How to read keyboard keys into a window


Your code is... "strange" to me :?

this is the special "es_91"-Style.

Actually not, quite. I prefer ;{;} blocks around everything.


@Caronte3D: Thank you very much! It works with that little


SetActiveGadget (#gadget)

'cause for some reason my program did never catch any focus on the ...
by es_91
Sun Jun 08, 2025 3:41 pm
Forum: Coding Questions
Topic: How to read keyboard keys into a window
Replies: 5
Views: 4032

Re: How to read keyboard keys into a window

I remember failing with this idea years ago, so here i try again:


global *window
global *canvas


procedure sizing ( )


resizeGadget ( *canvas,
0,
0,
windowWidth ( *window ),
windowHeight ( *window ) )


endprocedure


procedure canvas_event ( )


debug getGadgetAttribute ...
by es_91
Thu Jun 05, 2025 2:13 pm
Forum: Coding Questions
Topic: How to read keyboard keys into a window
Replies: 5
Views: 4032

How to read keyboard keys into a window

I try to create a CLI on Spider.

Is it possible to get the keys pushed from a "background" window (with a canvas on it), or do we need Screens/Sprite for this?
by es_91
Tue Oct 08, 2024 1:43 pm
Forum: Coding Questions
Topic: WebView run-externally button
Replies: 5
Views: 5953

Re: WebView run-externally button

... And there it goes again, what did I do? I really don't know...

Image


BTW a reload-button would be nice for that WebView. Or is that not neccessary for recompile-functionality?
by es_91
Mon Sep 23, 2024 3:45 pm
Forum: Coding Questions
Topic: WebView run-externally button
Replies: 5
Views: 5953

Re: WebView run-externally button

First up: an apology for this late answer. I really finished with that topic.

However, i updated from some beta to full 3.00 in the meanwhile and now can not reproduce the problem: icon is there.

Operating system was Windows 10 x86; i tried using contrast mode, but it didn't happen again.
by es_91
Tue Sep 10, 2024 7:59 am
Forum: Coding Questions
Topic: WebView run-externally button
Replies: 5
Views: 5953

WebView run-externally button

The run-externally button in the WebView tool should be more expressing. It's an empty button without any icon. Hard to guess what it does.
by es_91
Wed Aug 14, 2024 8:26 pm
Forum: Feature Requests and Wishlists
Topic: extension of primitive date lib
Replies: 1
Views: 11006

extension of primitive date lib

;)

I once wrote a quad date lib for PB, no big deal.

We're enclosing 2038, so it's time to blow up the date lib soon.
by es_91
Wed Jun 12, 2024 2:51 am
Forum: General Discussion
Topic: A question to fluent web page designs
Replies: 3
Views: 14793

A question to fluent web page designs

I am not familiar with nowadays design concepts but i would consider this a "fluent web page":

https://play.google.com/googleplaygames

The ScrollBar at the right only partially commands the content of the page: basically it represents a section grouping in which design elements can freely be ...
by es_91
Tue Jun 11, 2024 9:49 am
Forum: Coding Questions
Topic: Wrong placement of CanvasGadget(?)
Replies: 1
Views: 2994

Wrong placement of CanvasGadget(?)

The coordinates of this canvas should cover exactly the whole window. It seems it doesn't.




enableExplicit

define gadget
define window

declare sizing ( )
declare drawToCanvas ( )


procedure drawToCanvas ( )

shared gadget

if ( startDrawing ( canvasOutput ( gadget ) ) )

box ( #null ...
by es_91
Wed Jun 05, 2024 3:01 pm
Forum: Coding Questions
Topic: Erasing the default icon set in project properties
Replies: 6
Views: 8447

Re: Erasing the default icon set in project properties


<link rel="icon" type="image/png" href="favicon.png"/>

[...]then its temporary cache of your browser, try clearing everything ad/or a new browser and you sill see not displayed



Affirmative. The icon file needs to be erased from the browser's temporary file cache. I never do that. Let's see ...