Solved

customize button

Posted on 2001-06-06
4
161 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
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 50 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

830 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