Method Community

 

Bold text

Last post 12-09-2014 1:42 PM by Method_Justin. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-09-2014 1:22 PM

    Bold text

    Private Sub OnBeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)
    Dim amount As String = Microsoft.VisualBasic.Format(((SUMTotalAmount.Summary.GetResult - 82)), "$0.00")
    Dim renewalDate as String = RenewalDeadline.text
    Dim Totalamount As String = Microsoft.VisualBasic.Format(((SUMTotalAmount.Summary.GetResult - 82))*.08625 +(SUMTotalAmount.Summary.GetResult - 82), "$0.00")

    ctype(sender,xrLabel).text = "YES - Renew BEFORE " + renewalDate + " and PREPAY for the entire season:" + Environment.NewLine + "Annual Cost = " + amount + " plus sales tax = " + Totalamount

    End Sub

    What do I do to make the "totalamount" bold font

  • 12-09-2014 1:42 PM In reply to

    Re: Bold text

    Answer

    Hi Marcelo,

    You cannot make a portion of a Label bold while keeping the rest of the label non-bold, you can only set font attributes across the entire label.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
Page 1 of 1 (2 items)