Forums › Forums › SIMPOL Programming › QuickReports – no settitle method?
- This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by Michael.
- AuthorPosts
- December 14, 2012 at 4:30 pm #229JD KromkowskiParticipant
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)
December 17, 2012 at 4:40 pm #2007MichaelKeymasterOn 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
December 17, 2012 at 6:45 pm #2014JD KromkowskiParticipantGreat.
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
>December 28, 2012 at 4:06 pm #2018MichaelKeymasterOn 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
>>
> - AuthorPosts
- You must be logged in to reply to this topic.