Changes

KMotionCNC Screen Editor

1,688 bytes added, 7 July
Create Heading for Script Options
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=====
* '''X, Y<br /> '''Changes the horizontal and vertical position of the control.
* '''Width, Height'''<br /> Changes the size of the control.
* '''Script'''<br /> Using this field, the user has three options:shown below.<br /><br />
Video demonstration of the creation of Screen Script to perform Windows Messages
 
{{#ev:youtube|9x4JTswwWvk}}
 
 
 
=====Control Script Options=====
a) Selecting a screen script file from the library:
[[File:ScreenScale160.png|none|link=|879x641px]]
 
 
 
=====Hierarchical Sub Script Files=====
When creating multiple Screens with sections of Controls that are duplicated among screens, possibly re-positioned on the Screen, it is useful to make use of SubScript files. Selecting one or more Controls and setting a SubScript file name for them will move them to a separate file which will then be referenced from the main file. SubScript files can also reference SubScript files in a hierarchical manner.
 
See this Video Demonstration
 
{{#ev:youtube|bWToNV6922s}}
Bureaucrat, administrator
464
edits