I have a small player built on a frame. At form_load, I set the form width/height equal to the size of the design (two fixed size images on top of each other.
The form has no border, no control (dock, min, max, exit).
When running, the user wants to move the frame on the screen by dragging the frame.
How can this be achieved? (I can drag thing WITHIN the frame, but NOT the FRAME!)
Help!
jeanray
0
Newbie Poster
Recommended Answers
Jump to PostYou meant to say you have a borderless form and on top you have a frame whose size = size of form...
so ultimately the user interacts only with the frame... check the drag operation/ Function etc of the Frame instead of Form.
Or have i misunderstood?!
Jump to PostYou just want to move it to the top left corner? If yes, Do this in your Form_Load():
me.Left=0 me.Top=0
If you want to allow people to DRAG the form then post again.
All 9 Replies
hussulinux
0
Light Poster
jeanray
0
Newbie Poster
hussulinux
0
Light Poster
jeanray
0
Newbie Poster
hussulinux
0
Light Poster
gino_j
0
Newbie Poster
Jx_Man
987
Nearly a Senior Poster
Featured Poster
DBadowski
0
Newbie Poster
Darkpiss
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.