expand form

expand form

Anonymous
Not applicable
1,020 Views
8 Replies
Message 1 of 9

expand form

Anonymous
Not applicable

hi, i would like to implement a functionality similar to plot or hatch forms, where you can expand/collapse part of the form with additional functions

 

is there some easy way to add the round button with the arrow?

0 Likes
Accepted solutions (1)
1,021 Views
8 Replies
Replies (8)
Message 2 of 9

michael_vanhoose
Advocate
Advocate
Accepted solution

I made one just by using Cntr alt Prt screen and copy it from autocad, and add image box to your form and just visiable  = off and on.  It's simple

0 Likes
Message 3 of 9

Anonymous
Not applicable

i was thinking of a more button-like behavior, because the imagebox is not clicking

 

currently I'm using classic button control with changing text  > and <, but i like my forms to look familiar to the users, that's why I try to use the exact look from AutoCAD

0 Likes
Message 4 of 9

michael_vanhoose
Advocate
Advocate

The Picturebox control looks like autocad one to me.  see attachment.

0 Likes
Message 5 of 9

Anonymous
Not applicable

yes, you're right, it looks like the autocad button, but it doesn't animate the button press, if you know what i mean

 

i know, I might be nitpicking, but i like things to be perfect

 

but thanks for the idea, i might grab the image from autocad and place it on a button, it won't be round though 🙂

0 Likes
Message 6 of 9

michael_vanhoose
Advocate
Advocate

I don't see any button press change in autocads arrow button.  The only thing I see is the change from < picture to this >.

 

If there are button changes all you have to do is use Mouseup event and MouseDown event to make it look like the picture change like a button does.

0 Likes
Message 7 of 9

Anonymous
Not applicable

you're right again, i was so convinced that it's a button that i imagined the press animation

 

now it lost part of the awesomeness for me 🙂

0 Likes
Message 8 of 9

michael_vanhoose
Advocate
Advocate

To make cool buttons in windows it's best to make a control out of the picture box.  I guess when I made mine, I should have made it a control.

0 Likes
Message 9 of 9

Anonymous
Not applicable

Use WPF instead of winforms controls!!!

 

wpf.jpg

 

Kind regards,

 

Irvin

0 Likes