Op 2010-08-30 13:43, Frank Church het geskryf: > > Is there a way to pass the enum so that the type will not matter, so > that the type can be determined at runtime, so that it is not necessary > to create a new function for every type?
I don't know... you might have to create a few overloaded functions with the various enum types. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal