Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB.Net MDI-Anwendung

Empfohlene Antworten

Veröffentlicht

Hallo ich habe ein kleines Problem. Und zwar habe ich eine MDI-Anwendung und würde gerne eine Abfrage starten, ob ein gewisses Fenster geöffnet ist.

Ich habe gelesen, dass die MDI-Childs in einem Array verwaltet werden. Kann ich dieses Array auf Übereinstimmung mit einer Zeichenfolge durchsuschen?

Oder habt ihr eine Idee, wie das zu machen ist?

habe nämlich schon viel darüber geoogelt, wie ein aktiviertes fenster zu identifizieren ist. Aber in meinem Fall, muss dieses Fenster nicht aktiviert sein.

Tja, im Prinzip hast du dir die Frage schon selbst beantwortet...

Dim MdiClient As System.Windows.Forms.Form

For Each MdiClient In Me.MdiChildren

If (MdiClient.Name = "[FensterName]") Then

DoSomething()

End If

Next

Gruß

Nias

habe es endlich mal ausprobiert, vielen dank! funktioniert tadellos!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.