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.

Delphi: Scrollbar-Breite

Empfohlene Antworten

Hi,

so wie es aussieht, wird hier nicht mehr so viel mit Delphi programmiert. Oder man hat mit VB(A) viel mehr Probleme, als mit Delphi... :D :D :D

Jdenfalls hab ich ma wieder ein Problem.

Wie kann man rausfinden, wie breit ein Scrollbalken in einem DBGrid ist?

Du kannst die Dimensionen der Windows standard Scrollbars abfragen, ich denke nicht, das ein DBGrid andere verwendet...

GetSystemMetrics(Index);

wobei Index einer folgender Werte sein kann:



SM_CXHSCROLL	Width of arrow bitmap on horizontal scroll bar

SM_CXHTHUMB	Width of scroll box on horizontal scroll bar. In version 4.0 or later, this value retrieves the width a scroll bar that has a page size of zero. 

SM_CXVSCROLL	Width of arrow bitmap on vertical scroll bar

SM_CYHSCROLL	Height of arrow bitmap on horizontal scroll bar

SM_CYVSCROLL	Height of arrow bitmap on vertical scroll bar

SM_CYVTHUMB	Height of scroll box on vertical scroll bar. In version 4.0 or later, this value retrieves the height of a scroll bar that has a page size of zero.



zurückgeliefert wird ein Integer Wert.

Danke dir, werde das gleich morgen ausprobieren.

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.