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.

Ansprechen des Formulars durch eine Komponente

Empfohlene Antworten

Wie kann ich erstens herrausfinden welchem Formular meine Komponente zu geordnet ist und wie kann ich dann Änderungen an dem Formular durch die Komponente vornehmen ???

:confused:

DrScherzkeks

in Delphi/VB/VBS? oder in was?

delphi ...hat ich aber schon selbst herraus gefunden ...trotzdem danke :cool:

hallo,

mir fallen da mal zwei möglichkeiten ein. zum einen das property Parent zum anderen ebenfalls ein property, nämlich Owner vom typ tcomponent. das könnte dann folgendermassen aussehen:

if (Button3.Parent = Form1) then Self.Width := 100;

bzw.

if (Button3.Owner = Form1) then Self.Width := 100;

hierbei ist zu beachten, dass form der eigentümer (owner) aller componenten ist, welche sich auf ihm befinden, nicht aber gezwungermassen der parent. befindet sich ein button z. b. innerhalb eines panels welches auf einem form ist, so ist das form zwar der owner nicht aber der parent...

mfg

andik

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.