Re: Line Width Change

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



set the line length by
me.line6.width = me.insidewidth

Although the property sheet shows inches, the width responds to twips (1440
per inch)

Damon

"DDBeards" <DDBeards@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C6D21B78-EF7B-4DED-92A4-3D30A43F85A3@xxxxxxxxxxxxxxxx
Thank you for your input, however the next question is how to convert the
number returned into inches and how to set the line width with that
number.
I have used the GetSystemMetrics(0) which is similar to the numbers
returned
by your example, I just need the next step.

DDbeards

"Damon Heron" wrote:

The following will give you different numbers in twips, based on the
screen
resolution, so I
guess you could use these to "interpret" the screen res.

Private Sub Form_Load()
DoCmd.Maximize
Debug.Print Me.InsideHeight, Me.InsideWidth
Debug.Print Me.WindowHeight, Me.WindowWidth
End Sub

Damon

"DDBeards" <DDBeards@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C1D3017A-53FA-43A2-AE45-C0E4E325ED84@xxxxxxxxxxxxxxxx
I am trying to do the following: First Maximize a window, then Find the
width of the window based on my screen resolution size, and finally set
the
width of Line6 to the grow to the size of the window. Please help.





.



Relevant Pages

  • Re: Line Width Change
    ... guess you could use these to "interpret" the screen res. ... Private Sub Form_Load ... width of the window based on my screen resolution size, ... width of Line6 to the grow to the size of the window. ...
    (microsoft.public.access.formscoding)
  • Re: Line Width Change
    ... "Damon Heron" wrote: ... Private Sub Form_Load ... width of the window based on my screen resolution size, ... width of Line6 to the grow to the size of the window. ...
    (microsoft.public.access.formscoding)
  • RE: Opening a workbook with a specified size?
    ... but if you want to ensure that the window size is ... consistent regardless of the user's display properties (screen resolution) ... Private Sub Workbook_Open ...
    (microsoft.public.excel.programming)
  • Re: Word - dotted line page break?
    ... You have to drag the window. ... I am not sure why they are appearing "every few inches", ... Breaks, and uncheck Widow/Orphan control. ... Ask yourself why, and just accept it, or complain to the company ...
    (comp.sys.mac.system)
  • Re: Word - dotted line page break?
    ... You have to drag the window. ... I am not sure why they are appearing "every few inches", ... So I tried changing the View settings from Normal to Online Layout. ... No margins or fancy, schmancy ...
    (comp.sys.mac.system)