开发者

How can I add a control like a DateTimePicker to my office ribbon I'm creating using visual basic?

开发者 https://www.devze.com 2023-03-09 14:58 出处:网络
I\'m creating an Microsoft Office 2010 add-in ribbon with a bunch of controls on it.I am able to add things like buttons, TextBoxes开发者_JAVA百科, and Labels.:-) I am not, however, able to add the on

I'm creating an Microsoft Office 2010 add-in ribbon with a bunch of controls on it. I am able to add things like buttons, TextBoxes开发者_JAVA百科, and Labels. :-) I am not, however, able to add the one control I need, which is a DateTimePicker. :-( Is there some workaround or hack to getting other controls like a DateTimePicker on my ribbon?

If it helps any, I'm using Visual Basic 2010.


I wound up just making one of my buttons open up a separate form which then was able to have the DateTimePicker control on it. :-)

0

精彩评论

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