Clicking the Momentary button activates the bit; releasing it, deactivates it. Clicking the Toggle button once sets the bit; clicking it again releases it.
=====Combo Box Control with Drop Down Lists in KMotion CNC Screen Editor=====
[https://www.youtube.com/watch?v=Pp5DPfn8GLI https://www.youtube.com/watch?v=Pp5DPfn8GLI]
{{#ev:youtube|Pp5DPfn8GLI}}
Combo Box Controls allow the Operator to select text items from a list. The list items are specified as semicolon separated strings in the Text Property for the Control. Combo Boxes are read in the same Manner as Edit Controls where the Var Parameter of the Control is used to request the contents of the Control. When KMotionCNC detects a non-zero value of the persist variable it uses the value as an offset into the Gather Buffer and places the selected text into the Gather Buffer.
KFLOP also maintains an EditChangeCount value which is incremented each time any Edit or ComboBox Control changes. See the ComboBoxCopyToDROLabelwhenChangedUnicode.c Example.
ComboBox Selections made by the Operator are maintained from one KMotionCNC Session to the next using a Disk file:
\KMotion\Data\EditControlPersist.txt
=====Dual Button Types in KMotion CNC Screen Editor=====