[Lazarus] LazReport Band.name patch

Giuliano Colla giuliano.colla at fastwebnet.it
Mon Feb 25 20:36:22 CET 2013


On 02/24/2013 09:19 PM, Jesus Reyes wrote:
>
> --- El jue 21-feb-13, Giuliano Colla<giuliano.colla at fastwebnet.it>  escribió:
>
>> I've tested a different approach, i.e. not *setting* the
>> Band name, but just *getting* Band name from BandView, (a
>> Name property in TfrBand which just returns the name of the
>> corresponding Bandview, i.e. View.Name). It doesn't produce
>> side effects, because when the BandView name is set the
>> corresponding Band object doesn't yet exist.
>>
>> There are two solutions:
>> 1) I send you the new patch.
>> 2) We leave things as they are, but the examples and the
>> documentation are modified to make it clear that
>> TfrBand.Name is always empty, and that one must use
>> TfrBand.View.Name to obtain a meaningful information.
>>
>> You're the boss, so it's up to you to decide.
>>
>> Giuliano
>>
> Yes, please send the patch.
>
> Jesus Reyes A.

Here is it.

Giuliano

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lr_class.diff
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130225/9bdcd891/attachment-0003.bin>


More information about the Lazarus mailing list