end of textbox with enter or tab


Author
Message
Eric Leissler
Eric Leissler
StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
Hi,
So excuse me its my last question for today.

in a simple form i have to corlorizedtexbox

when the cursor is on login colorizedtexbox, if user type [tab], the cursor go in pasword colorizedtextbox
but if user type [ENTER], the cursor  rest in login zone.

How make for  moving the cursor from login zone to paswword zone with the [ENTRE] KEY on the keyboard.

Thank's

Eric

Replies
Eric Leissler
Eric Leissler
StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)StrataFrame User (321 reputation)
Group: StrataFrame Users
Posts: 0, Visits: 527
well,

I try with a texbox, but it's the same problem.
i woud to valid my texbox with enter key. How can i do ??

Thank's

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Sorry, I focused on the ColorizedTextBox versus the Enter problem.  Windows standard uses a Tab versus a Enter.  So to implement an Enter, you can implement this logic yourself by inheriting the StrataFrame texbox ( or any textbox for that matter) and then override the ProcessCmdKey method and check for the Enter.  If the enter was pressed, then you would just call the SelectNext method on the textbox.

This related to standard .NET over StrataFrame, but maybe this will get you pointed in the right direction.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search