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.

ON LOAD wird bei den Formularen nicht ausgeführt bei VB.NET

Empfohlene Antworten

Veröffentlicht

Hy Leute,

ich hab ein Problem. Ich habe ein Formular erstellt und öffne es mit folgender anweisung:

dim frmAnlieferung as new anlieferung

frmanlieferung.showdialog

dann wird eine Instanz des Fensters erstellt und angezeigt. Allerdings wird das OnLoad Event nicht abgearbeitet.

Wer weiß hilfe!

  • Autor

Hallo,

das ist auch meine Wissensstand, aber OnLoad wird weder bei der instanzierung noch beim showdialog ausgeführt!

Ist es vielleicht ein Problem mit dem Formularnamen. Die Formular Klasse heißt Anleiferungen und ich instanziere mit dem namen frmAnlieferungen.

In der Formularklasse Anlieferungen heißt das Event aber: Anlieferung_Load(....)

Vielleicht macht das etwas aus. Habs zwar auch schon probiert, daß ich der Instanz den gleichen Namen wie der Klasse gegeben habe, hat aber auch nichts geändert.

Chiacomo

  • Autor

Hy Leute,

jetzt weiß ichs. Bei ".showDialog" wird anscheinend das OnLoad Events nicht ausgeführt. Wenn ichs mit ".show" aufrufe, dann funktionierts. Was mich jetzt zu der Frage bringt, wie die verhindere, daß mehrere Instanzen eines Formulars geöffnet werden.

Chiacomo

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.