开发者

making a thumbnail toolbar (windowsAPICodePack,windows 7) button invisible in vb.net

开发者 https://www.devze.com 2022-12-09 19:55 出处:网络
I\'m trying to make a thumbnail 开发者_C百科toolbar button (TTB from now on)visible when the it is clicked. I know how to do stuff when it is clicked, AddHandler etc. But if I tell it TTB.visible=fals

I'm trying to make a thumbnail 开发者_C百科toolbar button (TTB from now on)visible when the it is clicked. I know how to do stuff when it is clicked, AddHandler etc. But if I tell it TTB.visible=false then it doesn't become invisible. If I put TTB.enabled = False it will be disabled, so it's only the visible that isn't working.

Also I put a button on my form (not a TTB) and when that is click wrote, TTB.visible = false and that didn't work, so there is no way to make it invisible.


Try set TTB.visible=true after you Add it into toolbar button list.

0

精彩评论

暂无评论...
验证码 换一张
取 消