467,917 Members | 1,409 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,917 developers. It's quick & easy.

MDI forms - pressing on toolbar doesn't start the enter or activate event

I have an MDI form with a listview and a toolbar.

I have 2 instances of this form running at once - lets call them A and
B. If I am in A, and I click on the listview control in B, then B's
enter event is triggered (but not its activated)

However, if I am in A, and I click on a button on the toolbar in B,
then neither the activate or the enter event is triggered, even though
B's toolbar event is triggered. Even more curious, A remains the active
window - if I then use the up/down buttons, then the selected row of A
changes, when I would have expected B's to change.

Does anyone have an explanation or(even better) workaround? I really
need the enter event to be triggered. (My application is far more
complex than this - I am talking about dozens of forms, so putting
extra code on every forms toolbar is a problem.)

I am using microsoft.net framework 1.1, visual studio 7.1.3088

Mar 26 '06 #1
  • viewed: 1313
2 Replies
this is because you must have used html instead of vb sript

Mar 26 '06 #2
no - this is a purely windows vb.net application - not vb script or

Mar 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Sandra Castellanos | last post: by
2 posts views Thread by Cindy | last post: by
3 posts views Thread by Simon Verona | last post: by
3 posts views Thread by geskerrett | last post: by
4 posts views Thread by teejayem | last post: by
reply views Thread by Rainer Queck | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.