<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari,<br>
<br>
I just noticed that calling FCNoteEntry:MakeRest() also resets the
FCNoteEntry.ArticulationFlag.<br>
Workaround is the same as for NoteDetailFlag (see original mail
below): first store flag temporarily, then restore.<br>
<br>
local tempartflag=noteentry.ArticulationFlag--temporarily save the
original flag<br>
noteentry:MakeRest() <br>
noteentry.ArticulationFlag=tempartflag--restore original flag<br>
<br>
Best,<br>
Jan<br>
<br>
<br>
<div class="moz-cite-prefix">Am 27.12.2016 um 18:00 schrieb Jan
Angermüller:<br>
</div>
<blockquote type="cite"
cite="mid:96d584c4-4c06-fe4f-fc36-6ca849d8222f@angermueller.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Jari,<br>
<br>
calling FCNoteEntry:MakeRest() resets the
FCNoteEntry.NoteDetailFlag.<br>
<br>
The NoteDetailFlag is for example set if the note/rest was changed
in size.<br>
Calling MakeRest() makes the rest use the original size again by
unchecking the flag.<br>
But the changed size is still stored "somewhere in background", so
the following workaround seems to fix the problem - though I am
not sure if it is really safe and doesn't mess up the document:<br>
<br>
local tempnotedetailflag=noteentry.NoteDetailFlag --temporarily
save the original flag<br>
noteentry:MakeRest() <br>
noteentry.NoteDetailFlag=tempnotedetailflag --restore original
flag<br>
<br>
Best,<br>
Jan<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
</body>
</html>