GRID - RECALL

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: GRID - RECALL

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: GRID - RECALL

Post by andyglezl »

Gracias Dr. Soto

Estoy tratando de asimilarlo para hacer algunas pruebas.
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: GRID - RECALL

Post 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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
chrisjx2002
Posts: 190
Joined: Wed Jan 06, 2010 5:39 pm

Re: GRID - RECALL

Post by chrisjx2002 »

Thank Claudio.

When this next patch/version will be available?
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: GRID - RECALL

Post by danielmaximiliano »

Gracias Claudio !!!
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: GRID - RECALL

Post 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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: GRID - RECALL

Post 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.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: GRID - RECALL

Post 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!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
jozef
Posts: 23
Joined: Sat Apr 02, 2016 4:53 pm
DBs Used: DBF
Location: Bratislava, Slovak Republic

Re: GRID - RECALL

Post 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
Post Reply