[gtkada] CONSTRAINT_ERROR

Clark, G L g.l.clark at lmco.com
Wed Jan 23 17:31:33 CET 2002


 
 Thank you Manuel and Preben.  I moved the actual setting of the
radiobuttons and such things that would trigger callbacks to a separate
function and it is working.  
 
  Thanks again,
           George Clark
 

-----Original Message-----
From: manuel.op.de.coul at eon-benelux.com
[mailto:manuel.op.de.coul at eon-benelux.com]
Sent: Wednesday, January 23, 2002 7:47 AM
To: gtkada at lists.act-europe.fr
Subject: Re: [gtkada] CONSTRAINT_ERROR



I was thinking the same. It's easy to forget that the 
parameter of the Initialize procedure is not the same 
as the pointer in the package spec because they have 
the same name and are in the same scope. 
In some cases I copy it inside Initialize to be able 
to call a subprogram in the Callbacks child package. 
Like this 

   My_Dialog_Pkg.My_Dialog := My_Dialog_Access(My_Dialog); 
   -- Now connect callbacks which may execute immediately. 

Manuel 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20020123/ba30845f/attachment.htm 


More information about the gtkada mailing list