Re: Line Width Change
- From: "Damon Heron" <damon_327@xxxxxxxxxxx>
- Date: Thu, 19 Feb 2009 08:45:14 -0800
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.
.
- Follow-Ups:
- Re: Line Width Change
- From: DDBeards
- Re: Line Width Change
- References:
- Line Width Change
- From: DDBeards
- Re: Line Width Change
- From: Damon Heron
- Re: Line Width Change
- From: DDBeards
- Line Width Change
- Prev by Date: Re: Strange Runtime Error
- Next by Date: International Number Problems
- Previous by thread: Re: Line Width Change
- Next by thread: Re: Line Width Change
- Index(es):
Relevant Pages
|