You are correct (I've translated it from an old procedural code of mine), I'll fix it and resend it
Ido On Fri, Mar 14, 2008 at 3:52 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 14/03/2008, ik <[EMAIL PROTECTED]> wrote: > > For documentation, look for xlib, and for each specific module you > > require you have different documentation. > > > > Ido > > Hi Ido, > > That example doesn't compile because your class is defined as TWindow, > which conflicts with TWindow defined in x.pp > > Simply changing your classl name from TWindow to TMyWindow should do the > trick. > > eg: > > type > TWindow = class > private > display : pDisplay; > RootWindow : TWindow; // <<<---- conficting > CurrentWindow : TWindow; // <<<---- conficting > public > .... > > becomes > > type > TMyWindow = class > private > display : pDisplay; > RootWindow : TWindow; > CurrentWindow : TWindow; > public > ... > > > > > > Regards, > - Graeme - > > > _______________________________________________ > fpGUI - a cross-platform Free Pascal GUI toolkit > http://opensoft.homeip.net/fpgui/ > _______________________________________________ > > > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- http://ik.homelinux.org/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal