PC Review


Reply
Thread Tools Rate Thread

carent move in textbox

 
 
gie
Guest
Posts: n/a
 
      12th Nov 2003
Hi

how can i disable carent move in a textbox when i press keyup, keydown,
keyleft or keyright. i set key handel in KeyDown and KeyUp Event true but
the carent in textbox didn't stop moving.

thanks


 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      12th Nov 2003
There may be a better way, but you *could* create a C DLL, subclass the edit
control, and have the subclass routine always set the cursor back to where
you want it. Why would you want to disable this standard behavior?

Paul T.

"gie" <x@y> wrote in message news:(E-Mail Removed)...
> Hi
>
> how can i disable carent move in a textbox when i press keyup, keydown,
> keyleft or keyright. i set key handel in KeyDown and KeyUp Event true but
> the carent in textbox didn't stop moving.
>
> thanks
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide and move up a textbox based on previous textbox moosecck@gmail.com Microsoft Access Reports 2 28th Oct 2008 11:08 AM
textbox move =?Utf-8?B?dHJhbnRoMDE=?= Microsoft Access Forms 1 31st Jul 2007 05:26 PM
Re: How to move cursor from one textbox control to another textbox con Tom Ogilvy Microsoft Excel Programming 1 16th Sep 2004 03:42 PM
How to move cursor from one textbox control to another textbox con =?Utf-8?B?S01vb3JlMDA3?= Microsoft Excel Programming 0 16th Sep 2004 02:47 PM
how to move cursor from one textbox to adjacent textbox using LEFT ARROW key =?Utf-8?B?U2Vhc2g=?= Microsoft C# .NET 6 31st Jan 2004 12:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:19 AM.