Page 5 of 5

Posted: Fri Sep 08, 2006 3:47 pm
by CSAUER
Hi srod,
thanks for your response.
It is correct, that if you want to enter a complete locked field, that it jumps to the next. This is more a feature than a bug.
But it should not enter the date gadget. I will take a look.

What do you think about the grid in grid feature? You can access it, if you try to enter line 3 and press "SPACE" (or click to the icon on the line caption).

Cheers,
CSAUER

Posted: Fri Sep 08, 2006 3:54 pm
by gnozal
CSAUER wrote: i don't know how to provide public constants so far.
You mean provide a resident file (*.res files in %purebasic%\residents) ?

Just create a standard purebasic source file :
MyResidents.pb

Code: Select all

#MyConstant1 = 0
#MyConstant2 = $FF
;etc...
If you use jaPBe V3, use 'Project->Compile manually (Resident)' or Shift+F8.
Else, compile your file manually :
PBCOMPILER MyResidents.pb /RESIDENT MyResident.res
The resident MyResident.res is created.

Posted: Fri Sep 08, 2006 3:56 pm
by srod
CSAUER wrote:Hi srod,
thanks for your response.
It is correct, that if you want to enter a complete locked field, that it jumps to the next. This is more a feature than a bug.
But it should not enter the date gadget. I will take a look.
But double clicking the 3rd checkbox surely shouldn't alter the contents of the 4th checkbox. Should it? It seems to alter its value (after first clicking the second checkbox, and then the 3rd) without selecting the cell!

Anyhow, I just noticed the grid in a grid, that's really cool! 8)

And this is cross platform!

Nice.

Noticed: in the embedded grid (the second grid) edit a cell and press return and the cell is temporarily blanked out!

Posted: Sat Jun 14, 2008 2:15 am
by ozzie
I'm interested in this grid as I need a cross-platform (Windows and Mac) grid for my application. But I'm getting the error message reported earlier in this thread: "Line 118 Constant not found: #LF_FACESIZE".

Your suggested solution to the error was to run the program without compiling a lib. With my very limited experience of PB so far, I can't find out how to do this. Is this what I need to do to get the CS Grid Gadget demo program to run? I'm using the demo version of PB under WinXP.

Thanks,
Mike

Posted: Mon Jun 16, 2008 12:06 pm
by CSAUER
Hi, the constant #LF_FACESIZE is been used for create a userdefined gadget with tailbite. If you include the sourcecode directly, you can comment out the structure "CHARFORMAT2_".

I replaced the existing download-file of latest source codes and added the constant #LF_FACESIZE. I did not recompiled the tailbite include.
http://www.xideas.de/purebasic/CS-Grid2-2PB4-Source.zip

As I am not working on this code furthermore, feel free to update the lib.
As it doesn't use any Win-API calls it should generally run on other PB platforms. I did not tested it recenctly on latest Mac version, but I will do if I find some time.

I reimplemented a grid control on my WUI library (it is completely rewritten, hierachical and skinable), this has some implementations I did not transfer until now (column sorting, column summary, column mouse-resize).

Posted: Fri Oct 17, 2008 5:04 pm
by Coolman
Great job, I had already tested an earlier version, the last asked me a little problem with version 4.20 of PureBasic, but it is resolved through the availability of source code, congratulations on your work ...

8)

Re: CS-Grid-Gadget: New Release V 2.3 / PB4

Posted: Mon Nov 14, 2011 12:02 am
by VisualJump3D
Any news for Pb 4.60 ??