467,161 Members | 884 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

Custom Command Button of Irregular Shape & of Different Color

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
  • viewed: 11170
Share:
5 Replies
LacrosseB0ss
100+
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
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 8TB
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
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 8TB
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.

Similar topics

1 post views Thread by Robert Neville | last post: by
2 posts views Thread by dskillingstad@gmail.com | last post: by
2 posts views Thread by ppyrstr | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.