On Friday 08 November 2013 17:19:59 Dennis wrote: > Resend using the correct email address > > Dennis Poon wrote: > > My knowledge in this matter is low so just ignore me if I am saying > > something stupid. > > > > Can future unit contains a class variable e.g. > > > > Unit Strings; > > Type > > TStrings=class; > > TStringsClass = class of TStrings; > > > > > > var > > DefaultStringsClass : TStringsClass = TStrings; > > > > ------------ > > > > In user's project code: > > > > Program HellowWorld; > > > > begin > > Strings.DefaultClass := TUTFStrings; > > > > //in all MSE units, all TStrings instances are created using > > DefaultClass.Create; > > //that way, the users' desired TStrings Class will be created. > > "MSE units" means MSEgui units or MSElang RTL?
Martin ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

