EsGRID grid gadget 2.1. Don't post here!

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: EsGRID grid gadget 2.0.6. (Compiles with PB 32 and PB 6

Post by srod »

I am not sure what you are after Marco, but try a CellCallback of the following form (EsGRID) :

Code: Select all

Procedure.i MyCellCallBack(egrid, uMsg, *cellinfo.egridCellInfo)
  Protected result

  Select uMsg
    Case #egrid_SelectCell  
      If *cellinfo\param = #egrid_Tab Or *cellinfo\param = #egrid_ShiftTab
        result = #False
        egrid_SelectCell(1, *cellinfo\column, *cellinfo\row, 1)
        hWnd = FindWindowEx_(GadgetID(1), 0, @"edit", 0) 
        If hWnd
          SendMessage_(hWnd, #EM_SETSEL, 0, -1)
        EndIf
      Else
        result = #True
      EndIf
      
    Default 
      result = #True   
  EndSelect
  ProcedureReturn result
EndProcedure
If you need something similar for ExGRID then the routine will need some modifying in order to obtain the handle of the edit control etc.
I may look like a mule, but I'm not a complete ass.
Marco2007
Enthusiast
Enthusiast
Posts: 648
Joined: Tue Jun 12, 2007 10:30 am
Location: not there...

Re: EsGRID grid gadget 2.0.6. (Compiles with PB 32 and PB 6

Post by Marco2007 »

Thank you so much!!!!
:D :D :D :D :D
PureBasic for Windows
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: EsGRID grid gadget 2.0.6. (Compiles with PB 32 and PB 6

Post by Olby »

Here is ExGrid version, just replace this line:

Code: Select all

hWnd = FindWindowEx_(GadgetID(1), 0, @"edit", 0)
with this one:

Code: Select all

hWnd = FindWindowEx_(GetWindow_(GadgetID(1),#GW_CHILD), 0, @"edit", 0)
Thanks!
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by srod »

2nd Oct 2011.

EsGRID 2.0.7 - Purebasic 4.4/4.5/4.6 versions.

Some bugs with the editable combo cells have been fixed.

The ExGRID download includes the new version of EsGRID.

Regards.

Stephen.
I may look like a mule, but I'm not a complete ass.
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by jamba »

hey srod, is your website down?
secondly, is it intentional (SOPA/PIPA blackout?)
-Jon

Fedora user
But I work with Win7
moob
User
User
Posts: 68
Joined: Mon Aug 01, 2011 6:16 pm

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by moob »

hi, srod...

your site is down can you give alternative link to download EsGRID 2.0.7??


thanks
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by jamba »

moob wrote:hi, srod...

your site is down can you give alternative link to download EsGRID 2.0.7??


thanks
I echo the same request, and ExGrid whatever is latest.

website still says "no input file specified"
-Jon

Fedora user
But I work with Win7
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by Olby »

I need the download as well. Wonder where's srod?
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by LuCiFeR[SD] »

Nobody knows where srod is... as nobody has heard from him in a while. But it is quite worrying that he suddenly went quiet and his websites are all offline. It could be something as simple as he has no money and cannot afford to come online/pay bills. or it could be ill health. It is pointless speculating though. Lets just hope he is ok, that is more important than some software IMHO. There is another thread discussing this elsewhere on the forum, so it would be better to read that instead of just random posts here.
jamba
Enthusiast
Enthusiast
Posts: 144
Joined: Fri Jan 15, 2010 2:03 pm
Location: Triad, NC
Contact:

Re: EsGRID grid gadget 2.0.7. (Compiles with PB 32 and PB 6

Post by jamba »

LuCiFeR[SD] wrote:Nobody knows where srod is... as nobody has heard from him in a while. But it is quite worrying that he suddenly went quiet and his websites are all offline. It could be something as simple as he has no money and cannot afford to come online/pay bills. or it could be ill health. It is pointless speculating though. Lets just hope he is ok, that is more important than some software IMHO. There is another thread discussing this elsewhere on the forum, so it would be better to read that instead of just random posts here.
Ah, I didn't really know he was gone. thanks for the link to that thread.
I hope he is alright and it is just some minor setback and not some major health issue or anything.
-Jon

Fedora user
But I work with Win7
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: EsGRID grid gadget 2.0.8. (Compiles with PB 32 and PB 6

Post by srod »

30th Jun 2012.

EsGRID 2.0.8.

Huge flicker when restricting cell selection under mouse control has been fixed.

Regards.

Stephen.
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: EsGRID grid gadget 2.0.8. (Compiles with PB 32 and PB 6

Post by srod »

1st July 2012.

EsGRID 2.1.

Hi,

Have added a new cell type to both EsGRID and ExGRID (#egrid_CustomTextDialog / #ExGRID_CUSTOMTEXTDIALOG).

These cells can be used to display static text alongside a 'selector button' which the user can click (or double click the entire cell) in order to fire an appropriate notification to a CellCallback function. That is, the text and the button reside within the same cell (much like the various 'chooser' type cells which our tBOX property box control offer).

The idea is that when the user clicks an appropriate 'selector button', the client application will then throw up some dialog or other appropriate to the cell in question. When the dialog has run it's course then the client app would make any appropriate changes to the underlying grid cell.

Have added a new demo to the EsGRID control to show how to make use of these new cells. The demo offers one way of allowing users to edit dates etc.

Note that any modifications made to these new cells are not reported in the #egrid_CellUpdated / #ExGRID_CELLUPDATED messages. This is because such cells are not edited directly by the user and the client app, through having thrown up a dialog in the first place, will already be aware of the changes made!

Regards.

Stephen.
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: EsGRID grid gadget 2.1. (Compiles with PB 32 and PB 64)

Post by ts-soft »

Thx, very useful
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

Re: EsGRID grid gadget 2.0.8. (Compiles with PB 32 and PB 6

Post by Olby »

srod wrote:Have added a new cell type to both EsGRID and ExGRID (#egrid_CustomTextDialog / #ExGRID_CUSTOMTEXTDIALOG).
Indeed very nice of you to support Es\ExGrid. As you might know it was once a major part of my data entry application (although I have since replaced it with my custom cell gadget made on top of canvas gadget) and still covers important parts of it. Thanks.
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)
User avatar
Kiffi
Addict
Addict
Posts: 1485
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: EsGRID grid gadget 2.0.8. (Compiles with PB 32 and PB 6

Post by Kiffi »

srod wrote:Have added a new cell type to both EsGRID and ExGRID (#egrid_CustomTextDialog / #ExGRID_CUSTOMTEXTDIALOG).
Thanks a lot! Image

Greetings ... Kiffi
Hygge
Post Reply