Jumat, 07 Maret 2014

Re: [belajar-access] Buat Frame/garis batas di report untuk tiap halaman

 

Ini penjelasan dari microsoft (http://msdn.microsoft.com/en-us/library/office/aa221362(v=office.11).aspx)

expression.Line(Step(x1, y1) – Step(x2, y2), color, BF)

expression Required. An expression that returns one of the objects in the Applies To list.

Step A keyword that indicates the starting point coordinates are relative to the current graphics position given by the current settings for the CurrentX and CurrentY properties of the object argument.

x1, y1 Single values indicating the coordinates of the starting point for the line or rectangle. The Scale properties (ScaleMode, ScaleLeft, ScaleTop, ScaleHeight, and ScaleWidth) of the Report object specified by the object argument determine the unit of measure used. If this argument is omitted, the line begins at the position indicated by the CurrentX and CyrrentY properties.

Step A keyword that indicates the end-point coordinates are relative to the line's starting point.

x2, y2 Single values indicating the coordinates of the end point for the line to draw. These arguments are required.

color A Long value indicating the RGB (red-green-blue) color used to draw the line. If this argument is omitted, the value of the ForeColor property is used. You can also use the RGB function or QBColor function to specify the color.

B An option that creates a rectangle by using the coordinates as opposite corners of the rectangle.

F F cannot be used without B. If the B option is used, the F option specifies that the rectangle is filled with the same color used to draw the rectangle. If B is used without F, the rectangle is filled with the color specified by the current settings of the FillColor and BackStyle properties. The default value for the BackStyle property is Normal

--------------------------------------------
On Fri, 7/3/14, him mah <himmah.mlg@gmail.com> wrote:

Subject: Re: [belajar-access] Buat Frame/garis batas di report untuk tiap halaman
To: belajar-access@yahoogroups.com
Date: Friday, 7 March, 2014, 2:47 PM

cuma yang saya bingung itu dari
vbaMe.Line (0,
0)-(ScaleWidth - 30, ScaleHeight - 30), 0, B


"B"
itu maksudnya apa ya?

Pada 7 Maret 2014
08.27, hari yanto <har_i20002000@yahoo.com>
menulis:

Wa'alaikum salam Wr. Wb.

Himmah...,





Coba gunakan script dibawah ini:



Private Sub Report_Page()



Me.Line (0, 0)-(ScaleWidth - 30, ScaleHeight - 30), 0,
B



End Sub



Semoga bisa membantu dan memberi semangat.





Hariyanto (Surabaya)


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
SPAM IS PROHIBITED
.

__,_._,___

Tidak ada komentar:

Posting Komentar