On Sat, 18 Mar 2006 16:59:48 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:

> 
> 
> On Sat, 18 Mar 2006, Mattias Gaertner wrote:
> 
> > On Sat, 18 Mar 2006 10:44:40 +0200
> > "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> > 
> > > I have created an update, which fixes a "List out of bounds" error.
> > > The lastest code can be downloaded from the website mentioned below,
> > > or from my SubVersion server.
> > > 
> > > svn co svn://opensoft.homeip.net/ProcedureList/trunk ProcedureList
> > 
> > There is
> > 
> >     frm.ShowModal;
> >     { Couldn't get ModalResult to work }
> >     if frm.Tag = 1 then    // we need to jump
> > 
> > You set ModalResult in the FormCreate, which is wrong. ModalResult
> > should be set when the user presses the Ok button or the Cancel button.
> > It is automatically set when closing the form.
> 
> What's more, setting modalresult actually closes the form.
> (well, it should)

It does.
ShowModal inits it to mrNone, that's why setting it in the FormCreate has no
effect.

Mattias



> 
> Micihael.
> 
> > 
> > 
> > Mattias
> > 
> > 
> > > 
> > > Graeme.
> > > 
> > > 
> > > On 27/02/06, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> > > > Hi
> > > >
> > > > The procedure list enables you to view a list of Free Pascal /
> > > > Lazarus procedures in the current unit and quickly jump to the
> > > > implementation of a given procedure. Include files are also
> > > > supported. This is the first of a few GExpert addons I want to
> > > > convert to Lazarus.
> > > >
> > > > For more information and to download the source have a look at:
> > > >    http://opensoft.homeip.net/lazarus/procedurelist.html
> > > >
> > > > Please give me some feedback if you experience any problems.
> > > >
> > > > Regards,
> > > >   - Graeme -
> > > >
> > > 
> > > 
> > > --
> > > There's no place like 127.0.0.1
> > > 
> > > _________________________________________________________________
> > >      To unsubscribe: mail [EMAIL PROTECTED] with
> > >                 "unsubscribe" as the Subject
> > >    archives at http://www.lazarus.freepascal.org/mailarchives
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail [EMAIL PROTECTED] with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> > 
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to