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

Developed or developing a new product in PureBasic? Tell the world about it.
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post 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
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post 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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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!
I may look like a mule, but I'm not a complete ass.
ozzie
Enthusiast
Enthusiast
Posts: 443
Joined: Sun Apr 06, 2008 12:54 pm
Location: Brisbane, Qld, Australia
Contact:

Post 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
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post 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).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
Coolman
Enthusiast
Enthusiast
Posts: 103
Joined: Sat Sep 03, 2005 4:07 pm

Post 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)
*** Excuse my bad English, I uses has translating program ***
User avatar
VisualJump3D
User
User
Posts: 75
Joined: Thu Jun 23, 2011 8:32 pm
Location: italy
Contact:

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

Post by VisualJump3D »

Any news for Pb 4.60 ??
Post Reply