Search found 884 matches
- Thu Sep 28, 2023 8:07 pm
- Forum: Coding Questions
- Topic: Mouse over gadget
- Replies: 14
- Views: 18733
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: 9018
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: 9018
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: 4055
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: 4006
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: 4756
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: 10953
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...
- Mon Jul 10, 2023 9:08 am
- Forum: Coding Questions
- Topic: DateGadget abnormality
- Replies: 1
- Views: 4238
Re: DateGadget abnormality
Mask$ (optional): The format in which the date can be entered. See FormatDate() for the format of this mask. Only %yyyy, %mm and %dd tags are supported. No extra text characters can be set in the date format. If you don't specify the mask or specify an empty string, a default mask will be chosen. T...
- Thu Jul 06, 2023 1:39 pm
- Forum: Coding Questions
- Topic: How validate with the enter key?
- Replies: 2
- Views: 3879
Re: How validate with the enter key?
use AddKeyboardShortcut() in combination with GetActiveGadget(): Enumeration #Window #StringGadget #PB_Shortcut_Return_Event EndEnumeration Procedure MenuEvents() If EventMenu() = #PB_Shortcut_Return_Event If GetActiveGadget() = #StringGadget Debug "Gotcha!" EndIf EndIf EndProcedure OpenWi...
- Thu Jul 06, 2023 8:22 am
- Forum: General Discussion
- Topic: Purchase questions
- Replies: 2
- Views: 3393
Re: Purchase questions
I don't know how often Fred (the author of SpiderBasic) reads this forum. Maybe you can write him directly by email: fred@spiderbasic.com