By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,986 Members | 1,522 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,986 IT Pros & Developers. It's quick & easy.

Custom Command Button of Irregular Shape & of Different Color

P: 2
I am trying hard to make Custom Command Buttons of Irregular Shape and of Different colours in Active X Interface Wizard but am not successful. Irregular Shape Buttons i.e.; Triangular, Arrow Shape and Hexagonal are made and are responding in click event but I am not able to provide colors to them. I used Window API programming also but buttons are not getting colored. Kindly help.
I am calling Window API "gdi 32" in Modules and Putting Shapes, colors etc in Active X Component but am not able to color buttons.

Thanks
Sunil Borwankar
Nov 6 '06 #1
Share this Question
Share on Google+
5 Replies


LacrosseB0ss
100+
P: 113
This probably isn't the BEST way to do it and I don't really know what you're trying to do but a cheater would do the following:

Create a shape object on your form. Make it whatever shape and colour you would like. Then use the Shape1_Click() method in code to call it. This should work. I vaguely remember doing it once before.

Hope this works/helps
- LB
Nov 6 '06 #2

P: 2
This probably isn't the BEST way to do it and I don't really know what you're trying to do but a cheater would do the following:

Create a shape object on your form. Make it whatever shape and colour you would like. Then use the Shape1_Click() method in code to call it. This should work. I vaguely remember doing it once before.

Hope this works/helps
- LB
Sir,
Shape provides only Square, Rectangle, Circle or Elips, where as I want Triangular, Hexagonal and Arrow Shape, Colored Command Buttons.
Shall I get help in this regard?
-SB
Nov 7 '06 #3

Expert 5K+
P: 8,434
Sir,
Shape provides only Square, Rectangle, Circle or Elips, where as I want Triangular, Hexagonal and Arrow Shape, Colored Command Buttons.
Shall I get help in this regard?
-SB
You might try these links (just found, not investigated)...And please, let us know how things turn out.
Nov 9 '06 #4

P: 1
Dear Friend
I want to generate "Arrow shaped botton" in Java Applet .
It seems you already made it , Could you please provide code to me !

Regards

Tony
Jan 6 '07 #5

Expert 5K+
P: 8,434
I want to generate "Arrow shaped botton" in Java Applet .
It seems you already made it , Could you please provide code to me !
Given that this is in the Visual Basic forum, I doubt that the source would be written in Java.
Jan 6 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.