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. TCollection = class property Count: Integer; property Ite

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

2011-02-03 Thread Anthony Walter
Have you used List, Dictionary, or IEnumerable in C# much? How about EventHandler? They are pretty useful. Even in Delphi, TList, TObjectList, and TCompare are more than handy IMO. No longer do I have to write "TMyObject(FList[I])" all over the place. When using "if FList.IndexOf(Pointer(FInstance

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. TCollection = class property Count: Integer; property Items[Index: Integer]: T; end; TStatusPanels = c

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: TCollection = class property Count: Integer; property Items[Index: Integer]: T; end; TStatusPanels = class(TCollection); rather than ... generic TCollection = class // no constr

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
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 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. Rega