Search found 12 matches

by pfnuesu
Sun Nov 23, 2025 10:01 am
Forum: Coding Questions
Topic: PureBasic IDE different from what is in the HTML Help file
Replies: 8
Views: 198

Re: PureBasic IDE different from what is in the HTML Help file

Hi John

...no not really.

What tabs are you missing that you see on the help file? Left side, right side, both?

Image

(image source: https://www.purebasic.com/documentation ... start.html)
by pfnuesu
Wed Oct 29, 2025 12:02 pm
Forum: Coding Questions
Topic: $FF0000FF <> RGBA(255, 0, 0, 255) .... why?
Replies: 12
Views: 607

Re: $FF0000FF <> RGBA(255, 0, 0, 255) .... why?

Did you see the remarks in the manual?

Result varies from 0 to 4 294 967 295 shades. It is therefore advisable to use a 'quad', (Result.q) and set unused bytes to zero.

So as per the manual:


Q = $FF0000FF ; 4278190335
color.q = RGBA(255,0,0,255) & $FFFFFFFF ; 4278190335
col = RGBA(255, 0 ...
by pfnuesu
Wed Oct 08, 2025 10:39 am
Forum: Coding Questions
Topic: Strange behavior of Editor with the WordWrap flag
Replies: 11
Views: 1132

Re: Strange behavior of Editor with the WordWrap flag


Yes, this is exactly the workaround I used, I talked about it above. But this is only to obtain the text in its original form. However, the main problem is still not solved.


Just to make sure: did you see this?


For a = 0 To 5
AddGadgetItem(0, a, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ ...
by pfnuesu
Wed Jul 16, 2025 9:53 pm
Forum: Game Programming
Topic: modeling CLAY color ...
Replies: 4
Views: 1544

Re: modeling CLAY color ...

Hi marc

That's a bit subjective, isn't it?

However, what about dusted-clay?
Hex : #cc7357
Rgb : rgb(204,115,87)

Best, pfn.
by pfnuesu
Sat May 17, 2025 10:30 pm
Forum: Game Programming
Topic: Magic 4x4
Replies: 78
Views: 15443

Re: Magic 4x4

Thanks SPH for sharing, I love this game (and my highscore isn't nearly as high as NicTheQuick's).

In my opinion there's no need for an animation for the new tiles, but that's...my opinion. (well actually it distracts me almost to the point that it hurts my eyes...) For the time beeing I changed ...
by pfnuesu
Sun Apr 06, 2025 12:17 pm
Forum: Windows
Topic: Help file menu icons too small on high DPi display
Replies: 8
Views: 2895

Re: Help file menu icons too small on high DPi display

You're welcome, even if it's only part of the desired solution.
by pfnuesu
Thu Feb 06, 2025 6:11 pm
Forum: Coding Questions
Topic: HTML color -> PB color -> libxlsxwriter color
Replies: 8
Views: 1684

Re: HTML color -> PB color -> libxlsxwriter color

What about this?

Code: Select all

Define xcolor.s
xcolor = (ReplaceString("#3030E0","#","$"))
Debug Red(Val(xcolor))
Debug Blue(Val(xcolor))
Debug Green(Val(xcolor))

;And back to hex to verify...
Debug Hex(RGB(Red(Val(xcolor)),Green(Val(xcolor)),Blue(Val(xcolor))))
by pfnuesu
Wed Mar 08, 2023 7:16 pm
Forum: Coding Questions
Topic: One more COMate question (ADO)
Replies: 2
Views: 440

Re: One more COMate question (ADO)

Hi

Would you like to share what kind of DB you're trying to access?

I still use COMate, but mostly to automate MS Office. When migrating my sources from Powerbasic to Purebasic I found that the integrated database library is quite powerful (and much faster).
by pfnuesu
Wed Mar 08, 2023 7:09 pm
Forum: Coding Questions
Topic: Latest COMate download
Replies: 7
Views: 1519

Re: Latest COMate download

Hi

See two posts above yours :wink:
by pfnuesu
Sat Mar 04, 2023 4:58 pm
Forum: Coding Questions
Topic: excel control
Replies: 4
Views: 819

Re: excel control

Hi drrself

This would be the equivalent:


WS1\Invoke("Rows('5:5')\delete")


Of course you'd need to attribute your worksheet to WS1 first.


<snip (create comate-object)>
WorkBook = ExcelObject\GetObjectProperty("Workbooks\Add")
<snip>
WS1 = WorkBook\GetObjectProperty("ActiveSheet ...
by pfnuesu
Tue Jul 12, 2022 9:11 pm
Forum: General Discussion
Topic: Pure Programming Tutorials?
Replies: 2
Views: 816

Re: Pure Programming Tutorials?

Unfortunately it seems like Guillaume lost interest. See answer to Mike Mike in this video