Skip to content

QuickReports – no settitle method?

Forums Forums SIMPOL Programming QuickReports – no settitle method?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #229
    JD Kromkowski
    Participant

    qr =@ quickreport1.new(outputtarget=QR_OUTPUTWINDOW, title=sReportTitle, pagefont=font, error=e) This creates object and establishes a title. I’d like to set the title based on various where, select and order clauses. But there appears no way to do that (except of course to create the qr object after all of the (where, select and orderclauses are established)

    #2007
    Michael
    Keymaster

    On 14/12/2012 16:30, kromkowski wrote:
    > qr =@ quickreport1.new(outputtarget=QR_OUTPUTWINDOW, title=sReportTitle,
    > pagefont=font, error=e)
    >
    > This creates object and establishes a title.
    >
    > I'd like to set the title based on various where, select and order
    > clauses. But there appears no way to do that (except of course to create
    > the qr object after all of the (where, select and orderclauses are
    > established)
    >

    Easy enough, just use:
    qr.title = "My Title"

    The title property is not read-only, you can just assign values to it.

    Ciao, Neil

    #2014
    JD Kromkowski
    Participant

    Great.

    Is this something that I should have been able to know (apart from
    trying it – e.g. should one just always assume that if there is no
    method to set a property, then the property is not read-only?)

    JDK

    On 12/17/2012 11:40 AM, Neil Robinson wrote:
    > On 14/12/2012 16:30, kromkowski wrote:
    >> qr =@ quickreport1.new(outputtarget=QR_OUTPUTWINDOW, title=sReportTitle,
    >> pagefont=font, error=e)
    >>
    >> This creates object and establishes a title.
    >>
    >> I'd like to set the title based on various where, select and order
    >> clauses. But there appears no way to do that (except of course to create
    >> the qr object after all of the (where, select and orderclauses are
    >> established)
    >>
    >
    > Easy enough, just use:
    > qr.title = "My Title"
    >
    > The title property is not read-only, you can just assign values to it.
    >
    > Ciao, Neil
    >

    #2018
    Michael
    Keymaster

    On 17/12/2012 18:45, kromkowski wrote:
    > Great.
    >
    > Is this something that I should have been able to know (apart from
    > trying it – e.g. should one just always assume that if there is no
    > method to set a property, then the property is not read-only?)

    Generally speaking, in SIMPOL language based types, the properties are not read-only, but if they are, then you will normally find
    a method to set the value.

    Ciao, Neil

    > JDK
    >
    >
    > On 12/17/2012 11:40 AM, Neil Robinson wrote:
    >> On 14/12/2012 16:30, kromkowski wrote:
    >>> qr =@ quickreport1.new(outputtarget=QR_OUTPUTWINDOW, title=sReportTitle,
    >>> pagefont=font, error=e)
    >>>
    >>> This creates object and establishes a title.
    >>>
    >>> I'd like to set the title based on various where, select and order
    >>> clauses. But there appears no way to do that (except of course to create
    >>> the qr object after all of the (where, select and orderclauses are
    >>> established)
    >>>
    >>
    >> Easy enough, just use:
    >> qr.title = "My Title"
    >>
    >> The title property is not read-only, you can just assign values to it.
    >>
    >> Ciao, Neil
    >>
    >

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.