[問題] 請問如何知道 child form 被選取?

看板C_Sharp作者 (阿其)時間16年前 (2009/10/01 11:37), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
我 new 了一個 parent form 並設定為 MDI 現在在 parent form 開了很多個 child form 假如我選了一個 child form 我要如何在我選取的 child form 中 知道 child form 是被選取的? PS. 我並不是要在 parent form 中來知道那個 child form 被選取 而是要在 child form 中知道 我試過在 child form 使用 this->Activate() 但這個指令並不是我想要的. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.124.69.118

10/01 14:30, , 1F
this.MdiParent.ActiveMdiChild...
10/01 14:30, 1F
文章代碼(AID): #1An2Fahf (C_Sharp)