Click to See Complete Forum and Search --> : access controls in MDIChild


mirku
May 16th, 2006, 06:42 AM
(Q1.5) How do I access the active MDI child form?

(A1.5) The TForm::ActiveMDIChild property can be used to access the
active MDI child. This is the same as MDIChildren[0]. If
you're trying to access a specific control on this child form,
be sure to cast the returned TForm pointer appropriately.

i don't understand what "cast the returned TForm pointer" means. can anyone tell me please? i am trying to make a text editor and i'm stuk because i don't know how to access controls in the active MDIChild form. i can access only the last child form opened.

PS : i am working with borland c++ builder 6