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/SAL - AcitveX-Control hinzufügen

Empfohlene Antworten

Hallo zusammen,

ich such mich noch kaputt... also frag ich lieber hier mal.

Hab ein großes kleines Problem.

Ich arbeite mit Centura Team Developer 2000. Habe also keine änderbaren Background Text's bzw. Labels zur Verfügung. Zumindest nicht mit den Centura-Standard-Controls. Also hab ich mir das Microsoft Forms Label (AcitveX-Control) geschnappt und arbeite damit. Nun kommts aber leider drauf an: ich muss so ein Label dynamisch in ein Fenster einsetzen. Problem bei der Sache ist, dass ich kein Plan hab wie ich das machen soll.

Es gibt zwar die schöne Funktion SalActiveXCreate doch versteh ich die Parameter so ziemlich gar nicht bzw. mach da was falsch.

bOK = SalActiveXCreate( hwndCntrCtrl, strBytes )

Parameters

hwndCntrCtrl - Window Handle. The ActiveX container control.

strBytes - String. The OLE progID of the class (such as Excel.Sheet.8).

Return value

bOK is TRUE if the function succeeds and FALSE if it fails.

Example

Data Field: df1

ActiveX: ax1

Call SalActiveXCreate( ax1, df1 )

Meine Umsetzung dieser Hilfe war:


Function: fAddLabel

Local Variables:

  Window Handle: hWnd

Action:

  If SalActiveXCreate( hWnd, "MSForms.Label" )

    ! Weiter im Text...

  Else

    ! Fehlernaricht

Das ganze will einfach nicht funktionieren.

Zudem weiß ich eben nicht ob die Parameter INPUT-Parameter sind oder OUTPUT...

Kann mir jemand von euch helfen?

Schön Gruß

Matscher

Hi,

will dir ja nicht vor den Kopf stoßen. Aber eigentlich macht man für eine total andere Frage ein neues Thema auf...

Kann dir aber auch nicht wirklich helfen. Hier funktioniert das Oracle 10g ganz prima.

So... zurück... kann mir jemand helfen wie das funktionieren kann mit dem ActiveX-Control??? Falls jemand nen Vorschlag hat (zum Beispiel wie man dass in anderen Programmiersprachen macht), bitte posten!

Schön Gruß!

Matscher

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.