Buttons in Cocoa?...

martinatkinson

Registered
Hello!

I was wondering how I would make custom buttons out of graphics. What I would like to do is this, I have attached a picture of what my buttons looked like when I made them in REALbasic. Well, now I am back in Cocoa and I need to know how to do this. My picture shows a bar of buttons, the "Open" button is being pressed while the others are not. I will need to have an image as a background, text in the button with a nice shadow like in the other Cocoa button controls and the pict will change when the user clicks on it and perform an action (just like a regular button but with my own graphic) Is this possible?

Sorry if I am not explaining this enough, let me know if you need more info.

Have a great day!

Albert
 
Yes this is possible, you can do it without any code as well, you can do it straight in Interface Builder. So i guess you didn't take my proposal? I thought it was a really really good deal...
 
Hello!

whitesaint: thanks for your reply. I got your proposal and I too think it is a good deal. I am seriously thinking about having you design some classes for me but I am not sure yet. I really do not want to dish out money and have my program be a failure so that it was wasted. How much would you charge per hour for designing classes?

Well, I have figured out the buttons. I just used a flat button, removed the border and caption and slammed my picture in it. I also set the mode to "momentary change" so it gets highlighted when clicked.

Have a great day!

Albert
 
Back
Top