Search found 878 matches
- Fri Sep 29, 2023 2:45 pm
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18726
Re: Mouse over gadget
I have since discovered that it is due to the command: "usegadgetlist(#window)" and "closegadgetlist()" that I use. you mean Open GadgetList() and CloseGadgetList()? But anyway. No matter if OpenGadgetList() or CloseGadgetList() or UseGadgetList(): It works Enumeration Windows #...
- Fri Sep 29, 2023 11:44 am
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18726
Re: Mouse over gadget
For individual gadgets: Enumeration Windows #Window1 #Window2 EndEnumeration Enumeration Gadgets #Window1_Button1 #Window1_Button2 #Window2_Button1 #Window2_Button2 EndEnumeration Procedure MouseOver(Element) Protected GadgetID ! v_gadgetid = v_element.target.GadgetID Debug "MouseOver GadgetID:...
- Fri Sep 29, 2023 9:25 am
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18726
Re: Mouse over gadget
Where do I have to put this? The forEach loop iterates over all created gadgets that SpiderBasic stores in an internal list. You can run it whenever you have opened a window and added all gadgets to it. Enumeration Windows #Window1 #Window2 EndEnumeration Enumeration Gadgets #Window1_Button1 #Windo...
- Thu Sep 28, 2023 8:07 pm
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18726
Re: Mouse over gadget
@plouf: https://www.purebasic.fr/german/images/smilies/allright.gif Here is mine: Procedure MouseOver(Element) Protected GadgetID ! v_gadgetid = v_element.target.GadgetID Debug "MouseOver GadgetID: " + GadgetID EndProcedure Procedure MouseLeave(Element) Protected GadgetID ! v_gadgetid = v_...
- Mon Sep 11, 2023 2:52 pm
- Forum: Coding Questions
- Topic: LoadImage SVG format
- Replies: 4
- Views: 9012
Re: LoadImage SVG format
But how can I load that svg with my prefered size? I'm not sure if I understand you correctly, but you can run ResizeImage(). Procedure Loaded(Type, Filename$, ObjectId) ; Display the image in a new window OpenWindow(0, 10, 10, 400, 400, "Image", #PB_Window_SizeGadget) ResizeImage(0, 300,...
- Mon Sep 11, 2023 10:24 am
- Forum: Coding Questions
- Topic: LoadImage SVG format
- Replies: 4
- Views: 9012
Re: LoadImage SVG format
your code works here
- Tue Aug 29, 2023 10:51 am
- Forum: Coding Questions
- Topic: Open files in a loop
- Replies: 2
- Views: 4050
Re: Open files in a loop
g_id_file3 is unnecessary. Replace g_id_file3 with File in ReadCallback3()
Code: Select all
Format = ReadStringFormat(File)
[...]
SearchText3$ = ReadString(File, Format | #PB_File_IgnoreEOL)
[...]
CloseFile(File)
- Fri Jul 28, 2023 11:24 am
- Forum: General Discussion
- Topic: android app generation fails
- Replies: 4
- Views: 3995
Re: android app generation fails
Maybe this information will help:
Fred wrote: ↑Tue Nov 08, 2022 8:47 am Acccording to this: https://cordova.apache.org/docs/en/late ... nt-kit-jdk, only JDK 8 is supported for corvoda 6.x (we use this in SB).
- Wed Jul 19, 2023 8:52 pm
- Forum: Coding Questions
- Topic: open app in new window (not a new tab)
- Replies: 2
- Views: 4748
Re: open app in new window (not a new tab)
window.open(url, target, windowFeatures) For more informations: https://developer.mozilla.org/en-US/docs/Web/API/Window/open Procedure ButtonGadgetEvent() ! window.open("https://cataas.com/cat/says/Meow!", "Meow!","width=400,height=400"); EndProcedure OpenWindow(0, 0, ...
- Fri Jul 14, 2023 9:31 am
- Forum: Coding Questions
- Topic: Fullscreen Apple
- Replies: 15
- Views: 10941
Re: Fullscreen Apple
Bonjour, J'ai testé la fonction fullscreen su IPAD. Elle ne fonctionne qu'avec un callback. Ensuite , j'ai eu de pb de resize des objets avec la taille de l"écran dispo. En pis, il y a un gros bouton pour fermer dans le coin.Je ne suis pas convaincu. Je garde ma solution manifest qui ne pose p...