Very useful library... But it not compile with "/thread" switch.
It produces a linker error :
Code: Select all
POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
JOAQUIN
Code: Select all
POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
I had to build a custom version of Tailbite to handle it ( http://www.purebasic.fr/english/viewtop ... &start=392 )srod wrote:I haven't used the threadsafe switch. Will Tailbite handle it correctly?
Code: Select all
...
; gnozal
Global UseThreadOption
;
...
ForEach Parameter()
Select UCase(Left(Parameter(), 5))
; gnozal
Case "/THRD"
UseThreadOption = 1
;
Case "/ASKD"
AskDelete = 1
...
Code: Select all
Procedure PBCompile(ThisFile$, ExeName$, Extra$, Icon, DelFolder$, fatal)
...
If Icon
CmdLine$+" /ICON "+q+GetPathPart(ThisFile$)+"Windows.ico"+q
EndIf
; gnozal
If UseThreadOption
CmdLine$+" /THREAD"
EndIf
;
...
Yessrod wrote:Are you saying that I have to edit the Tailbite sources as you've shown, and then recompile?
Where you found tailbitesrod wrote:If so, where do I find the sources?
Tailbite manual wrote:The source is included in the 'src.pack' file. Put it in the TailBite folder. Then, run TBManager.exe and click on the 'Extract TailBite sources' button. You'll be prompted for an unpack folder, select it and all the TailBite sources will be extracted there.
Yes, you must ensure that the row height is sufficient for the fonts being used where the selection box is concerned. I'd advise adding 50% on to the font size; just to be sure.Thorsten1867 wrote:There are problems with the upper border (selection) line, if I use a row height of '16'. With a height of '18' the border will be shown correct.
Sorry, the form for the command isThorsten1867 wrote:I've converted the 16 egrids in my program and it seems to work.![]()
Now I'm trying to create a copy & paste function (right mouse button).
What's the correct usage of 'egrid_CopyCells(gadgetnum, left, top, right, bottom)'?
Code: Select all
egrid_CopyCells(gadgetnum, column, row, xcols, yrows)
Code: Select all
egrid_CopyCells(gadgetnum, 10, 4, 5, 6)