By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

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

P: n/a
ari
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
Share this Question
Share on Google+
2 Replies


P: n/a
this is because you must have used html instead of vb sript

Mar 26 '06 #2

P: n/a
ari
no - this is a purely windows vb.net application - not vb script or
html.

Mar 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.