If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
double underline textbox
how can I apply a double underline for the text in a textbox, besides
dragging a line (twice) from the toolbox? |
#2
|
|||
|
|||
double underline textbox
You can use a little code in the On Format event of the report section
containing the text box to draw lines: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Dim lngY1 As Long Dim lngX1 As Long Dim intXLength As Integer Dim intYSpace As Integer lngX1 = Me.txtBoxToDoubleUnderline.Left intXLength = Me.txtBoxToDoubleUnderline.Width intYSpace = 20 lngY1 = Me.txtBoxToDoubleUnderline.Top + Me.txtBoxToDoubleUnderline.Height Me.Line (lngX1, lngY1)-Step(intXLength, 0) Me.Line (lngX1, lngY1 + intYSpace)-Step(intXLength, 0) End Sub -- Duane Hookom Microsoft Access MVP "gator" wrote: how can I apply a double underline for the text in a textbox, besides dragging a line (twice) from the toolbox? |
Thread Tools | |
Display Modes | |
|
|