 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Boris Epel Guest
|
Posted: Tue Aug 12, 2003 7:49 pm Post subject: TComboBox - size of drop down list |
|
|
Hi All,
I will take a risk to repeat my previous message from 22.7.
in the component, descendant of TCustomGrid created TComboBox
combo = new TComboBox(this);
combo ->Parent = this;
TRect rect = CellRect(1, Row);
combo ->SetBounds(rect.Left, rect.Top, rect.Width(), rect.Height());
combo->Style = csDropDownList;
combo->Items->AddStrings(node->Strings); // 5 and more items
combo->AutoComplete = true;
combo->AutoDropDown = true;
combo->OnKeyPress = OnComboKeyPress;
combo->OnChange = OnValueModifiedEvent;
combo->OnSelect = OnValueModifiedEvent;
combo->DropDownCount = 10;
combo->Ctl3D = false;
it is appearing and functioning well except the visual size of dropdown
list.
It is always equal to few pixels (amount of items is not 0). Why this could
be ?
Please help me.
Regards
Boris
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|