PC Review


Reply
Thread Tools Rate Thread

TextBox does not get OnMouseDown and OnMouseUp?

 
 
Hilton
Guest
Posts: n/a
 
      28th Jun 2006
Hi,

Works on full Framework, but on PDA, I don't get these events? Do these
work? Am I doing something wrong? WM 5.0, CF 1.

Since/If these don't work, any alternatives?

Thanks,

Hilton


 
Reply With Quote
 
 
 
 
Bipin_Expert
Guest
Posts: n/a
 
      28th Jun 2006
Hi,
Compact Framework do not have OnMouseDown and OnMouseUp for
textbox. You can work with GotFocus and LostFocus events whichever
suits your requirements.

Regards,
Bipin Kesharwani
(Developer)

Palewar Techno Solutions
Pocket PC & Mobile Software Development
Nagpur, India

http://www.palewar.com


Hilton wrote:
> Hi,
>
> Works on full Framework, but on PDA, I don't get these events? Do these
> work? Am I doing something wrong? WM 5.0, CF 1.
>
> Since/If these don't work, any alternatives?
>
> Thanks,
>
> Hilton


 
Reply With Quote
 
Hilton
Guest
Posts: n/a
 
      28th Jun 2006
Bipin_Expert wrote:
> Compact Framework do not have OnMouseDown and OnMouseUp for
> textbox.


Sure it does, try:
class ABC : TextBox
{
protected override void OnMouseDown(MouseEventArgs e)
{
base.OnMouseDown (e);
}

}


> You can work with GotFocus and LostFocus events whichever
> suits your requirements.


Which one fires when a textbox already has the focus and you tap on it?

Hilton


 
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
Help with Code: OnMouseDown SF Microsoft Access Form Coding 1 20th Jun 2006 11:20 AM
Add a password to a button's OnMouseDown JNariss@gmail.com Microsoft Frontpage 2 30th Jan 2006 09:15 PM
Shift/Ctrl in the OnMouseUp Sub Fred Microsoft VB .NET 4 23rd Nov 2005 12:47 PM
How do I prevent OnMouseUp in a DataGrid =?Utf-8?B?U2NvdHQ=?= Microsoft C# .NET 3 1st Feb 2005 03:31 PM
OnMouseUp behaving strangely Aaron Queenan Microsoft C# .NET 2 12th Jan 2004 07:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:33 PM.