TKSoft-Online

Access-Fenster skalieren PDF Drucken E-Mail
( 1 Vote )
MS-Access Codes - Codeschnipsel MS-Access System und PC-System
  
Freitag, den 25. Januar 2008 um 01:00 Uhr

Problemstellung:

Wie kann ich ein Access-Fenster je nach Auflösung skalieren?

 


Private Declare Function MoveWindow Lib "user32" _
                   (ByVal Hwnd As Long, _
                    ByVal X As Long, _
                    ByVal y As Long, _
                    ByVal nWidth As Long, _
                    ByVal nHeight As Long, _
                    ByVal brepaint As BooleanAs Boolean

Sub AccessFensterSetzen(intModus As Integer)

  Select Case intModus
    Case 1: MoveWindow Application.hWndAccessApp, 10, _
                       10, 640, 480, 1
    Case 2: MoveWindow Application.hWndAccessApp, 10, _
                       10, 800, 600, 1
    Case 3: MoveWindow Application.hWndAccessApp, 10, _
                       10, 1024, 768, 1
  End Select

End Sub

Aufruf:


AccessFensterSetzen 1

Würde das Access-Fenster in der Größe 640x480 skalieren

DatumKlicks
Total2271
Di. 221
Mo. 212
So. 202
Sa. 191
Fr. 182
Mi. 162
Di. 152
Aktualisiert ( Donnerstag, den 01. Juli 2010 um 12:45 Uhr )
 

Kommentar schreiben


Sicherheitscode
Aktualisieren

Login

Latest Comments

Latest Forum Posts

Mehr »

Download Statistik

41 Kategorien
187 Dateien
173416 Downloads