paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [paragui-users] Problems with PG_ListBox


From: Alexander Pipelka
Subject: Re: [paragui-users] Problems with PG_ListBox
Date: Sun, 30 Mar 2003 20:46:51 +0200
User-agent: KMail/1.5

Yup. I've been able to reproduce this behavior.
Bug. Again.
But fixed now (hopefully) in CVS ;^)

Alex

Am Sonntag, 30. März 2003 10:46 schrieb Ivan Stankovic:
> Ok, I have another problem but I'm not sure if it's my mistake or something
> in the library...
>
> What I'm trying to do is fill a listbox with my own items (these are
> derived from PG_ListBoxItem and contain a dropdown, a spinner box and a
> label). Then I RemoveAll() and all is ok. But when I add these same items
> back they're placed something like this:
>
> 1  (first add)
>   2  (second add)
>     3  (third add)
>
> instead of
>
> 1  (first add)
> 2  (second add)
> 3  (third add)
>
> My derived class looks like
>
> class myclass: public PG_ListBoxItem {
>
>       PG_DropDown *ddown;
>       PG_SpinnerBox *spbox;
>       PG_Label *lbl;
>       ...
>
> public:
>       myclass(); // here I create ddown, spbox and lbl
>       ~myclass(); // cleanup
>       ...
> }
>
> Note that I don't override anything, I just create the label, the spinner
> box and the dropdown and let them show.
>
> Any suggestions?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]