[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Problem with listbox
From: |
Andrew Ford |
Subject: |
Re: [paragui-users] Problem with listbox |
Date: |
Mon, 27 May 2002 12:33:21 -0700 (PDT) |
You might also want to see what happens without
RunModal(), I had a few problems with it in my app.
I don't know if it will help any, just a stab in the
dark.
Andrew.
--- Alexander Pipelka <address@hidden> wrote:
> Am Fre, 2002-05-17 um 17.30 schrieb Roger D. Vargas:
> >
> >
> > I have the following code to fill a listbox with a
> directory list:
> >
> > char **files;
> > int i;
> >
> > //Get files in the save dir
> > files=PG_FileArchive::EnumerateFiles("save");
> >
> > for (i=0;files[i];i++) {
> > fnames->SetText(files[i]);
> > flist->AddItem(fnames);
> > PG_LogMSG(files[i]);
> > }
> > flist->SelectFirstItem();
> >
> > Show();
> > RunModal();
> >
> > but the listbox always appears empty, although
> SelectFirstItem works.
> > What's the problem?
>
> Might be a bug.
> Please try filling the listbox *after* showing it.
> If this works it a bug.
>
> Please let me know.
>
> Thanks
>
> Alex
>
>
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com