Page 22 of 23

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

Posted: Mon Feb 21, 2011 8:39 pm
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.

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

Posted: Mon Feb 21, 2011 8:50 pm
by Marco2007
Thank you so much!!!!
:D :D :D :D :D

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

Posted: Mon Feb 21, 2011 11:12 pm
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!

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

Posted: Sun Oct 02, 2011 6:24 pm
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.

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

Posted: Wed Jan 18, 2012 3:54 pm
by jamba
hey srod, is your website down?
secondly, is it intentional (SOPA/PIPA blackout?)

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

Posted: Wed Feb 08, 2012 2:35 am
by moob
hi, srod...

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


thanks

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

Posted: Thu Feb 16, 2012 10:34 pm
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"

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

Posted: Fri Feb 17, 2012 12:44 am
by Olby
I need the download as well. Wonder where's srod?

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

Posted: Fri Feb 17, 2012 12:55 am
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.

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

Posted: Fri Feb 17, 2012 3:09 pm
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.

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

Posted: Sat Jun 30, 2012 1:40 pm
by srod
30th Jun 2012.

EsGRID 2.0.8.

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

Regards.

Stephen.

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

Posted: Sun Jul 01, 2012 9:16 pm
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.

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

Posted: Sun Jul 01, 2012 9:50 pm
by ts-soft
Thx, very useful

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

Posted: Sun Jul 01, 2012 10:49 pm
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.

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

Posted: Sun Jul 01, 2012 11:35 pm
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