Page 2 of 2

Re: GRID - RECALL

Posted: Tue Apr 12, 2016 2:04 am
by srvet_claudio
As when you are editing a cell in the Grid control, HMG creates a new window into the cell that simulates a real edition of the cell in the Grid,
I implemented in GRID control:
On InplaceEditEvent <OnInplaceEditEventProcedure>

- Properties Available For OnInplaceEditEvent Procedure:

- This.IsInplaceEditEventInit: Return .T. or .F.
- This.IsInplaceEditEventRun: Return .T. or .F.
- This.IsInplaceEditEventFinish: Return .T. or .F.
- This.InplaceEditGridName: eg. “Grid_1”
- This.InplaceEditParentName: eg. “Form_1”
- This.InplaceEditControlHandle: Handle of InplaceEdit ColumnControl, eg. Handle of TEXTBOX, DATEPICKER, TIMEPICKER, COMBOBOX, SPINNER, CHECKBOX, etc.
- This.InplaceEditControlIndex: Return nControlIndex

- Now ON CLICK and ON KEY event of Gid control is available too in InplaceEdit state,
for check if the event is fired in the Grid control or inside of InplaceEdit control you use the property This.IsInplaceEditEventRun

Re: GRID - RECALL

Posted: Tue Apr 12, 2016 2:56 pm
by andyglezl
Gracias Dr. Soto

Estoy tratando de asimilarlo para hacer algunas pruebas.

Re: GRID - RECALL

Posted: Tue Apr 12, 2016 6:32 pm
by srvet_claudio
srvet_claudio wrote:As when you are editing a cell in the Grid control, HMG creates a new window into the cell that simulates a real edition of the cell in the Grid,
I implemented in GRID control:
On InplaceEditEvent <OnInplaceEditEventProcedure>

- Properties Available For OnInplaceEditEvent Procedure:

- This.IsInplaceEditEventInit: Return .T. or .F.
- This.IsInplaceEditEventRun: Return .T. or .F.
- This.IsInplaceEditEventFinish: Return .T. or .F.
- This.InplaceEditGridName: eg. “Grid_1”
- This.InplaceEditParentName: eg. “Form_1”
- This.InplaceEditControlHandle: Handle of InplaceEdit ColumnControl, eg. Handle of TEXTBOX, DATEPICKER, TIMEPICKER, COMBOBOX, SPINNER, CHECKBOX, etc.
- This.InplaceEditControlIndex: Return nControlIndex

- Now ON CLICK and ON KEY event of Gid control is available too in InplaceEdit state,
for check if the event is fired in the Grid control or inside of InplaceEdit control you use the property This.IsInplaceEditEventRun
This will be available in the next patch/version, I will include a demo.

Re: GRID - RECALL

Posted: Wed Apr 13, 2016 8:44 am
by chrisjx2002
Thank Claudio.

When this next patch/version will be available?

Re: GRID - RECALL

Posted: Wed Apr 13, 2016 1:17 pm
by danielmaximiliano
Gracias Claudio !!!

Re: GRID - RECALL

Posted: Wed Apr 13, 2016 1:36 pm
by srvet_claudio
chrisjx2002 wrote:Thank Claudio.

When this next patch/version will be available?
I think it will be finished within a few days, I am adding some new features.

Re: GRID - RECALL

Posted: Wed Apr 13, 2016 5:42 pm
by mol
I have a solution for old idea - in some countries comma is used as decimal point. We need to change only two lines in textbox definition file to resolve this. I'll send mail to you tomorrow, Claudio.

Re: GRID - RECALL

Posted: Wed Apr 13, 2016 5:57 pm
by srvet_claudio
mol wrote:I have a solution for old idea - in some countries comma is used as decimal point. We need to change only two lines in textbox definition file to resolve this. I'll send mail to you tomorrow, Claudio.
Please send me!

Re: GRID - RECALL

Posted: Thu Apr 14, 2016 6:53 am
by jozef
mol wrote:I have a solution for old idea - in some countries comma is used as decimal point. We need to change only two lines in textbox definition file to resolve this. I'll send mail to you tomorrow, Claudio.
Hi all,

This change is very important to me, too. Thanks for implementing.

Jozef