Page 3 of 3

Grid without Enter Key

Posted: Tue Jan 07, 2014 9:27 pm
by Pablo César
Ok skonuk, now I understood. Thanks for your patient. but please note in parts what you said:
skonuk wrote:If the cell has been chosen (this may be marked with the arrow keys or the mouse)
Cells selections in grid is posible thru arrows keys, but CellNavigation (grid property) must be .T. otherwise the selectable higlighted (cursor of grid) will be completly in row mode (pointer moves line with all fields).
skonuk wrote:only enter key can switch to edit mode.
The ENTER event will work normally as the event ONDBLCLICK. You can put your own function for editing fields routine for ONDBLCLICK event which will call you function.
skonuk wrote:any key (a.. z / 0 .9 / * + - ....) keypres be able to switch to edit mode.
In this case, you will need to make your own function for OnChange event.
skonuk wrote:generally accepted because of other software languages ​​grid applications in this way
Normally in other languages this is accepted... Ok

Re: Grid without Enter Key

Posted: Tue Jan 07, 2014 10:22 pm
by skonuk
I'm sorry for the novice.

im testing for your notice

thansk

Re: Grid without Enter Key

Posted: Tue Jan 07, 2014 10:41 pm
by Pablo César
No problem. Foreign languages ​​are difficult to start. But try to write in turkish first, but make the synthetic and objective manner. Translate into English and this same result already translated, paste to translate from english to truco. So you see it was well written. Google translator is improving, but has serious shortcomings when translating.

Re: Grid without Enter Key

Posted: Wed Jan 08, 2014 2:04 am
by Rathinagiri
In the recent versions of HMG, we have full control over the events and keys thanks to Claudio. I am working on a clean and simple sample to make HMG grid as Excel like.

Re: Grid without Enter Key

Posted: Wed Jan 08, 2014 6:25 am
by mol
Rathinagiri wrote:I am working on a clean and simple sample to make HMG grid as Excel like.
Great news!