http://developer.vectorworks.net/index.php?title=VS:SetMarkerChoice&feed=atom&action=history
VS:SetMarkerChoice - Revision history
2024-03-29T05:09:45Z
Revision history for this page on the wiki
MediaWiki 1.41.0
http://developer.vectorworks.net/index.php?title=VS:SetMarkerChoice&diff=20746&oldid=prev
MFarrell at 20:40, 11 November 2015
2015-11-11T20:40:09Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:40, 11 November 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-----------------------------------------------------------------------------------------------------------</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>-----------------------------------------------------------------------------------------------------------</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><desc></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><desc></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>OBSOLETE procedure for VW2008</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><b></ins>OBSOLETE procedure for VW2008<ins style="font-weight: bold; text-decoration: none;"></b></ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Set current choice for Marker popup dialog control. Index is the standing position of marker; it is -1 for customized, otherwise 1-based index.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Set current choice for Marker popup dialog control. Index is the standing position of marker; it is -1 for customized, otherwise 1-based index.</div></td></tr>
</table>
MFarrell
http://developer.vectorworks.net/index.php?title=VS:SetMarkerChoice&diff=6679&oldid=prev
Root: 1 revision
2013-08-12T14:37:39Z
<p>1 revision</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:37, 12 August 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Root
http://developer.vectorworks.net/index.php?title=VS:SetMarkerChoice&diff=6678&oldid=prev
Root: 1 revision
2008-04-27T21:51:09Z
<p>1 revision</p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVS|specific=}}<br />
<br />
__TOC__<br />
<vwDoc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<desc><br />
OBSOLETE procedure for VW2008<br />
<br />
Set current choice for Marker popup dialog control. Index is the standing position of marker; it is -1 for customized, otherwise 1-based index.<br />
Style is the chosen shape of arrow head . Style is zero-based. The angle parameter must be in range 0 to 90 degrees, depending on the style. Size is per Inches. Style, angle and size may be changed by user in VW preferences.<br />
Further, the function can find a specific Index , given the right Style, Angle &amp; Size. In such case index should be set to -1. If the given properties correspond to one of indecies, then -1 is replaced with that specific index.<br />
When using pre-defined arrow heads, style &amp; angle &amp; size may be passed zero and just fill in the proper index to set the current.</desc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<def><br />
<funcDef lang="vs"><br />
PROCEDURE SetMarkerChoice(dialogID:LONGINT; itemID:LONGINT; index:INTEGER; style:INTEGER; angle:INTEGER; size:REAL);<br />
</funcDef><br />
<funcDef lang="py"><br />
def vs.SetMarkerChoice(dialogID, itemID, index, style, angle, size):<br />
return None<br />
</funcDef><br />
</def><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<params><br />
<lineList ident=1><br />
<line><br />
dialogID<br />
LONGINT<br />
<br />
</line><br />
<line><br />
itemID<br />
LONGINT<br />
<br />
</line><br />
<line><br />
index<br />
INTEGER<br />
<br />
</line><br />
<line><br />
style<br />
INTEGER<br />
<br />
</line><br />
<line><br />
angle<br />
INTEGER<br />
<br />
</line><br />
<line><br />
size<br />
REAL<br />
<br />
</line><br />
</lineList><br />
</params><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<remark><br />
OBSOLETE procedure for VW2008, use SetMarkerValue instead.<br />
Set current choice for Marker popup dialog control.</remark><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<sample><br />
==== VectorScript ====<br />
<code lang="pas"><br />
PROCEDURE dialog1_Main;<br />
VAR<br />
int, dialog1 :INTEGER;<br />
index, style, angle, size :INTEGER;<br />
<br />
PROCEDURE dialog1_Handler(VAR item :LONGINT; data :LONGINT);<br />
BEGIN<br />
CASE item OF<br />
SetupDialogC:<br />
BEGIN<br />
index := 1;<br />
style := 2;<br />
angle := 3;<br />
size := 4;<br />
SetMarkerChoice(dialog1, 4, index, style, angle, size);<br />
END;<br />
5: <br />
BEGIN<br />
GetMarkerChoice(dialog1, 4, index, style, angle, size);<br />
AlrtDialog(Concat('index: ', index, Chr(13), 'style: ', style, Chr(13), 'angle: ', angle, Chr(13), 'size: ', size));<br />
END;<br />
END;<br />
END;<br />
<br />
BEGIN<br />
dialog1 := CreateLayout('Test', False, 'OK', '');<br />
CreateMarkerPopup(dialog1, 4);<br />
CreatePushButton(dialog1, 5, ' Display Values ');<br />
SetFirstLayoutItem(dialog1, 4);<br />
SetBelowItem(dialog1, 4, 5, 0, 2);<br />
int := RunLayoutDialog(dialog1, dialog1_Handler);<br />
END;<br />
RUN(dialog1_Main);<br />
</code><br />
==== Python ====<br />
<code lang="py"><br />
<br />
</code><br />
</sample><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<seeAlso><br />
VS Functions:<br />
[[VS:GetMarkerChoice]] <br />
</seeAlso><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<version><br />
SetMarkerChoice is obsolete as of VectorWorks13.0<P><br />
<br />
<br />
Availability: from VectorWorks12.0<br />
<br />
</version><br />
<br />
</vwDoc><br />
<br />
[[Category:VS Function Reference|SetMarkerChoice]]<br />
[[Category:VS Function Reference:Dialogs - Modern|SetMarkerChoice]]</div>
Root