G
Guest
Hi,
I'm just starting to program with VB.NET 2003 on XP Pro SP1, and I've run
into what I think is some strange behavior. In the program I have a Main
form, which is MDIContainer. It then opens an MDIChild form, wich is a list
of names. The list form then opens an edit form to edit the name and sets it
as an MDIChid of Main using child.MDIParent = Me.ParentForm. Now we're
getting to the strange part: if both forms have the same shortcut key, let's
say Alt-E assigned to controls, pressing the shortcut repeatedly moves the
cursor from one form to the other, without activating the form. I could
accidentally be typing in the list form, although the editing form is the
active form.
Has anyone else run into this or have any idea how to prevent it from
happening?
I'm just starting to program with VB.NET 2003 on XP Pro SP1, and I've run
into what I think is some strange behavior. In the program I have a Main
form, which is MDIContainer. It then opens an MDIChild form, wich is a list
of names. The list form then opens an edit form to edit the name and sets it
as an MDIChid of Main using child.MDIParent = Me.ParentForm. Now we're
getting to the strange part: if both forms have the same shortcut key, let's
say Alt-E assigned to controls, pressing the shortcut repeatedly moves the
cursor from one form to the other, without activating the form. I could
accidentally be typing in the list form, although the editing form is the
active form.
Has anyone else run into this or have any idea how to prevent it from
happening?