禁用时摆脱空列表视图

问题描述 投票:0回答:1

嗨,我可以知道如何摆脱禁用列表视图时变空的情况吗?

This is the listview when enabled

This is the listview when disabled

vba ms-access
1个回答
0
投票

仅在启用列表框时显示标题:

Me!YourListBox.ColumnHeads = Me!YourListBox.Enabled

或完全隐藏它:

Me!YourListBox.Visible = Me!YourListBox.Enabled
© www.soinside.com 2019 - 2024. All rights reserved.