Search found 16 matches

by PitH
Sat Oct 14, 2023 8:57 pm
Forum: Raspberry PI
Topic: Purebasic 6.03 on Raspberry Pi additional inatallation info
Replies: 0
Views: 6084

Purebasic 6.03 on Raspberry Pi additional inatallation info

Purebasic 6.03 is compiled against library: libwebkit2gtk-4.0.so.37

so if Purebasic wouldn't start go to add/remove software and search for libwebkit2gtk-4.0-37
if that package is not installed (by default not) > install it and Purebasic will start.

I've checked this on Bookworm and Purebasic ...
by PitH
Tue Feb 21, 2023 5:31 pm
Forum: Coding Questions
Topic: Intel vs AMD
Replies: 5
Views: 852

Re: Intel vs AMD

You are right, i forgot that.

thanks for bringing it back to my attention, i will give it a try.
by PitH
Tue Feb 21, 2023 3:19 pm
Forum: Coding Questions
Topic: Intel vs AMD
Replies: 5
Views: 852

Re: Intel vs AMD

Caronte3D wrote: Tue Feb 21, 2023 11:15 am If I remember well... the option "all Cpus" does nothing :?
I don't know but all CPU's within the list are Intel types
by PitH
Tue Feb 21, 2023 9:37 am
Forum: Coding Questions
Topic: Intel vs AMD
Replies: 5
Views: 852

Intel vs AMD

Hello,
I'm completely confused now
Longer ago i wrote a small program to simply download the avaiable amount of files from a given ftp server
i compiled it with the option "all Cpus" and tested it on three PC's and it worked fine.
I sent it to my friends and most of them had no problems cause it ...
by PitH
Wed Jan 11, 2023 1:49 am
Forum: Coding Questions
Topic: PB6.0 Raspberry Pi Bullseye x32 StringGadget with #PB_Text_Center Fails
Replies: 4
Views: 842

Re: PB6.0 Raspberry Pi Bullseye x32 StringGadget with #PB_Text_Center Fails

With Windows x86 and x64 PB6.0 versions it works ,
give it a try.
by PitH
Wed Jan 11, 2023 1:15 am
Forum: Coding Questions
Topic: PB6.0 Raspberry Pi Bullseye x32 StringGadget with #PB_Text_Center Fails
Replies: 4
Views: 842

PB6.0 Raspberry Pi Bullseye x32 StringGadget with #PB_Text_Center Fails

OS x32
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian

A normal TextGadget like this

TextGadget(#Text_Line3, 120, 60, 650, 25, "", #PB_Text_Center)

works fine

A StringGadget like ...
by PitH
Tue Jan 10, 2023 10:35 pm
Forum: Raspberry PI
Topic: RAspberry Pi , Stringgadget doesn't accept input
Replies: 7
Views: 8292

Re: RAspberry Pi , Stringgadget doesn't accept input

It works on Windows flawless !
AND the variables are only needed within the procedure .

#Button1 = 1

#Button_Program_End = 9

#Text_Line1 = 20
#Text_Line2 = 21
#Text_Line3 = 22
#Text_Line4 = 23
#Text_Line5 = 24
#Text_Line6 = 25
#Text_Line7 = 26
#Text_Line8 = 27
#Text_Line9 = 28
#Text_Line10 = 29 ...
by PitH
Tue Jan 10, 2023 10:11 pm
Forum: Raspberry PI
Topic: RAspberry Pi , Stringgadget doesn't accept input
Replies: 7
Views: 8292

Re: RAspberry Pi , Stringgadget doesn't accept input

sorry.. i beg your pardon:
here only the important parts (with windows it works):

Global Quit.b = #False

Declare CreateList(*value)

#FLAGS = #PB_Window_ScreenCentered
OpenWindow(#WIN_MAIN, 0, 0, 800, 400, "xxx", #FLAGS)
AddWindowTimer(#WIN_MAIN, 0, 500) ; Updates the clock every half-second.

If ...
by PitH
Tue Jan 10, 2023 9:33 pm
Forum: Raspberry PI
Topic: RAspberry Pi , Stringgadget doesn't accept input
Replies: 7
Views: 8292

RAspberry Pi , Stringgadget doesn't accept input

Hello, i just tried Purebasic on a Pi
i took a Purebasic program source which i wrote for Windows , transferred it to the Pi an ran it within Purebasic Ide.
the program started , but if i select a stringgadget and want to provide the needed input
nothing happens, even the #PB_Text_Center seemed not ...
by PitH
Sun Sep 25, 2022 10:34 am
Forum: Coding Questions
Topic: Gadget updates not shown while running subroutines
Replies: 4
Views: 786

Re: Gadget updates not shown while running subroutines

Sorry , as i wrote, sometimes i seemed to be a bit stupid or silly.

in the meantime i checked about threads and changed my program to make use of.

thank you both for your advices.

it works great and now i understand the window behavior.


have a nice day.
by PitH
Thu Sep 22, 2022 4:26 am
Forum: Coding Questions
Topic: Gadget updates not shown while running subroutines
Replies: 4
Views: 786

Re: Gadget updates not shown while running subroutines

@skywalk

Thanks for your reply

meanwhile i found a useable solution with UpdateWindow_(WindowID(0)) unfortunately it is not in the reference .

now only one problem is left but i wonder why no one had it:
if the program runs and i open another program which covers it on the desktop the programm ...
by PitH
Wed Sep 21, 2022 11:13 pm
Forum: Coding Questions
Topic: Gadget updates not shown while running subroutines
Replies: 4
Views: 786

Gadget updates not shown while running subroutines

Hello,
i'm not new to Purebasic but new to programming with Window and gadget (OS = win10)

Actually i believe that i'm stupid cause i found not solution within the reference and not on internet.
My Problem:
I created a main window , added a addwindowtimer, two progressbargadgets, a button gadget ...
by PitH
Sun Jan 16, 2022 10:14 am
Forum: Coding Questions
Topic: PB program window freezes
Replies: 10
Views: 1173

Re: PB program window freezes

Hey guys
you made my day !

both versions solve the problem
I took the version of Barry cause it was easier to implement in my code

i must take a closer look to understand the problem and the difference in code.

THANK YOU BOTH VERY MUCH
8)
by PitH
Sun Jan 16, 2022 8:41 am
Forum: Coding Questions
Topic: PB program window freezes
Replies: 10
Views: 1173

Re: PB program window freezes

Hi

It should be just a waiting loop to wait from now to the advised time

FTP_Start$ is initialised , the loop works as long as i do not try to move the window or start another programm like for example notepad
by PitH
Sun Jan 16, 2022 7:45 am
Forum: Coding Questions
Topic: PB program window freezes
Replies: 10
Views: 1173

Re: PB program window freezes

Thanks a lot for your suggestion, i will give it a try later

the rest of code isn't important for the error
this shrted code produce the same effect like the longer on.