Ariez Posted July 8, 2003 Posted July 8, 2003 Devil's Outlookbar Hey devil (or anyone that knows), i'm using ur outlookbar... The only way i came up with to identify a button in the OutlookBar_ButtonClick event is with the e.Button.Text prop. Is there another way? Thanx Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
*Gurus* divil Posted July 8, 2003 *Gurus* Posted July 8, 2003 My nick isn't devil. You can use the text property, or you can compare with the buttons on your form: If e.Button Is olbMyButton Then ElseIf e.Button Is olbMyOtherButton Then End If This is the same way it works for the .net toolbar, etc. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Ariez Posted July 9, 2003 Author Posted July 9, 2003 Hey sorry for the nickname... Thanks, that a lot better, didnt know you could do that.... Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
yan19454 Posted July 10, 2003 Posted July 10, 2003 How to add icon on the image list Glad to find yhou here. I tried to locate more info to help on your outlook control . Also submit question on the website. It can't reach you. Here is the question. Thanks. I downloaded the file. I did not understand how he added icon in the imagelist. I checked the image list. It showed the system.drawing.bitmap. I have a lot problems to figure out how to use that. Any one want to share. In the source file, you can see any control at all. Thanks. Quote
mrdutchie Posted July 11, 2003 Posted July 11, 2003 This is what I am using Private Sub OutlookBar_ButtonClick(ByVal sender As Object, ByVal e As OutlookBar.OutlookBarButtonClickEventArgs) Handles OutlookBar.ButtonClick If e.Button.Text = "System Info" Then hds.StartSysInfo() If e.Button.Text = "Company Info" Then compinfo.ShowDialog() End Sub So just a lookup and matching the Text Labels. Quote
gs_london Posted July 30, 2003 Posted July 30, 2003 Right Click Using Divil's outlookbar, How would obtain the button which has been clicked using right click? Thanks in advance gs Quote
john_grace Posted August 1, 2003 Posted August 1, 2003 Outlookbar request Hi I am looking for the Outlookbar control but the divils website seems to be down.....could some please tell me where i can get the control or send it so , john_grace@hotmail.com Thanks John Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.