Custom Shape Window - Movable? - Forum

Forum Navigation
You need to log in to create posts and topics.

Custom Shape Window - Movable?

I'm having a bit of a problem with a custom shaped window. I'm using a circle to make my custom shape; a clock face. What do I need or what conditions do there need to be in order to make it movable? Everything I've tried will not let me be able to move the window.

@pauljonestindall

I'm using a circle to make my custom shape; a clock face. What do I need or what conditions do there need to be in order to make it movable?

VisualNEOWin only supports Drag and Drop facilities for these two objects (tools) ...

a) Simple Text Tool - https://winhelp.visualneo.com/SimpleTextTool.html
b) Polygon/Hotspot Tool - https://winhelp.visualneo.com/PolygonHotspotTool.html#DragAndDrop

... the Circle (Ellipse) shaped tool is not draggable by the user.

Actually what I'm referring to with the circle is the bitmap image to create a custom shaped application in the Book Properties. It's a clock face and I select the color outside of the circle as transparent. This gives me a circular app but one of the options when selecting this type of app is that it can be moveable. Now, I am using a Rectangle object within my pub that is controlled by a plugin. This could have something to do with it. There's no "window surface area" for the mouse to click on to move it. Humpf.

@pauljonestindall

Actually what I'm referring to with the circle is the bitmap image to create a custom shaped application in the Book Properties ...

Sorry, I did not read the phrase a custom shaped window.

There's no "window surface area" for the mouse to click on to move it.

Many (many) moons ago, I developed a game ... with assistance from Dave, I was able to make the odd shaped window draggable ... for how I did it, see ...

http://www.scriptedlogic.com/zzold/IdenticoFreeSet1_Pics.htm

... the blue bar at the top is the background colour (with no object blocking it); doing a mouse-down/drag on this bar allows the window to be dragged.

Your case is a little more challenging, but doable ... just have to make the shape (that defines the window) to be a little larger than the image (round clock face) ... which creates a draggable area.

You can use a plugin that monitors mouse coordinates, such as zmFunctions. And with the left button held down, move the window programmatically using global variables.

Vadim has reacted to this post.
Vadim

Une autre approche peut-être  :

Dans Projet
Propriétés du projet
Fenêtre
Style de fenêtre
Fenêtre de forme personnalisée
Définir la forme + l'option Déplaçable
Fichier image au format Gif
Par défaut la couleur noire en transparence pour cet exemple

Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."

Uploaded files:
  • You need to login to have access to uploads.

Coloriser en bleu ...

Claude GUYOT
"Thank you very much for loving this software as much as I do."
"Merci beaucoup d'aimé ce logiciel autant que moi."

Uploaded files:
  • You need to login to have access to uploads.

Thanks. Merci beaucoup.