Hallo,
habe eine MDI-Anwendung, in welcher jedes MDI-Child ein eigenes Menü hat, und jeweils eine oder mehrere Menügruppen im Hauptformular ersetzt. Soweit alles in Ordnung. Sind aber mehrere MDI-Fenster geöffnet, und schließt man ein MDI-Fenster, ist der Schließ-Button [x] des aktuellen MDI-Fensters "grayed", d.h. er wird inaktiv angezeigt. Das Fenster kann aber geschlossen werden. Entfernt man das Menü im MDI-Child, arbeitet alles wieder normal. Doch das kann's ja nicht sein. Borland weist ja ausdrücklich darauf hin, daß über den GroupIndex gesteuert werden kann, wie die Menüs angeordnet und ggf. auch ersetzt werden können. Hatte jemand vielleicht schon das gleiche Problem, bzw. kennt jemand dafür eine Lösung? Hab schon alles mögliche ausprobiert aber leider ohne Erfolg.
Otto Herdegen
habe eine MDI-Anwendung, in welcher jedes MDI-Child ein eigenes Menü hat, und jeweils eine oder mehrere Menügruppen im Hauptformular ersetzt. Soweit alles in Ordnung. Sind aber mehrere MDI-Fenster geöffnet, und schließt man ein MDI-Fenster, ist der Schließ-Button [x] des aktuellen MDI-Fensters "grayed", d.h. er wird inaktiv angezeigt. Das Fenster kann aber geschlossen werden. Entfernt man das Menü im MDI-Child, arbeitet alles wieder normal. Doch das kann's ja nicht sein. Borland weist ja ausdrücklich darauf hin, daß über den GroupIndex gesteuert werden kann, wie die Menüs angeordnet und ggf. auch ersetzt werden können. Hatte jemand vielleicht schon das gleiche Problem, bzw. kennt jemand dafür eine Lösung? Hab schon alles mögliche ausprobiert aber leider ohne Erfolg.
Otto Herdegen
Comment