PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Shape manipulation
Shape manipulation
Iniciado por guest, 20,nov. 2017 12:23 - 3 respuestas
Publicado el 20,noviembre 2017 - 12:23
Is there any way to rotate a SHAPE? I cannot find anything in the Properties. What I need to do is create an arrow pointing one of 8 ways.

The problem is you can do that using DRAW but I cannot mix DRAW and SHAPE in my window.

Annoyingly I can change the colour and thickness of the arrow but not rotate it.
Publicado el 20,noviembre 2017 - 12:32
Found it. CTRL and drag rotates! But I wish there was a way in code to do it.

Update - CTRL not needed. Just got to get the cross hairs right. Still trying to code it.
Publicado el 20,noviembre 2017 - 16:45
I've yet to really use shapes. For your purposes, could you just create all 8 arrows you need and only display one at a time?
Publicado el 20,noviembre 2017 - 21:09
Hi, yes that's what I've done.

I'm really frustrated though. I am trying to create a full drawing procedure with "shapes" that are managed by the user. So they can be resized and color changed etc. That works perfectly using a Stack so they can go back and forward with their edit.

I also need a "freehand" utility to "draw" on a chart. Again that is very easily done using DRAW. However those units are not able to be managed easily using a Stack on the same window as my previous routine.

They both must be available since they use a common chart and if someone places a Shape on the form and then want to do some freehand drawing the same window has to be used.

I am sure it is possible but it's proving extremely time consuming to sort out. I am so close but when I switch to DRAW mode I get a crash, something to do with the stack.