Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Q: How can I reproduce this PreEdit using gmsl:

Code Block
   <Replace>
   <OldBlock><![CDATA[If (Ctrl = vbChecked) Then]]></OldBlock>
   <NewBlock><![CDATA[If (Ctrl.Value = vbChecked) Then]]></NewBlock>
   </Replace>


A: The PreEditor is optimized for speed and ease of use, however it has a few limitations so in certain special cases a custom gmSL preEditor may be desired.  The following example shows how this may be done.

1) Prepare an ServiceMethod_EditSource Handler in a gmSL script:

...