Show/Hide buttons in the Toolbar

S

Samuel

Hi

I want to show certain toolbar buttons only when a one type of MDI Child
form is active

What method can be used to achieve that and what events need to be used?

Samuel Shulman
SBS Technologies Ltd
07917 447730
 
C

Cor Ligthert [MVP]

Samuel,

Why not using the Name property?
And than from the MDIparent by instance using the mdichildren collection to
see if it is active.

for each MDIform as form in MDIchildren
etc

Cor
 
S

Samuel

Thanks for your reply,

What events can I use to detect a change in the Active state of a form (I
noticed that the Deactivate event of the form is not raised when another
form becomes active)

Specifically, is there a more global event to monitor the active status from
one location

Thank you,
Samuel
 

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

Top