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.

Centura / Gupta: Problem mit hWndForm

Empfohlene Antworten

So. Habe mal wieder ein neues Problem im Team Developer.

Folgendes:

Meine Tabellenklasse cTBL_ForeignKey hat eine Methode __OpenMyDialog, die wie folgt aussieht:

Function: __OpenMyDialog

Description: Öffnen des zugeordneten Dialogs.

Returns

Parameters

Static Variables

Local variables

Actions

Call SalModalDialog( m_sDialog, hWndForm )

Es wird als Owner hWndForm übergeben, was ja die Tabelle selber sein müsste (Den Tabellennamen kann ich nicht angeben, da ich mich ja in einer Klasse befinde) .

Die Tabelle liegt auf einem Form Window, das innerhalb eines MDI Windows geöffnet wird.

Wenn ich jetzt innerhalb dieses Dialogs SalGetItemNameX( SalParentWindow( hWndForm ) ) ausführe, bekomme ich immer den Namen des MDIs zurückgegeben und nicht den der Tabelle. Genauer gesagt bräuchte ich das Handle der Tabelle, um eine Message an diese schicken zu können. Wie komme ich da aber jetzt von meinem Dialog ohne Parameter ran? Ich wäre für jeden Rat / Tipp dankbar.

Ach ja, ich verwende den Team Developer 4.2

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.