. Net bugs

  • Thread starter Thread starter Sebastian Santacroce
  • Start date Start date
S

Sebastian Santacroce

Hi,
I've noticed a few bugs like with the datetime control
with the checkbox, the checkbox doesn't not work properpy
by code. Setting it to false sometimes does nothing.
As well tab orders seem to change randomly with tab
controls. If you have the same letter as a shortcut on a
button it will only work on one button even if each button
is on seperate tabs.

Is there a fix for these problems? Do we have to get an
upgrade? If so, whats the upgrade cost if you have
VB .net 2002

thanks

Sebastian
 
I've not used the DateTime control so I can't comment on that.

Tab orders do not change randomly. I am currently working on my own
Tabcontrol and found the reason for the changes. They appear in the TabPages
zOrder. To correct the order simply start at the last TabPage and working
towards the first one Bring each control ToFront. This is indeed a bug, but
there is no fix as yet.

The ShortCut key of a control is handled by the Form not the control's
container, so it does not matter if it is in a different container the Form
will only activate one of them. If you want the ShortCut key to activate
different controls based on the current TabPage selection, then change the
Text property of the controls when the TabPage changes.

Private Sub TabControl1_SelectedIndexChanged(...)...
Select Case TabControl1.SelectedIndex
Case 0
Button1.Text = "&Button1"
Button2.Text = "Button2"
Case 1
Button1.Text = "Button1"
Button2.Text = "&Button2"
More Cases as necessary....
End Select
End Sub
 
* "Sebastian Santacroce said:
I've noticed a few bugs like with the datetime control
with the checkbox, the checkbox doesn't not work properpy
by code. Setting it to false sometimes does nothing.
As well tab orders seem to change randomly with tab
controls. If you have the same letter as a shortcut on a
button it will only work on one button even if each button
is on seperate tabs.

I don't have a fix, but notice that by posting your message here people
from Microsoft will (hopefully) read it and maybe fix the bug.

:-)
 
This bug appears in the framework 1.1 and is not VB specific, C#
suffers from it as well, accelerator keys acting on a button with the
same letter only work on the first tab page, if there is a second
button with the same letter on the second tabpage it won't listen.

Very annoying when customers complain about that and you have to tell
it's a windows(.Net) bug, the customer can't imagine something simple
as that is a windows bug.

:-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top