PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework textbox without Click event

Reply

textbox without Click event

 
Thread Tools Rate Thread
Old 11-02-2004, 02:32 PM   #1
carmen
Guest
 
Posts: n/a
Default textbox without Click event


I'm working with VS .NET 2003 in an application for windows CE .NET and need
to manage the event Click of a textbox.
I don't see this event in the Event window of the control. Is this because
is not in the Compact Framework? Is there any way to get into this event?
Thank you in advance



  Reply With Quote
Old 11-02-2004, 03:29 PM   #2
William Ryan eMVP
Guest
 
Posts: n/a
Default Re: textbox without Click event

Chris Tacke posted this code for a clickable label
http://opennetcf.org/Forums/topic.asp?TOPIC_ID=48 AFAIK, click isn't
supported on the textbox but you can get the functonality using the
aforementioned concept.

HTH,

Bill
"carmen" <cgonzalez@betaprint.com> wrote in message
news:c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net...
> I'm working with VS .NET 2003 in an application for windows CE .NET and

need
> to manage the event Click of a textbox.
> I don't see this event in the Event window of the control. Is this because
> is not in the Compact Framework? Is there any way to get into this event?
> Thank you in advance
>
>
>



  Reply With Quote
Old 17-03-2004, 06:31 AM   #3
Katie Schaeffer [MSFT]
Guest
 
Posts: n/a
Default RE: textbox without Click event

Hello,

Could you describe what you'd like to do in this event or what your
scenario is? For many folks, using the textbox's 'GotFocus' event is a
sufficient workaround.

-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/...f/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
Samples:
http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| From: "carmen" <cgonzalez@betaprint.com>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: textbox without Click event
| Date: Wed, 11 Feb 2004 15:32:44 +0100
| Organization: Telefonica Data Espagna
| Lines: 8
| Message-ID: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
| NNTP-Posting-Host: 251.red-213-97-217.pooles.rima-tde.net
| X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1076510068 7573
213.97.217.251 (11 Feb 2004 14:34:28 GMT)
| X-Complaints-To: usenet@nsnmrro2-gest.nuria.telefonica-data.net
| NNTP-Posting-Date: Wed, 11 Feb 2004 14:34:28 +0000 (UTC)
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.
syr.edu!news-out1.nntp.be!propagator4-cogent.newsfeed.com!propagator2-sterli
ng!news-in.nuthinbutnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmrro2-
lo.nuria.telefonica-data.net!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:45484
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I'm working with VS .NET 2003 in an application for windows CE .NET and
need
| to manage the event Click of a textbox.
| I don't see this event in the Event window of the control. Is this because
| is not in the Compact Framework? Is there any way to get into this event?
| Thank you in advance
|
|
|
|

  Reply With Quote
Old 18-03-2004, 07:25 PM   #4
Rissa
Guest
 
Posts: n/a
Default Re: textbox without Click event

Katie; (et al)

Maybe you can help me with a similar issue.

In my app, a user can make notes, then save the notes to a plain-text file.
The TextBox is on a tabPage, and receives focus when the user taps that
tabPage. The focus event enables the SIP.

Trouble is, when the SaveFileDialog closes, the SIP is automatically
disabled (or so it seems).

I have not been able to figure out a way to force the SIP to show again when
the SaveFileDialog closes. If I include "TextBox2.Focus()" in the routine
that handles the Dialog, the SIP doesn't show... further, the TextBox now
has the focus and can't receive a Focus event again, no matter how many
times you tap it...

If I include "InputPanel1.Enabled=True" in the Dialog handler, it does
nothing.

What makes this even weirder is that the OpenFileDialog does not force the
SIP to close.

Any thoughts?



"Katie Schaeffer [MSFT]" <katies@online.microsoft.com> wrote in message
news:TD$Tsl%23CEHA.2304@cpmsftngxa06.phx.gbl...
> Hello,
>
> Could you describe what you'd like to do in this event or what your
> scenario is? For many folks, using the textbox's 'GotFocus' event is a
> sufficient workaround.
>
> -Katie
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> ***.Net Compact Framework Info***
> Faq:
>

http://msdn.microsoft.com/mobility/...f/FAQ/default.a
> spx
> QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
> Samples:
>

http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
> tml/CompactfxTechArt.asp
>
> --------------------
> | From: "carmen" <cgonzalez@betaprint.com>
> | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | Subject: textbox without Click event
> | Date: Wed, 11 Feb 2004 15:32:44 +0100
> | Organization: Telefonica Data Espagna
> | Lines: 8
> | Message-ID: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
> | NNTP-Posting-Host: 251.red-213-97-217.pooles.rima-tde.net
> | X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1076510068 7573
> 213.97.217.251 (11 Feb 2004 14:34:28 GMT)
> | X-Complaints-To: usenet@nsnmrro2-gest.nuria.telefonica-data.net
> | NNTP-Posting-Date: Wed, 11 Feb 2004 14:34:28 +0000 (UTC)
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> | Path:
>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
>

l.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.
>

syr.edu!news-out1.nntp.be!propagator4-cogent.newsfeed.com!propagator2-sterli
>

ng!news-in.nuthinbutnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmrro2-
> lo.nuria.telefonica-data.net!not-for-mail
> | Xref: cpmsftngxa07.phx.gbl
> microsoft.public.dotnet.framework.compactframework:45484
> | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> |
> | I'm working with VS .NET 2003 in an application for windows CE .NET and
> need
> | to manage the event Click of a textbox.
> | I don't see this event in the Event window of the control. Is this

because
> | is not in the Compact Framework? Is there any way to get into this

event?
> | Thank you in advance
> |
> |
> |
> |
>



  Reply With Quote
Old 22-03-2004, 10:12 PM   #5
Katie Schaeffer [MSFT]
Guest
 
Posts: n/a
Default Re: textbox without Click event

Hi Rissa,

Are you using SP2? Looking at our bug database, we fixed simular bugs in
SP2.

http://www.microsoft.com/downloads/...A6DA-FC5D-41CC-
AC04-7BB50A134556&displaylang=en

-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/...f/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
Samples:
http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| From: "Rissa" <rkarpoff@nw3c.org>
| References: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
<TD$Tsl#CEHA.2304@cpmsftngxa06.phx.gbl>
| Subject: Re: textbox without Click event
| Date: Thu, 18 Mar 2004 14:25:12 -0500
| Lines: 97
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <OGLY96RDEHA.2800@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: coco.nw3c.org 141.153.107.250
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:48941
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Katie; (et al)
|
| Maybe you can help me with a similar issue.
|
| In my app, a user can make notes, then save the notes to a plain-text
file.
| The TextBox is on a tabPage, and receives focus when the user taps that
| tabPage. The focus event enables the SIP.
|
| Trouble is, when the SaveFileDialog closes, the SIP is automatically
| disabled (or so it seems).
|
| I have not been able to figure out a way to force the SIP to show again
when
| the SaveFileDialog closes. If I include "TextBox2.Focus()" in the routine
| that handles the Dialog, the SIP doesn't show... further, the TextBox now
| has the focus and can't receive a Focus event again, no matter how many
| times you tap it...
|
| If I include "InputPanel1.Enabled=True" in the Dialog handler, it does
| nothing.
|
| What makes this even weirder is that the OpenFileDialog does not force the
| SIP to close.
|
| Any thoughts?
|
|
|
| "Katie Schaeffer [MSFT]" <katies@online.microsoft.com> wrote in message
| news:TD$Tsl%23CEHA.2304@cpmsftngxa06.phx.gbl...
| > Hello,
| >
| > Could you describe what you'd like to do in this event or what your
| > scenario is? For many folks, using the textbox's 'GotFocus' event is a
| > sufficient workaround.
| >
| > -Katie
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| > ***.Net Compact Framework Info***
| > Faq:
| >
|
http://msdn.microsoft.com/mobility/...f/FAQ/default.a
| > spx
| > QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
| > Samples:
| >
|
http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
| > tml/CompactfxTechArt.asp
| >
| > --------------------
| > | From: "carmen" <cgonzalez@betaprint.com>
| > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | Subject: textbox without Click event
| > | Date: Wed, 11 Feb 2004 15:32:44 +0100
| > | Organization: Telefonica Data Espagna
| > | Lines: 8
| > | Message-ID: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
| > | NNTP-Posting-Host: 251.red-213-97-217.pooles.rima-tde.net
| > | X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1076510068 7573
| > 213.97.217.251 (11 Feb 2004 14:34:28 GMT)
| > | X-Complaints-To: usenet@nsnmrro2-gest.nuria.telefonica-data.net
| > | NNTP-Posting-Date: Wed, 11 Feb 2004 14:34:28 +0000 (UTC)
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
| >
|
l.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.
| >
|
syr.edu!news-out1.nntp.be!propagator4-cogent.newsfeed.com!propagator2-sterli
| >
|
ng!news-in.nuthinbutnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmrro2-
| > lo.nuria.telefonica-data.net!not-for-mail
| > | Xref: cpmsftngxa07.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:45484
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | I'm working with VS .NET 2003 in an application for windows CE .NET
and
| > need
| > | to manage the event Click of a textbox.
| > | I don't see this event in the Event window of the control. Is this
| because
| > | is not in the Compact Framework? Is there any way to get into this
| event?
| > | Thank you in advance
| > |
| > |
| > |
| > |
| >
|
|
|

  Reply With Quote
Old 25-03-2004, 04:13 PM   #6
Rissa
Guest
 
Posts: n/a
Default Re: textbox without Click event

Yup, using SP2. Interestingly, OpenFileDialog does not cause this problem.
Only SaveFileDialog.

Got any suggestions?

"Katie Schaeffer [MSFT]" <katies@online.microsoft.com> wrote in message
news:MxuN9qFEEHA.616@cpmsftngxa06.phx.gbl...
> Hi Rissa,
>
> Are you using SP2? Looking at our bug database, we fixed simular bugs in
> SP2.
>
>

http://www.microsoft.com/downloads/...A6DA-FC5D-41CC-
> AC04-7BB50A134556&displaylang=en
>
> -Katie
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> ***.Net Compact Framework Info***
> Faq:
>

http://msdn.microsoft.com/mobility/...f/FAQ/default.a
> spx
> QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
> Samples:
>

http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
> tml/CompactfxTechArt.asp
>
> --------------------
> | From: "Rissa" <rkarpoff@nw3c.org>
> | References: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
> <TD$Tsl#CEHA.2304@cpmsftngxa06.phx.gbl>
> | Subject: Re: textbox without Click event
> | Date: Thu, 18 Mar 2004 14:25:12 -0500
> | Lines: 97
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | Message-ID: <OGLY96RDEHA.2800@tk2msftngp13.phx.gbl>
> | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | NNTP-Posting-Host: coco.nw3c.org 141.153.107.250
> | Path:
>

cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
> 8.phx.gbl!tk2msftngp13.phx.gbl
> | Xref: cpmsftngxa06.phx.gbl
> microsoft.public.dotnet.framework.compactframework:48941
> | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> |
> | Katie; (et al)
> |
> | Maybe you can help me with a similar issue.
> |
> | In my app, a user can make notes, then save the notes to a plain-text
> file.
> | The TextBox is on a tabPage, and receives focus when the user taps that
> | tabPage. The focus event enables the SIP.
> |
> | Trouble is, when the SaveFileDialog closes, the SIP is automatically
> | disabled (or so it seems).
> |
> | I have not been able to figure out a way to force the SIP to show again
> when
> | the SaveFileDialog closes. If I include "TextBox2.Focus()" in the

routine
> | that handles the Dialog, the SIP doesn't show... further, the TextBox

now
> | has the focus and can't receive a Focus event again, no matter how many
> | times you tap it...
> |
> | If I include "InputPanel1.Enabled=True" in the Dialog handler, it does
> | nothing.
> |
> | What makes this even weirder is that the OpenFileDialog does not force

the
> | SIP to close.
> |
> | Any thoughts?
> |
> |
> |
> | "Katie Schaeffer [MSFT]" <katies@online.microsoft.com> wrote in message
> | news:TD$Tsl%23CEHA.2304@cpmsftngxa06.phx.gbl...
> | > Hello,
> | >
> | > Could you describe what you'd like to do in this event or what your
> | > scenario is? For many folks, using the textbox's 'GotFocus' event is

a
> | > sufficient workaround.
> | >
> | > -Katie
> | >
> | > This posting is provided "AS IS" with no warranties, and confers no
> | rights.
> | >
> | > ***.Net Compact Framework Info***
> | > Faq:
> | >
> |
>

http://msdn.microsoft.com/mobility/...f/FAQ/default.a
> | > spx
> | > QuickStarts: http://samples.gotdotnet.com/quicks...mpactFramework/
> | > Samples:
> | >
> |
>

http://msdn.microsoft.com/library/d...-us/dnnetcomp/h
> | > tml/CompactfxTechArt.asp
> | >
> | > --------------------
> | > | From: "carmen" <cgonzalez@betaprint.com>
> | > | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | > | Subject: textbox without Click event
> | > | Date: Wed, 11 Feb 2004 15:32:44 +0100
> | > | Organization: Telefonica Data Espagna
> | > | Lines: 8
> | > | Message-ID: <c0dehi$7cl$1@nsnmrro2-gest.nuria.telefonica-data.net>
> | > | NNTP-Posting-Host: 251.red-213-97-217.pooles.rima-tde.net
> | > | X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1076510068 7573
> | > 213.97.217.251 (11 Feb 2004 14:34:28 GMT)
> | > | X-Complaints-To: usenet@nsnmrro2-gest.nuria.telefonica-data.net
> | > | NNTP-Posting-Date: Wed, 11 Feb 2004 14:34:28 +0000 (UTC)
> | > | X-Priority: 3
> | > | X-MSMail-Priority: Normal
> | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> | > | Path:
> | >
> |
>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
> | >
> |
>

l.t-online.de!t-online.de!newsfeed.icl.net!newsfeed.fjserv.net!news.maxwell.
> | >
> |
>

syr.edu!news-out1.nntp.be!propagator4-cogent.newsfeed.com!propagator2-sterli
> | >
> |
>

ng!news-in.nuthinbutnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmrro2-
> | > lo.nuria.telefonica-data.net!not-for-mail
> | > | Xref: cpmsftngxa07.phx.gbl
> | > microsoft.public.dotnet.framework.compactframework:45484
> | > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> | > |
> | > | I'm working with VS .NET 2003 in an application for windows CE .NET
> and
> | > need
> | > | to manage the event Click of a textbox.
> | > | I don't see this event in the Event window of the control. Is this
> | because
> | > | is not in the Compact Framework? Is there any way to get into this
> | event?
> | > | Thank you in advance
> | > |
> | > |
> | > |
> | > |
> | >
> |
> |
> |
>



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off