Hi Graeme, Indeed, by changing the registration it works. But as tiOPF v3 was made for D2009/2010, shouldn't it be changed in the framework itself instead of in my copy of the framework?
Op 29/06/2010 15:22, Graeme Geldenhuys schreef: > Op 2010-06-29 14:16, Werner Schoenmaekers het geskryf: >> >> Did anyone manage to run this sample application with tiOPF3 and D2010? > > I don't have either of those (tiOPF3 or D2010) or DevX components, but I > took a look at the code anyway. The mediator for TcxMaskEdit is being > registered, but I'm pretty sure, not for the string types used by D2010 and > your project. > > See line 449 in tiDeMediators.pas: > > gMediatorManager.RegisterMediator(TticxMaskEditMediatorView, TtiObject, > [tkString,tkLString,tkInteger,tkFloat]); > > > I think you might have to add tkUString (unicode string), tkAString (ansi > string) and tkWString (wide string) in that line as well. Maybe try and > change the above line to look like the one below. > > eg > > gMediatorManager.RegisterMediator(TticxMaskEditMediatorView, TtiObject, > [tkSString,tkAString,tkLString,tkWString,tkUString,tkInteger,tkFloat]); > > > I can't test it, but I it should solve your problem. > > Regards, > - Graeme - > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ tiOPF-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tiopf-talk
