Search found 5405 matches

by mk-soft
Sun Jan 11, 2026 4:22 pm
Forum: Coding Questions
Topic: MariaDB /MySQL returns ? instead of ë In PureBasic
Replies: 4
Views: 207

Re: MariaDB /MySQL returns ? instead of ë In PureBasic

I think (as I have read) umlauts are not allowed in the columns.
by mk-soft
Sun Jan 11, 2026 2:03 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.07.2
- Some bug fixed

Fixed some missing default return values.

Edit: Go back to v1.07.2
by mk-soft
Sun Jan 11, 2026 12:54 am
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.07.1
- Added Special Function SortListIconGadgetEx

Description SortListIconGadgetEx
- Option: #PB_Sort_Ascending, #PB_Sort_Descending, #PB_Sort_NoCase
- Typ : #PB_String, #PB_Integer, #PB_Double
by mk-soft
Sat Jan 10, 2026 3:35 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.06.4
- Remove Compiler Option #USE_LISTICON_HEADER_COLOR
- Automatically initializes the ListIcon Header Color Callback

Only when setting the header colors are the required functions activated.
I hope I don't have a memory leak with the Header Color Brushed ;)



Thank you for the ...
by mk-soft
Sat Jan 10, 2026 1:12 am
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.06.1
- Added Header Color Support
- Added Compiler Option #USE_LISTICON_HEADER_COLOR

Update v1.06.2
- Bugfix delete brush objects

On request now also the header with colors. ;)
by mk-soft
Thu Jan 08, 2026 9:13 pm
Forum: TailBite
Topic: Tailbite 1.4.17 with PB 5.73 (Windows)
Replies: 4
Views: 13398

Re: Tailbite 1.4.17 with PB 5.73 (Windows)

Tailbite wird in der neuen Version von PureBasic nicht mehr gebraucht, da es ab der Version v6.21 von PureBasic auch libraries erstellt werden können

https://www.purebasic.com/documentation ... brary.html

PB-IDE Tool: viewtopic.php?t=86000
by mk-soft
Wed Jan 07, 2026 8:11 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)


Great and slim - cool work, thank you.


I'll keep the version without image support also because this should include everything needed most of the time.
Maybe some flags like #ListIcon_EnableImageSupport combined with some CompilerIf could be used to create an all in one solution.


Edit:
A ...
by mk-soft
Tue Jan 06, 2026 11:52 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Not fast, but works ...

Said's Canvas GridGadget
Link: viewtopic.php?f=12&t=54022

Last Update v2.4:
Link: https://github.com/mk-soft-65/MyGrid

But this is about the ListIconGadget from PureBasic and not a GridGadget. :wink:
by mk-soft
Tue Jan 06, 2026 4:18 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.05.1
- Added Item Images Support
- Bugfix AddGadgetColumn

I've expanded it a little bit ;)
by mk-soft
Tue Jan 06, 2026 10:26 am
Forum: Linux
Topic: Wierd (GTK?) Keyboard Issue
Replies: 2
Views: 113

Re: Wierd (GTK?) Keyboard Issue

It is also possible that the purebasic.prefs file is damaged. Delete it (PB IDE closed) and perform the settings again.
Path /home/[user]/.purebasic
by mk-soft
Sun Jan 04, 2026 3:57 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)


Nicely done, thank you for sharing :)
UpdateListIconGadget after all AddGadgetItem, SetGadgetItemState or SetGadetItemColor, makes the difference for speed


The biggest difference is the use of LVS_OWNERDATA. PureBasic needs about 300 ms to create 100000 items.
The ListView of MS several more ...
by mk-soft
Sun Jan 04, 2026 2:06 pm
Forum: Tricks 'n' Tips
Topic: Window ListIconGadget With Owner Data (Very Fast)
Replies: 35
Views: 1644

Re: Window ListIconGadget With Owner Data (Very Fast)

Update v1.04.7
- Changed max columns count to auto column count

The count of columns is no longer limited and the item data is automatically adjusted.
The constant #LISTICON_COLUMN_SIZE indicates the starting value of the created columns
by mk-soft
Sat Jan 03, 2026 8:33 pm
Forum: Coding Questions
Topic: Access to global MAP into module [Resolved]
Replies: 5
Views: 181

Re: Access to global MAP into module [Resolved]

Or also because of your question CallFunctionFast...


;-TOP

DeclareModule Common

Global NewMap MyMap()

EndDeclareModule

Module Common

EndModule


DeclareModule Module1

Declare Function(*Text)

EndDeclareModule

Module Module1
UseModule Common

Procedure Function(*Text ...
by mk-soft
Sat Jan 03, 2026 8:18 pm
Forum: Coding Questions
Topic: Access to global MAP into module [Resolved]
Replies: 5
Views: 181

Re: Access to global MAP into module

Create an Common Module ;)


;-TOP

DeclareModule Common

Global NewMap MyMap()

EndDeclareModule

Module Common

EndModule


DeclareModule Module1

Declare.s Function(Text.s)

EndDeclareModule

Module Module1
UseModule Common

Procedure.s Function(Text.s)
ProcedureReturn Text ...
by mk-soft
Sat Jan 03, 2026 7:35 pm
Forum: Coding Questions
Topic: CallFunction for a local procedure [Resolved]
Replies: 5
Views: 248

Re: CallFunction for a local procedure [Resolved]

Of course, it also goes over the function name as a string.


Runtime Procedure Kcc(*Variable)
Debug PeekS(*Variable) + " from the procedure"
ProcedureReturn *Variable
EndProcedure

If GetRuntimeInteger("Kcc()")
*Ptr = CallFunctionFast(GetRuntimeInteger("Kcc()"), @"Hello")
EndIf

If *Ptr
Debug ...