> It works but it aint pretty - surely there's an easier way of > getting at stuff on the form? If I try to declare the > callback function anywhere where it would 'naturally' get at > stuff on the form the compiler complains that a 'variable required'.
I agree, it is awkward but this is the right way to do it. As to the slowness, show us the code and we could probally pick it apart for you. I see you are calling .somefunction, and I would bet dollars for doughnuts the problem is in the comparison Funtion, as the actual sort routine is very tight, and you can get really good results Sorting on simple types. ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

