Search found 74 matches

by Erlend
Fri May 30, 2025 4:19 pm
Forum: Off Topic
Topic: Wow
Replies: 1
Views: 709

Re: Wow

Welcome aboard,

I had the same feeling ca. 20 years ago (god I feel old), coming from the dying Amiga to PC platform,
through many different basic dialects (ASIC, QB, Visual etc.) searching quite a lot, and finally finding PB.

I'm sure you are gonna be quite satisfied whit it for years to come ...
by Erlend
Mon Jan 27, 2025 7:35 pm
Forum: Off Topic
Topic: My Apologies . . .
Replies: 16
Views: 10908

Re: My Apologies . . .

@Fangbeast: I just want to thank you for the best laugh I've had in quite some time. Your answer about crazy and goats really got me, then I saw your location and I nearly died :-D

Anyway, thank you for the good laugh and also thank you to all great contributors to this forum :-)

Best Regards ...
by Erlend
Thu Dec 12, 2024 5:43 pm
Forum: Off Topic
Topic: Mark Sibly, creator of Blitzbasic died
Replies: 9
Views: 6186

Re: Mark Sibly, creator of Blitzbasic died

That is awful news, RIP Mark.
by Erlend
Sat Nov 23, 2024 12:41 pm
Forum: Bugs - Linux
Topic: Resize bug
Replies: 2
Views: 4059

Resize bug

Hello all

although this is not confirmed it is probably a bug in resizing in gtk3

Test this code with gtk2 sublibrary first to se expected behaviour.
Then with gtk3, now you will see what I mean with resize bug, please check behaviour on scrollbars :shock: .

Structure VView
id.i ;container id ...
by Erlend
Wed Aug 28, 2024 7:52 pm
Forum: Coding Questions
Topic: CanvasGadget() / Left- and Right-Click (was: Strange)
Replies: 3
Views: 862

CanvasGadget() / Left- and Right-Click (was: Strange)

The below code on my Debian system is switched left is right and right is left, can someone confirm??

OpenWindow(0,0,0,500,500,"")

CanvasGadget(0,0,0,495,495,#PB_Canvas_Border|#PB_Canvas_Keyboard)

Procedure Callback()
;Debug "event"
evgadget=EventGadget()
*mem=GetGadgetData(evgadget)
Select ...
by Erlend
Tue Feb 06, 2024 7:46 pm
Forum: Bugs - Documentation
Topic: OpenHelp/CloseHelp on Linux
Replies: 4
Views: 917

Re: Open/Close Help

OpenHelp()
CloseHelp()

Sorry I was vague.

BR
Erlend
by Erlend
Tue Feb 06, 2024 7:07 pm
Forum: Bugs - Documentation
Topic: OpenHelp/CloseHelp on Linux
Replies: 4
Views: 917

OpenHelp/CloseHelp on Linux

The documentation states that these functions are supported by ALL OS
At least the Linux version IDE/Compiler does not recognize the command, so it should state something else.

BR
Erlend
by Erlend
Thu Aug 24, 2023 8:26 pm
Forum: Coding Questions
Topic: "No Return value" and use of "PB_Any"
Replies: 3
Views: 883

Re: "No Return value" and use of "PB_Any"

Hello Little_man

EnableExplicit

;Opsommingen.
Enumeration Window
#Window_0
EndEnumeration

Enumeration Gadgets
#ScrlArea_1
EndEnumeration

;Afbeeldingen laden.
UsePNGImageDecoder() ;Enables the PNG (Portable Network Graphic) image support
UseJPEGImageDecoder() ;Enables the JPEG (Joint Picture ...
by Erlend
Wed Dec 14, 2022 10:45 pm
Forum: Linux
Topic: PB Install, experiance
Replies: 0
Views: 687

PB Install, experiance

Hello all

I open this post to let you all know how things go as I install and try PB and SB on different Linux variants.

So first distro out is EndevourOS (Arch based) version 22.9
needed commandline after PB unpack was:
yay -S gtk2 glu xine-lib


Here I will add as I test other Linux OS'es ...
by Erlend
Fri Oct 29, 2021 3:15 pm
Forum: Off Topic
Topic: custom canvas gadget
Replies: 7
Views: 4744

Re: custom canvas gadget

Ok, Cool I did not know about your gadgets :-)
However I have very little to help you with as this code is what I could scrape together at the time 11 years ago, and
as I said, I dropped it all when the inbuilt Canvas came out.
But I'm sure some other people here have more Mac related code to help ...
by Erlend
Thu Oct 28, 2021 4:20 pm
Forum: Off Topic
Topic: custom canvas gadget
Replies: 7
Views: 4744

Re: custom canvas gadget

@mestnyi:
I created that a long time ago, but dropped it after CanvasGadget() was added (around 2011?)
But out of curiosity what is your aim with this? What do you need it to do?

BR
Erlend
by Erlend
Wed May 27, 2020 8:24 pm
Forum: Coding Questions
Topic: Set Gadget's Position?
Replies: 7
Views: 2211

Re: Set Gadget's Position?

Ok, so say I wanted to position the button gadget AFTER resizing it to the width / height of the string so i can put it always in the middle of the screen based on its' new width / height. how can i do that?

Do you mean the actual screen or the window? (Still not sure of you intent with this ...
by Erlend
Wed May 27, 2020 7:29 pm
Forum: Coding Questions
Topic: Set Gadget's Position?
Replies: 7
Views: 2211

Re: Set Gadget's Position?

I think you misunderstand. I need to move the gadget AFTER ResizeGadget has been used so I can position the gadget in the middle of the screen constantly with the new size of the button being the width & height of the string the button uses.

I think you need to reformulate you're question as what ...
by Erlend
Thu Sep 19, 2019 1:08 pm
Forum: Coding Questions
Topic: RotateCoordinates
Replies: 3
Views: 1322

Re: RotateCoordinates

I do not have PB available here/right now so I'm not sure, but are you not drawing line and numbers on the same "diameter" only
moved slightly in y direction?

I think you need to draw number and lines on two seperate diameters..

Just my two cents...

Regards
Erlend
by Erlend
Fri Aug 09, 2019 9:59 pm
Forum: Linux
Topic: Frustrated With Linux
Replies: 6
Views: 4530

Re: Frustrated With Linux

Purebasic has quite a few quirks with gtk3 sizing.
Have you tried compiling with gtk2?