Shape manipulation

Startbeitrag von John Fligg am 20.11.2017 11: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.


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.

von John Fligg - am 20.11.2017 11:32
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?

von Curtis - am 20.11.2017 15:45
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.

von John Fligg - am 20.11.2017 20:09
Zur Information: hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.