Search found 90 matches

by k3pto
Thu Jan 22, 2026 6:28 pm
Forum: General Discussion
Topic: [Solved] Linux Mint OpenFileRequester
Replies: 1
Views: 230

[Solved] Linux Mint OpenFileRequester

Porting program from Windows 10 to Linux Mint 22.3. OpenFileRequester shows the file I want to open but it is displayed in grey meaning it is not available. Why? I have set the users permissions to Read and Write for all folders in its path as well as the file itself.
by k3pto
Tue Jan 20, 2026 9:43 pm
Forum: General Discussion
Topic: [Solved] Gadget always on top/bottom
Replies: 0
Views: 236

[Solved] Gadget always on top/bottom

I am porting a PB program from Windows to Linux and have most of it working. However, there are two features from Windows I have not been successful at implementing:
1) how to force a gadget to be always on top or bottom
2) how to dynamically justify text in an Editor or Text gadget.

I solved it by ...
by k3pto
Tue Jan 20, 2026 9:25 pm
Forum: General Discussion
Topic: Solved: Linux Install
Replies: 7
Views: 526

Re: Linux Install

Hi mk_soft,

I got it working. My issue had to do with upper/lower case entries. I am used to using Windows which does not care about case while Linux does.
by k3pto
Tue Jan 20, 2026 9:23 pm
Forum: General Discussion
Topic: Solved: Linux Install
Replies: 7
Views: 526

Re: Linux Install

Hi Nic,
The main reason I put it in the MyInstalls folder is to be compatible with what I have done in Windows. I wanted to keep all my manually installed applications in one place to make them easier to find. Now with Linux, I would like to keep the same arrangement. I did not know about the /opt ...
by k3pto
Mon Jan 19, 2026 2:08 am
Forum: General Discussion
Topic: Solved: Linux Install
Replies: 7
Views: 526

Re: Linux Install

Hi mk-soft,
Thank you for the very quick reply. Your program compiled, ran and created the file. How does Linux know where to find it?

I do not understand your sentences: "But better place in the menu. Then add to the start bar with Context (right mouse)." Right-clicking on the compiler does not ...
by k3pto
Sun Jan 18, 2026 11:20 pm
Forum: General Discussion
Topic: Solved: Linux Install
Replies: 7
Views: 526

Solved: Linux Install

I am very new to Linux Mint and have just installed Mint 22.3. I have downloaded PB for Ubunto 24. I can get PB to run if navigate to /compilers and double click on purebasic. However, if I add it to my Favorites and select it from there I get a pop up error message: This file is no longer available ...
by k3pto
Sat Jun 21, 2025 8:46 pm
Forum: General Discussion
Topic: [Closed]Videos with Version 6.21
Replies: 5
Views: 1125

Re: Videos with Version 6.21

My PC is currently running Windows 10 Pro. I have Klite CODEC Pack 19.0.1 Standard installed. When I attempt to install MediaFoundation on my W10 Pro machine I get an error message that the update is not applicable.
by k3pto
Thu Jun 19, 2025 4:54 pm
Forum: General Discussion
Topic: [Closed]Videos with Version 6.21
Replies: 5
Views: 1125

Re: Videos with Version 6.21

Hello Piero,

That worked. Thank you.

However, why should I have to do that since 6.20 worked with any video? Is there something else that needs to be done inside PB to make it work like 6.20?

How can I "install" ffmpeg so that Windows knows where to find it and its libraries?
by k3pto
Wed Jun 18, 2025 9:19 pm
Forum: General Discussion
Topic: [Closed]Videos with Version 6.21
Replies: 5
Views: 1125

[Closed]Videos with Version 6.21

I have a program which plays videos using v6.20. They do not play using v6.21. I am using Windows 10 pro. The video files I use are mostly .mp4. I have version 19.0.1 of KLight installed and version 12 of Direct X.

Using the example program that comes with PB (movie.pb) slightly modified so I can ...
by k3pto
Thu Apr 10, 2025 9:05 pm
Forum: General Discussion
Topic: File shortcut
Replies: 5
Views: 1627

File shortcut

Does PB have a way to access a file via a shortcut? FileSize (ShortcutName$) returns -1.
I tried searching the forum and did not find anything helpful.
by k3pto
Sun Mar 23, 2025 10:52 pm
Forum: General Discussion
Topic: coordinates of text
Replies: 4
Views: 1922

coordinates of text

Is there a way to get the x and y coordinates of individual lines of text within a gadget?

Just 2D in Windows. I want to determine on which entry within a list box the user did a right-click without having to select it first with a left-click.
by k3pto
Mon Feb 03, 2025 2:27 am
Forum: General Discussion
Topic: DesktopResolutionX for multiple desktops
Replies: 0
Views: 3175

DesktopResolutionX for multiple desktops

I have successfully used DesktopResolutionX and other Desktop functions to scale the gadgets on my primary desktop. I have three desktop monitors of differing resolutions. Two of the monitors are projectors. When I project on one of them, the image fills the screen. The same image on the other ...
by k3pto
Thu Jan 16, 2025 10:23 pm
Forum: General Discussion
Topic: [Solved] TextGadget text justification
Replies: 1
Views: 2242

[Solved] TextGadget text justification

Is it possible to change the justification of a TextGadget dynamically? The only forum entries I found say no, but they are 10 yrs old.

Thank you Shardik, that works. I did shrink the code for Windows only:

Procedure Justify ( WhichGadget, Justification )
Define i

WhichGadget = GadgetID ...
by k3pto
Thu Jan 16, 2025 10:06 pm
Forum: General Discussion
Topic: [Solved] gadget size
Replies: 4
Views: 4061

Re: gadget size - Solved

Thank you Bisonte and HeXOR. I was not aware of the scaling functions - so many features to read about!
by k3pto
Mon Jan 13, 2025 9:59 pm
Forum: General Discussion
Topic: [Solved] gadget size
Replies: 4
Views: 4061

Re: gadget size

Hi Bisonte,
Thank you for the reply. How do I scale it and how do I detect that it needs scaling?