Search found 2534 matches

by TI-994A
Fri Apr 18, 2025 1:47 pm
Forum: Linux
Topic: ExplorerListGadget
Replies: 8
Views: 4991

Re: ExplorerListGadget

rndrei wrote: Fri Apr 18, 2025 12:46 pm Tell me how to remove the title (NAME)?

Code: Select all

RemoveGadgetColumn(1, 0)
by TI-994A
Tue Dec 31, 2024 5:53 pm
Forum: Off Topic
Topic: Happy New Year 2025!
Replies: 27
Views: 15187

Happy New Year 2025!

Image
by TI-994A
Sat Dec 07, 2024 2:59 pm
Forum: Coding Questions
Topic: Play videos with overlay text or graphics
Replies: 13
Views: 2927

Re: Play videos with overlay text or graphics

ozzie wrote: Wed Dec 04, 2024 8:13 am Thanks, TI-994A. That works great under Windows and could be very useful for my requirements.
Thank you for saying so, @ozzie. I'm always happy to hear positive feedback. :D
by TI-994A
Sat Dec 07, 2024 2:58 pm
Forum: Coding Questions
Topic: Play videos with overlay text or graphics
Replies: 13
Views: 2927

Re: Play videos with overlay text or graphics


thank you TI-994A for the example.
Unfortunally it did not work.
...
...
Of course your example is "Windows" only,
i do not know how to "transparent the windows"
under linux.


Thanks for the feedback, @Rings. Sorry it doesn't work on Linux. I can't even get the PlayMovie() function to work on ...
by TI-994A
Tue Dec 03, 2024 3:52 pm
Forum: Coding Questions
Topic: Gadget() Lost focus
Replies: 5
Views: 875

Re: Gadget() Lost focus

Is it possible to validate the content of gadget(0), display a message to the user and continue execution normally?

Having to dismiss a message box every time an input is incorrect is quite disruptive to the workflow. A better approach would be to indicate the error somewhere around the input box ...
by TI-994A
Mon Dec 02, 2024 8:15 pm
Forum: Coding Questions
Topic: Play videos with overlay text or graphics
Replies: 13
Views: 2927

Re: Play videos with overlay text or graphics

...a solution to display different videos and provide them with text and symbols as overlay.


https://www.dropbox.com/scl/fi/41lzqlsomtc2hurgfypfh/playTubeScreenshot.png?rlkey=3qwuwwnwjj34xo6lmx0jixjet&st=jn7lh6zn&dl=1

A simple transparent window-overlay solution for Windows, which could be ...
by TI-994A
Sun Dec 01, 2024 6:12 pm
Forum: Coding Questions
Topic: Programrunning doesn't work with batch programs
Replies: 4
Views: 767

Re: Programrunning doesn't work with batch programs


I found a way, to start the program itself with the batchfile as parameter. The program (freefilesync) runs fine, and the handle is 1, but I still get the error message "The specified "program" is not valid."

handle.i=RunProgram("FreeFileSync.exe", "C:\Users\hd\OneDrive\Documents\prog\purebasic ...
by TI-994A
Sun Dec 01, 2024 5:39 pm
Forum: Coding Questions
Topic: Tooltips not working/showing for gadgets inside a frame?
Replies: 5
Views: 943

Re: Tooltips not working/showing for gadgets inside a frame?

...#PB_Frame_Container could be a temporary fix, but since I am mostly editing the form with the standard GUI form editor and that removes such custom edits/flags...

Yes. The frame gadget is originally meant for UI aesthetics. Changing it to a container would really mess up the positioning of the ...
by TI-994A
Sun Dec 01, 2024 5:33 pm
Forum: Coding Questions
Topic: Programrunning doesn't work with batch programs
Replies: 4
Views: 767

Re: Programrunning doesn't work with batch programs

...how to get an end condition for the program, which is started by the batch file?



Hi @artnat. If you know the name of the program, you could try this approach. This example tracks Notepad , so simply start and stop Notepad to see the progress:

;
; originally posted in October 2012
; https ...
by TI-994A
Sun Dec 01, 2024 11:38 am
Forum: Coding Questions
Topic: Help with GRABIMAGE
Replies: 7
Views: 1047

Re: Help with GRABIMAGE

loulou2522 wrote: Sun Dec 01, 2024 11:35 amIt seems it saveimage with takelonger times...
Then it would probably boil down to the speed of your storage device.

I tested Bernd's code with a 100MB, 16000 × 9000 pixel, 600-dpi image, with these results:

Code: Select all

T1: 1829
T2: 700
T3: 20797

Faster on an SSD, perhaps. :wink:
by TI-994A
Sun Dec 01, 2024 11:15 am
Forum: Coding Questions
Topic: Tooltips not working/showing for gadgets inside a frame?
Replies: 5
Views: 943

Re: Tooltips not working/showing for gadgets inside a frame?

...frame with a button inside, and that button has a tooltip, this 2nd tooltip does not show for the new button..


Hi @Nudgy. It should work if the frame has the container flag applied:

FrameGadget(0, 10, 10, 200, 100, "Frame", #PB_Frame_Container)



Tested and working on Ubuntu 24.10 with ...
by TI-994A
Sat Nov 30, 2024 3:51 pm
Forum: Tricks 'n' Tips
Topic: PureBasic ImagePickerGadget() - A Cross-Platform Solution
Replies: 29
Views: 3768

Re: PureBasic ImagePickerGadget() - A Cross-Platform Solution


Wow! You've outdone yourself TI-994A! :shock:

I've not used PB in a while now but I could have really used this tool a few years back.

I quickly tested in with the free demo version of PB and was surprised that it worked. Keep up the magnificent work. :)


Hi @fromVB, and thank you for your ...
by TI-994A
Sat Nov 30, 2024 11:22 am
Forum: Coding Questions
Topic: Canvas with controls on top (z-order)
Replies: 4
Views: 1003

Re: Canvas with controls on top (z-order)


Missing CloseGadgetList() for CanvasGadget as container. I also forget sometimes ;)


Hi @mk-soft. Thanks for pointing that out. But technically, it's not missing .

The CloseGadgetList() function closes the current gadget list and reopens the gadget list of the last container; in this case the ...
by TI-994A
Sat Nov 30, 2024 7:09 am
Forum: Coding Questions
Topic: Canvas with controls on top (z-order)
Replies: 4
Views: 1003

Re: Canvas with controls on top (z-order)

Hi @Thumper. Just use the container flag for the canvas gadget. As for the flashing issue, you could simply hide the window until all the drawing functions complete.

Here's an example:


win = OpenWindow(#PB_Any, 0, 0, 600, 150, "Canvas Gadget Container",
#PB_Window_SystemMenu | #PB_Window ...
by TI-994A
Sat Nov 30, 2024 6:47 am
Forum: Coding Questions
Topic: CanvasGadget and/or ImageGadget transparent
Replies: 10
Views: 1549

Re: CanvasGadget and/or ImageGadget transparent

... Would like back image instead. Same for secound RoundBox which would want back image peeking through.

If I've understood correctly, this might work:

Width = 300 : Height = 300 : Wd = 6 : Rnd = Height/2
Left = 10 : Top = 10 : LineThickness = 10

win = OpenWindow(#PB_Any, 0, 0, 640, 320 ...