insert a circle to a number (1 Viewer)

Mario R. Perez

New member
Local time
Today, 07:26
Joined
May 14, 2020
Messages
19
Hello Group, A client is asking me if I can insert a Black circle where the line is very wide, (see pics), I tried downloading some fonts types , but I was not successful, some function that in event OnPrint makes the graphic.
thanks for advance
 

Attachments

  • f2 - Copy.png
    f2 - Copy.png
    7.4 KB · Views: 16
  • f2.png
    f2.png
    5.1 KB · Views: 17
Are you trying to put a circle on top of a barcode graphic or a barcode font?
 
You can use the Circle method of the report object. In the example below, I have a text box named Eggs with a numeric value. I want to draw a red circle around the value if it is less than 50.

Code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
    If Me.Eggs < 50 Then
        Me.DrawWidth = 30
        Me.Circle Step(Me.Eggs.Left + Me.Eggs.Width / 2, Me.Section(0).Height / 2), _
           Me.Section(0).Height / 2
    End If
End Sub
1737318876522.png
 
You can use the Circle method of the report object. In the example below, I have a text box named Eggs with a numeric value. I want to draw a red circle around the value if it is less than 50.

Code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
    If Me.Eggs < 50 Then
        Me.DrawWidth = 30
        Me.Circle Step(Me.Eggs.Left + Me.Eggs.Width / 2, Me.Section(0).Height / 2), _
           Me.Section(0).Height / 2
    End If
End Sub
View attachment 118101
That's what I need, what would I need to make the circle thicker?, Thanks a lot
 
circle the number #26, this can be 1 to 3 digits
Just making sure... The image you posted looked like it was a graphic, and the approach could be different for a graphic than a simple text. For instance, you may have to know the exact position of #26 if it's a graphic.
 

Users who are viewing this thread

Back
Top Bottom