statusBar与combobox相关问题(20分)

瓜木

Unregistered / Unconfirmed
GUEST, unregistred user!
1.statusbar中怎样修改面版中各个区域的宽度;
2.怎样确定combobox中items的个数
我是这样想的 if combobox1.items[combobox1.itemindex]<>0 then
combobox1.intemindex:= combobox1.intemindex+1
else a:=combobox1.intemindex;
可是 运行结果不对
 
1 . statusbar.panels.width你也太懒啦,
2 combobox1.Items.Count。你还是有点懒
 
1. 双击statusbar控件,在弹出的editing panel中选择相应的区域,属性面板中就会
看到该区域的width属性。
2. if combobox1.itemindex<combobox1.items.Count
then combobox1.itemindex:=combobox1.itemindex+1
else a;=combobox1.itemindex;
 
顶部