我无法在ListBox中使用MultipleColumns。我已经将ListBox1.MultiColumn属性设置为true。 ListBox1.ColumnCount说ColumnCount不是ListBox的成员
- 积分
0 - 话题
0 - 评论
3124 - 注册排名
2531
近期文章
- 为什么Rapidjson无法获得此整数值
- JavaScript removeChild,无需重新加载页面
- 更新到20.04后卡住
- 所以您想托管一个Minecraft服务器?
- 安装新的ubuntu 20.04,在root用户上安装zfs-root和boot填满
- 当.hero(z-index:0)时,为什么在.hero背景和.hero文本之间出现此覆盖(z-index:-1)?它不应该落后于两者吗? [重复]
- Android java.lang.NullPointerException:尝试调用虚拟方法'android.content.res.Configuration
- 如何使用Angular Firebase实现isLoggedIn方法?
- 尝试在空对象引用上调用虚拟方法DrawerLayout.addDrawerListener(androidx.drawerlayout.widget.DrawerLayout $ DrawerListener)'
- 动态调用字段值
Please notice that a Multi-Column ListBox does NOT mean that you can add several columns (such as a datagridview). When you set
ListBox1.MultiColumn = True
it only means that ListBox1 places items into as many columns as are needed to make vertical scrolling unnecessary. You can test it by decreasing the height of ListBox1 and then adding many items. You will see something like this: Multi-Column ListBoxAs you can see, ListBox1 automatically puts items in multi columns and there is no Vertical scrollbar. For more information, you can see ListBox.MultiColumn Property from Microsoft documents.