----- Original Message ----- From: "C Western" <[EMAIL PROTECTED]>
To: "FPC developers' list" <fpc-devel@lists.freepascal.org>
Sent: Saturday, March 29, 2008 11:04 AM
Subject: Re: [fpc-devel] Important: Call for testing.


There also seems to be a problem with fixing up references to other
components while reading - TLabel.FocusControl seems to be one of the
things that is tripping this up. Local unresolved references are being
silently discarded, but I think should be added to the global list. The
attached patch fixes it for my application, but might not be the best
general fix.

Colin

This patch fixes issue 11060, however, while trying to open project's compiler options dialog I get this:

TApplication.HandleException Cannot focus a disabled or invisible window
 Stack trace:
$0041910F TCUSTOMFORM__SETACTIVECONTROL, line 1264 of ../include/customform.i
nc
$004843DB SETORDPROP, line 938 of E:/fpcsvn/fpcmirror/rtl/objpas/typinfo.pp $00484754 SETOBJECTPROP, line 1096 of E:/fpcsvn/fpcmirror/rtl/objpas/typinfo
..pp
$004657BE TUNRESOLVEDREFERENCE__RESOLVE, line 233 of E:/fpcsvn/fpcmirror/rtl
/objpas/classes/resref.inc
$0046596A TUNRESOLVEDINSTANCE__RESOLVEREFERENCES, line 287 of E:/fpcsvn/fpcm
irror/rtl/objpas/classes/resref.inc
$00465DD4 TRESOLVEREFERENCEVISITOR__VISIT, line 453 of E:/fpcsvn/fpcmirror/r
tl/objpas/classes/resref.inc
$00465416 TLINKEDLIST__FOREACH, line 92 of E:/fpcsvn/fpcmirror/rtl/objpas/cl
asses/sllist.inc
$00465654 VISITRESOLVELIST, line 131 of E:/fpcsvn/fpcmirror/rtl/objpas/class
es/resref.inc
$004656DD GLOBALFIXUPREFERENCES, line 151 of E:/fpcsvn/fpcmirror/rtl/objpas/
classes/resref.inc
$0046C6DA TREADER__READROOTCOMPONENT, line 1299 of E:/fpcsvn/fpcmirror/rtl/o
bjpas/classes/reader.inc
 $004BDCAD  INITCOMPONENT,  line 2746 of lresources.pp
 $004BDB0F  INITLAZRESOURCECOMPONENT,  line 2766 of lresources.pp
 $004B8DF7  INITRESOURCECOMPONENT,  line 542 of lresources.pp
 $0041957D  TCUSTOMFORM__CREATE,  line 1377 of ./include/customform.inc
 $0041AE26  TFORM__CREATE,  line 2115 of ./include/customform.inc
 $007668BA  TFRMCOMPILEROPTIONS__CREATE,  line 294 of compileroptionsdlg.pp
$0042F612 TMAINIDE__MNUPROJECTCOMPILERSETTINGSCLICKED, line 3516 of main.pp

Other dialogs seems to be fine though.

Jesus Reyes A.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to