04. juli 2003 - 11:19Der er
11 kommentarer og 1 løsning
Fastlåse placering og størrelse af hovedform.
Hvor og hvordan fastsætter man en forms størrelse så den ikke er justerbar og hvordan fatsætter man formens skærmplacering så den altid starter op samme sted?
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
You need to download the file clFormWindows.Bas and then make a modul where you could use bottom example and modify it a bit.
You would then call this from the form Open event
MoveToTopRight Me
Public Sub MoveToTopRight(ByVal strFormName As String) Dim fwForm As New clFormWindow Const SMALL_OFFSET = 5 'Used to position window slightly _ away from the Access MDI window border _ in order to avoid appearance of the Access _ window vertical scroll bar. With fwForm .hwnd = Forms(strFormName).hwnd .Top = .Parent.Top .Left = .Parent.Width - .Width - SMALL_OFFSET End With Set fwForm = Nothing End Sub
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.