[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] PG_DropDown DeleteAll
From: |
address@hidden |
Subject: |
[paragui-users] PG_DropDown DeleteAll |
Date: |
Mon, 28 Nov 2005 17:49:51 +0800 |
Hi~
I am using ParaGUI-1.1.8.
After I used DeleteAll() to clean the dropdown list, then
AddItem() to add some new items to it.
The dropdown list is not draw correctly.
Some codes like this:
PG_DropDown* drop = new PG_DropDown(this, PG_Rect(260, 60,
200,25));
drop->SetIndent(5);
drop->SetAlignment(PG_Label::CENTER);
drop->AddItem("Under construction");
drop->AddItem("Item 1");
drop->AddItem("Item 2");
drop->AddItem("Item 3");
drop->DeleteAll();
drop->AddItem("Item 4");
drop->AddItem("Item 5");
drop->AddItem("Item 6");
Then I cant see or click the slot of "Item 4".
Any comments? Thanks.
Li TsungLin
leonidas at pchome.com.tw
- [paragui-users] PG_DropDown DeleteAll,
address@hidden <=