VS .NET Enterprise Architect 2002 or 2003 ?

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi everyone,

Just a question about VS .NET Enterprise Architect 2002 vs. VS .NET
Enterprise Architect 2003.

We have an app built in VS .NET Enterprise Architect 2002 now.
We're trying to make a choice to upgrade or not. But besides the other
benefits 2003 brings, we want to make sure one particular problem with a
control is fixed in 2003.

We have a control that wraps around a standard combo box. But when placed
on a form and you try to backtab to the control, the backtab does not work.

Has anyone encountered this ? Does anyone have a different solution ?

Does anyone know if it's fixed in 2003 ?

I can provide app code examples if necessary.

Thanks,

John
 
Hello,

John said:
We have an app built in VS .NET Enterprise Architect
2002 now.
We're trying to make a choice to upgrade or not.

There is a special ("cheap") upgrade offer available for $29 US. This offer
is open only until September 30, 2003. You will get more information about
this offer here:

Visual Studio .NET 2003 Upgrade Offer
http://msdn.microsoft.com/vstudio/howtobuy/upgrade/vstudio03/
But besides the other benefits 2003 brings, we want to make
sure one particular problem with a control is fixed in 2003.

We have a control that wraps around a standard combo box.
But when placed on a form and you try to backtab to the
control, the backtab does not work.

I am not able to reproduce that with the standard combobox control on a
Windows XP Professional machine with VS.NET 2003 (.NET 1.0). What exactly
do you mean by "backtab"? Pressing Shift+Tab?
 
Hi John,
You may find more information on our Visual Studio Product site
http://msdn.microsoft.com/vstudio/default.aspx
And If you can make an simple project to reproduce that bug, I'm glad
to make a test for you on VS.NET 2003, Thanks!




Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

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

--------------------
| From: "John" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| Subject: VS .NET Enterprise Architect 2002 or 2003 ?
| Lines: 26
| 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: <KfE8b.330349$Oz4.120654@rwcrnsc54>
| NNTP-Posting-Host: 12.206.145.32
| X-Complaints-To: (e-mail address removed)
| X-Trace: rwcrnsc54 1063456874 12.206.145.32 (Sat, 13 Sep 2003 12:41:14
GMT)
| NNTP-Posting-Date: Sat, 13 Sep 2003 12:41:14 GMT
| Organization: Comcast Online
| Date: Sat, 13 Sep 2003 12:41:14 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!skynet.be!skynet.be!newsfeeds.sol.net!204.127.161.158.MISMATCH!wn14feed
!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not
-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52285
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi everyone,
|
| Just a question about VS .NET Enterprise Architect 2002 vs. VS .NET
| Enterprise Architect 2003.
|
| We have an app built in VS .NET Enterprise Architect 2002 now.
| We're trying to make a choice to upgrade or not. But besides the other
| benefits 2003 brings, we want to make sure one particular problem with a
| control is fixed in 2003.
|
| We have a control that wraps around a standard combo box. But when placed
| on a form and you try to backtab to the control, the backtab does not
work.
|
| Has anyone encountered this ? Does anyone have a different solution ?
|
| Does anyone know if it's fixed in 2003 ?
|
| I can provide app code examples if necessary.
|
| Thanks,
|
| John
|
|
|
|
|
 
Thanks for the info on the offer.

Yes. A backtab is a shift+tab. We are using VS .NET 2002.

Thanks,

John
 
Hello,

John said:
Thanks for the info on the offer.

Yes. A backtab is a shift+tab. We are using VS .NET 2002.

Does that even occur in a blank project with a combobox and some buttons?
 
I don't think so. I believe the person I'm working with on this has tried
that as a comparison already.

I know that from other windows apps I've built, that is normal, expected
behavior.

Thanks,

John
 
Hi John,
If you make this simple repro later, please post it on the NG,
I'll be glad to test it for you, thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" shouldbe removed before
sending, Thanks!

--------------------
| From: "John" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| References: <KfE8b.330349$Oz4.120654@rwcrnsc54>
<[email protected]> <Tsi9b.464210$uu5.80493@sccrnsc04>
<[email protected]>
| Subject: Re: VS .NET Enterprise Architect 2002 or 2003 ?
| Lines: 29
| 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: <2xI9b.366894$Oz4.144454@rwcrnsc54>
| NNTP-Posting-Host: 12.206.145.32
| X-Complaints-To: (e-mail address removed)
| X-Trace: rwcrnsc54 1063736510 12.206.145.32 (Tue, 16 Sep 2003 18:21:50
GMT)
| NNTP-Posting-Date: Tue, 16 Sep 2003 18:21:50 GMT
| Organization: Comcast Online
| Date: Tue, 16 Sep 2003 18:21:50 GMT
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!n
ewspeer1-gui.server.ntli.net!ntli.net!peer01.cox.net!peer02.cox.net!cox.net!
newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas
-nf1!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!wn13feed!worldnet.att.net!
204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52358
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| I don't think so. I believe the person I'm working with on this has tried
| that as a comparison already.
|
| I know that from other windows apps I've built, that is normal, expected
| behavior.
|
| Thanks,
|
| John
|
| | > Hello,
| >
| > > Thanks for the info on the offer.
| > >
| > > Yes. A backtab is a shift+tab. We are using VS .NET 2002.
| >
| > Does that even occur in a blank project with a combobox and some
buttons?
| >
| > --
| > Herfried K. Wagner
| > MVP · VB Classic, VB.NET
| > http://www.mvps.org/dotnet
| >
| >
|
|
|
 
Hi Ying-Shen,

In an email directly to you a few days ago, I sent you 2 zip files that had
an example of the problem in them. Did you receive them and get a chance to
look at them ?

John

Ying-Shen Yu said:
Hi John,
If you make this simple repro later, please post it on the NG,
I'll be glad to test it for you, thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" shouldbe removed before
sending, Thanks!

--------------------
| From: "John" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| References: <KfE8b.330349$Oz4.120654@rwcrnsc54>
<[email protected]> <Tsi9b.464210$uu5.80493@sccrnsc04>
<[email protected]>
| Subject: Re: VS .NET Enterprise Architect 2002 or 2003 ?
| Lines: 29
| 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: <2xI9b.366894$Oz4.144454@rwcrnsc54>
| NNTP-Posting-Host: 12.206.145.32
| X-Complaints-To: (e-mail address removed)
| X-Trace: rwcrnsc54 1063736510 12.206.145.32 (Tue, 16 Sep 2003 18:21:50
GMT)
| NNTP-Posting-Date: Tue, 16 Sep 2003 18:21:50 GMT
| Organization: Comcast Online
| Date: Tue, 16 Sep 2003 18:21:50 GMT
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newspeer1-gui.server.ntli.net!ntli.net!peer01.cox.net!peer02.cox.net!cox.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!elnk-pas
-nf1!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!wn13feed!worldnet.att.ne
t!
204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52358
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| I don't think so. I believe the person I'm working with on this has tried
| that as a comparison already.
|
| I know that from other windows apps I've built, that is normal, expected
| behavior.
|
| Thanks,
|
| John
|
| | > Hello,
| >
| > > Thanks for the info on the offer.
| > >
| > > Yes. A backtab is a shift+tab. We are using VS .NET 2002.
| >
| > Does that even occur in a blank project with a combobox and some
buttons?
| >
| > --
| > Herfried K. Wagner
| > MVP · VB Classic, VB.NET
| > http://www.mvps.org/dotnet
| >
| >
|
|
|
 
Hi John,

Ying-Shen is OOF for vacation. I'm his backup, Duke Sun. Could you please
resend the sample to me? Sorry for the inconvinience for you.

Mail: (e-mail address removed)

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi John,

Thank you for your sample.

I have tested your code on my side (Window XP + Framework SDK 1.1 + VS .NET
2003). So far I can't reproduce the issue on my side.

Anyway, you can workaround the issue by overrideing the function
ProcessTabKey for the control as the following:

protected override bool ProcessTabKey(bool forward)
{
bool useActiveControl = false;

if (forward)
{
// Determine if we are the maximum tab index
foreach(Control control in this.Controls)
{
if (control.TabIndex > this.ActiveControl.TabIndex)
{
// There is a control within the user control with a
// larger tab index, so use the active control
useActiveControl = true;
break;
}
}
}
else
{
// Determine if we are the minimum tab index
foreach(Control control in this.Controls)
{
if (control.TabIndex < this.ActiveControl.TabIndex)
{
// There is a control within the user control with a
// smaller tab index, so use the active control
useActiveControl = true;
break;
}
}
}

Control controlContext = useActiveControl ? this : this.Parent;
Control currentControl = useActiveControl ? this.ActiveControl : this;
return controlContext.SelectNextControl(currentControl, forward, true,
true, false);
}


Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top