UniToolbox2.UniTreeView 不显示图像 - 替代方案?
我正在更新现有的 Microsoft Access 应用程序以使用 UniToolbox2.UniTreeView
控件因为 unicode 字符集要求。此 TreeView 将替换 MSComctlLib.TreeCtrl.2
控件。但我在显示每行/节点的图像时遇到问题。下面是我编写的尝试显示图像的代码。
设置树视图的代码...
Treeview1.ImageList = LocImgCtl
Treeview1.Checkboxes = True
Treeview1.Style = tvwTreelinesPlusMinusPictureText
(其中 LocImgCtl
是一个 UniToolbox2.UniImageList
控件。)
用于指定在 LocImgCtl
控件中显示哪个图像的代码。
Treeview1.Image = someInteger (logically decided)
我在这里缺少什么?还有其他我应该尝试的 activex 解决方案吗?
I am updating an existing Microsoft Access application to use the UniToolbox2.UniTreeView
control because of a unicode character set requirement. This TreeView will be replacing a MSComctlLib.TreeCtrl.2
control. But I am having a problem with displaying an image with each row / node. Below is the code that I have written to attempt to display the image.
Code to setup treeview...
Treeview1.ImageList = LocImgCtl
Treeview1.Checkboxes = True
Treeview1.Style = tvwTreelinesPlusMinusPictureText
(Where LocImgCtl
is a UniToolbox2.UniImageList
control.)
Code to assign which image within the LocImgCtl
control gets displayed.
Treeview1.Image = someInteger (logically decided)
What am I missing here? Is there another activex solution out there that I should try?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过相当长的时间研究这个问题后,我终于弄清楚如何让它在 Access 中工作。
据我所知,UniToolbox2.UniTreeView 控件是标准 Windows 树视图的直接替代品。我希望这对某人有帮助!
After a decent amount of time working on this, I finally figure out how to get this to work in Access.
So as far as I can tell, a UniToolbox2.UniTreeView control is a direct replacement for the standard windows treeview. I hope this helps someone!