2008-11-07 04:57 PM
2008-11-07 08:49 PM
2008-11-07 09:17 PM
2008-11-07 10:45 PM
2008-11-08 04:28 AM
Peter wrote:Thanks Peter. I'll try those IF-THENs
On the mater of the green dot, you have of course, a divide by zero error
at line angle 90° and 270° because you have defined lin_ang=ATN(ver/hor)
The fix for this, I think, is just before the lin_ang definition put
2008-11-08 04:35 AM
Peter wrote:Peter, in an earlier version (!) of this object, there was no left/centre/right option. I intended the text to be placed halfway along the line and manually move it where suitable. However, since the value of "thor" was
Well, I suspected that defining the variable "thor" was causing the spring loaded effect. If you comment out the three IF statements
that define "thor" then you can slide the text as you want to. This of course disables the placement of the text to the left, right, or centre.
I am not sure you can have it both ways.
2008-11-08 04:37 AM
Juha wrote:That's a good idea Juha. I'll add that option and show the parameter "thor" for manual value input.
Just adding and choosing fourth option makes it possible to have both ways.
VALUES "halign" "left", "centre", "right", "free"
2008-11-08 10:49 AM
2008-11-08 12:25 PM
if req ("GDL_version") > 1.5 then ! AC 10 dim fontnames[] rrr = request ("FONTNAMES_LIST", "", fontnames) values "fontType" fontnames, custom else values "fontType" 'Arial', 'Verdana', 'Helvetica', 'Geneva', 'Times', 'Georgia', 'Courier', custom endifI didn't know the option to list all system fonts existed although I'd always wished for it. Thank you for this as well as your stretchy line. I'm not going to change the units - here in India, we are "bi-lingual" when it comes to units.
2008-11-08 05:00 PM