GRID edit behaviour

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

GRID edit behaviour

Post by Czarny_Pijar »

- In the grid
- in the column where COLUMNCONTROLS is declared as {'TEXTBOX','CHARACTER'}
- after entering into the EDIT mode ( dont matter how, mouse-click or ENTER-key-press)
- after moving the cursor to the end of the edited text (by pressing END-key)

the cursor should go to the LEN(RTRIM(text)) position.

Until now, the cursor is stopped at the LEN(text) position, what is most undesirable, I suspect, not only for me.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: GRID edit behaviour

Post by Roberto Lopez »

Czarny_Pijar wrote:- In the grid
- in the column where COLUMNCONTROLS is declared as {'TEXTBOX','CHARACTER'}
- after entering into the EDIT mode ( dont matter how, mouse-click or ENTER-key-press)
- after moving the cursor to the end of the edited text (by pressing END-key)

the cursor should go to the LEN(RTRIM(text)) position.

Until now, the cursor is stopped at the LEN(text) position, what is most undesirable, I suspect, not only for me.
Thanks for the suggestion.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: GRID edit behaviour

Post by Czarny_Pijar »

Another wish in the same place.

(
The length of the edited text in the GRID
should not be greater than
the length of the corresponding field in the database.
)

OR

(
something like 'X' template symbol in the command '@..GET PICTURE', http://www.itlnet.net/programming/progr ... aee8c.html
example :

aCtrl_2 := {'TEXTBOX', 'CHARACTER', 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
)
Post Reply