# Re: About Toolbar in MDIForm ... T.K.S

Posted by 大汉堡 on October 12, 1999 at 21:14:10:

In Reply to: About Toolbar in MDIForm ... T.K.S posted by Help on October 12, 1999 at 09:52:14:

: 请问如何使 Toolbar 上的button 状态 可随着 Child form 的切换而转换该状态 EX form1 的 toolbar (in MDIForm) button 1 is disabled , form2 的 toolbar (in MDIForm ) button 2 is disabled 当activeform 由 form1 -> form2 时 如何使 MDIForm 中 的 Toolbar 能切换状态 使其 button 2 is disabled and button1 is enabled ...
: T.k.S
:

我想你的问题只要在两张Form的Activate及DeActivate
事件来做Button的控制即可

Follow Ups: