在垂直管理器中突出显示图像
所以我在垂直字段管理器中有 3 个图像,每个图像都可以单击并进入正确的 url。所有这些都有效。此时唯一的问题是,当我滚动(向上或向下)时,我不知道当前聚焦哪个图像。直到浏览器打开相应的网址我才知道。
那么有什么方法可以让边框或突出显示出现在我的图像下方(或管理器内),以便我可以明确地看到当前聚焦的图像?因此,如果您想到一个列表,当您上下滚动时,您的选择就会突出显示。我想要与我的应用程序类似的东西。
感谢您的帮助。
交流电
So i have 3 images in a vertical field manager and each image is clickable and proceeds to the correct url. all that works. the only problem at this time is that when i scroll (up or down), i don't know which image is currently focused. i don't know until the browser opens the corresponding url.
so is there any way to get a border or a highlight to appear under my images (or within the manager) so that i can definitely see which image is currently focused? so if you think of a list, your selections are highlighted as you scroll up and down. i want something similar to that with my application.
thank you for your help.
ac
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在位图字段上使用 setSpace(int,int) 方法效果很好。这让我可以看到焦点元素周围的边框。
using the setSpace(int,int) method on the bitmap field worked great. this allowed me to see a border around the element that had focus.
重写内联位图字段drawFocus方法。像这样的东西
override inline the bitmapfield drawFocus method. Something like this