Support Board
Date/Time: Wed, 05 Feb 2025 11:49:30 +0000
Post From: GetLineNumberOfSelectedUserDrawnDrawing does not work as described
[2020-03-05 14:50:44] |
jesslinn - Posts: 108 |
It appears that this function does not, in fact, at least in 2057 and other recent versions, return the line number of the first selected drawing but instead returns a 0 if no user-drawn drawing is selected and a 1 if one or more user-drawn drawings are selected. A work-around is to use the result to determine if a drawing tool is selected and then loop through all of them with GetUserDrawChartDrawing and determine which is selected. Is there a way of selecting multiple user drawn drawings, other than selecting them at an intersection? It would be very useful, for example, if it were possible to hold down the control key and select several drawing tools in order to move them or apply an action to them. |