Search found 884 matches

by Peter
Tue Jul 04, 2023 2:49 pm
Forum: Showcase
Topic: pollinations.ai Image generator
Replies: 3
Views: 10355

pollinations.ai Image generator

A little gimmick to generate images with pollinations.ai. ;) (Sometimes the image generation takes a little while. So have a little patience.) EnableExplicit Enumeration #Window #lblPrompt #lblWait #txtPrompt #cmdExecutePrompt #ImageGadget EndEnumeration Procedure InProgress(Flag) DisableGadget(#txt...
by Peter
Wed Jun 21, 2023 8:29 pm
Forum: Coding Questions
Topic: Fullscreen without Click
Replies: 3
Views: 4329

Re: Fullscreen without Click

No, you can't. There must always be an user interaction.
by Peter
Mon Jun 19, 2023 8:14 pm
Forum: Coding Questions
Topic: Link or Close
Replies: 9
Views: 2543

Re: Link or Close

I don't own an iPad, so I'm out.
by Peter
Mon Jun 19, 2023 2:00 pm
Forum: Coding Questions
Topic: Link or Close
Replies: 9
Views: 2543

Re: Link or Close

Procedure ButtonEvent() If MessageRequester("Really?", #PB_MessageRequester_YesNo) = #PB_MessageRequester_Yes ! window.close(); EndIf EndProcedure OpenWindow(0, 0, 0, 300, 200, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) ButtonGadget(0, 10, 10, 280, 180, "Clo...
by Peter
Fri Jun 16, 2023 12:38 pm
Forum: Coding Questions
Topic: Dialog margins
Replies: 2
Views: 789

Re: Dialog margins

Looks like this is a feature not yet implemented, because the same code (slightly adapted) works in PureBasic.
by Peter
Fri Jun 02, 2023 8:01 pm
Forum: Coding Questions
Topic: Multiple Instances Question
Replies: 2
Views: 1014

Re: Multiple Instances Question

no 'crash' here DeclareModule Currency ; procedures Declare create(x, y) EndDeclareModule Module Currency ; canvas to draw on Global gadget ; create the currency Procedure create(x, y) gadget = TextGadget(#PB_Any, x, y, 100, 100, "Stars: 0") EndProcedure EndModule OpenWindow(0, 0, 0, 300, ...
by Peter
Fri Jun 02, 2023 1:58 pm
Forum: Coding Questions
Topic: GetGadgetText / AddGadgetItem not working with EditorGadget?
Replies: 3
Views: 946

Re: GetGadgetText / AddGadgetItem not working with EditorGadget?

Here is a workaround for the missing AddGadgetItem(): Procedure EditorGadgetAddGadgetItem(EditorGadget, Position, Text.s) If GadgetType(EditorGadget) <> #PB_GadgetType_Editor : ProcedureReturn : EndIf Protected GID = GadgetID(EditorGadget) ! var val = []; ! if ($(v_gid.gadget.textbox).val()) val = $...
by Peter
Fri May 26, 2023 1:07 pm
Forum: Feature Requests and Wishlists
Topic: HTTPRequest() please give back error message
Replies: 2
Views: 7003

Re: HTTPRequest() please give back error message

You can use the following workaround until then. Overwrite the SpiderBasic function and add the missing parameters to the callback: ! spider_HTTPRequest = function (a, k, l, g, d, c) { ! "undefined" === typeof d && (d = 0); ! "undefined" === typeof c && (c = { ! m...
by Peter
Tue May 23, 2023 1:45 pm
Forum: General Discussion
Topic: SpiderBasic 2.50 is out !
Replies: 27
Views: 26534

Re: SpiderBasic 2.50 beta 2 is ready !

Fred wrote: Tue May 23, 2023 1:05 pm Beta 2 is available with some fixes. It should also resolve install issues on Windows !
Good news :D Thanks for the update!
by Peter
Sat May 13, 2023 7:33 am
Forum: General Discussion
Topic: jQuery 3.7.0 Released
Replies: 0
Views: 12586

jQuery 3.7.0 Released

jQuery 3.7.0 is now available! This release has it all: bug fixes, a new method, and a performance improvement!
https://blog.jquery.com/