?
Solved

customize button

Posted on 2001-06-06
4
Medium Priority
?
166 Views
Last Modified: 2008-02-07
How to create a customize button such as circle, triangle or any button other than default button.
And the customize button should have same properties as default button.
0
Comment
Question by:azsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 6158853
You cannot as such change the shape of a command button. The best method of doing this is to create a picture box or image control on the form with a bitmap representing the shape of your button. You can then load an Up and Down bitmap as appropriate to simulate the pressing of the "button". The picture box control has most of the same events as a standard button and it can be a very effective way of having a non-standard shape button.
0
 
LVL 5

Accepted Solution

by:
AndrewDev earned 150 total points
ID: 6158861
You might find this custom button control useful

http://www.freevbcode.com/ShowCode.Asp?ID=1628

Regards
Andrew
0
 

Expert Comment

by:Morphism
ID: 6158901
Many people find the thought of designing their own ActiveX
controls perhaps daunting but a command button is probably the best one to start with. As you progress you will not be so reliant on other 3rd party controls.
With ActiveX controls if you familiar with Classes
ie Property LET/GET, you are half way there. My point here is to step out and give them a try..you'll be suprised how easy they are in VB !!!

Good Luck
0
 
LVL 2

Expert Comment

by:Microsoft
ID: 6161111
HAVE A LQQK AT THIS URL

this is what you need

http://www.freevbcode.com/ShowCode.Asp?ID=1871
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question