Re: [fpc-pascal] Re: New multicast event implementation

2011-02-03 Thread Anthony Walter
Have you used ListT, DictionaryK,V, or IEnumerableT in C# much? How about EventHandlerT? They are pretty useful. Even in Delphi, TListT, TObjectListT, and TCompareT are more than handy IMO. No longer do I have to write TMyObject(FList[I]) all over the place. When using if

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-03 Thread Sven Barth
Am 02.02.2011 15:40, schrieb Anthony Walter: By the way, does Free Pascal generic support generic constraints yet? Also, this format seems more natural to me: They aren't implemented currently, but I hope they will at some time. TCollectionT: TCollectionItem = class property Count:

[fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread Ben
Op 2011-02-02 03:45, Anthony Walter het geskryf: Hello all. I implemented a new type of multicast events in Delphi based I've always liked the idea of supporting multiple event handlers per event. Java, Qt, C# has had it for years. BTW: The print function (printer friendly version) at the

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread Anthony Walter
Yeah, I just added the code highlighter, which build the highlights using javascript. I set to display: none while the page loads which isn't effecting the print version. The workaround is that you can print the code blocks by clicking the print icon in each code section. I'll fix it later.

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread Anthony Walter
Just an update ... I fixed the print feature at the bottom. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread michael . vancanneyt
On Wed, 2 Feb 2011, Anthony Walter wrote: Yeah, I just added the code highlighter, which build the highlights using javascript. I set to display: none while the page loads which isn't effecting the print version. The workaround is that you can print the code blocks by clicking the print icon

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread Anthony Walter
By the way, does Free Pascal generic support generic constraints yet? Also, this format seems more natural to me: TCollectionT: TCollectionItem = class property Count: Integer; property Items[Index: Integer]: T; end; TStatusPanels = class(TCollectionTStatusPanel); rather than ... generic

Re: [fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread michael . vancanneyt
On Wed, 2 Feb 2011, Anthony Walter wrote: By the way, does Free Pascal generic support generic constraints yet? Also, this format seems more natural to me: No, it does not. Michael. TCollectionT: TCollectionItem = class property Count: Integer; property Items[Index: Integer]: T; end;

[fpc-pascal] Re: New multicast event implementation

2011-02-02 Thread Ben
Op 2011-02-02 15:55, Anthony Walter het geskryf: isn't effecting the print version. The workaround is that you can print the code blocks by clicking the print icon in each code section. I'll fix it later. I simply used the Browser's Print menu option, instead of the printer friendly webpage