how to control our own designed gui
Page 1 of 114 Replies - 443 Views - Last Post: 02 December 2011 - 06:46 PM
#1
how to control our own designed gui
Posted 02 December 2011 - 05:48 PM
Replies To: how to control our own designed gui
#2
Re: how to control our own designed gui
Posted 02 December 2011 - 05:53 PM
Have you tried to change the location of the form?
#3
Re: how to control our own designed gui
Posted 02 December 2011 - 05:57 PM
#4
Re: how to control our own designed gui
Posted 02 December 2011 - 06:00 PM
#5
Re: how to control our own designed gui
Posted 02 December 2011 - 06:11 PM
smohd, on 02 December 2011 - 06:00 PM, said:
I think the same as when you open a folder and you move the window left,right,up and down, I want my software has that option.
This is my first time I have designing my form, and i need a help.
#6
Re: how to control our own designed gui
Posted 02 December 2011 - 06:16 PM
#7
Re: how to control our own designed gui
Posted 02 December 2011 - 06:19 PM
smohd, on 02 December 2011 - 06:16 PM, said:
i dont have those properties because i design my software by my own and i don't use vb.net standard design.
like this: http://zerocode.byet...81283374473.jpg
#8
Re: how to control our own designed gui
Posted 02 December 2011 - 06:25 PM
Quote
What design are you using? WPF or what?
And are you sure that you cant move by dragging it? Then you have to follow the tutorial to make your own moving capabilities like what we have in tutorial above
#9
Re: how to control our own designed gui
Posted 02 December 2011 - 06:29 PM
smohd, on 02 December 2011 - 06:25 PM, said:
Quote
What design are you using? WPF or what?
And are you sure that you cant move by dragging it? Then you have to follow the tutorial to make your own moving capabilities like what we have in tutorial above
FormBorderStyle: None
and i set on this my design as background image and now i want to move this.
#10
Re: how to control our own designed gui
Posted 02 December 2011 - 06:36 PM
#11
Re: how to control our own designed gui
Posted 02 December 2011 - 06:37 PM
#12
Re: how to control our own designed gui
Posted 02 December 2011 - 06:38 PM
Then what you have to do is to deal with mouse events on the form:
- When mouse down, get the current position of the form
- When mouse moves, start changing the position of the form according to the movement.
- And when mouse up, we are done now set the location as the forms location and stop responding to the mouse move.
That is all you have to do and has been explained in the tutorial,did you read it?
#13
Re: how to control our own designed gui
Posted 02 December 2011 - 06:42 PM
#14
Re: how to control our own designed gui
Posted 02 December 2011 - 06:43 PM
#15
Re: how to control our own designed gui
Posted 02 December 2011 - 06:46 PM
|
|

New Topic/Question
Reply




MultiQuote




|