Changes

KMotionCNC Screen Editor

1,917 bytes added, 7 July
Create Heading for Script Options
[[File:Momentary-button-2.png|none|link=]]
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=====[https://www.youtube.com/watch?v=8dAEeGnLaRg https://www.youtube.com/watch?v=8dAEeGnLaRg] {{#ev:youtube|8dAEeGnLaRg}} Certain buttons connected to internal status modes display one of 2 bitmaps depending on the state. Such as the Cycle Start Button displays either a Play image or a Halt image dependent on whether a Job is running. The 2 bitmaps can be reassigned to override the default images.
=====Instantaneous Feed Rate Display=====
=====Maximized Captionless KMotionCNC Screens=====
[https://youtu.be/R44F0_upIoA https://youtu.be/R44F0_upIoA]
 
{{#ev:youtube|R44F0_upIoA}}
New option in KMotionCNC Screen Editor V4.34e allows screens to be maximized to full screen and with or without Window Frame/Title. New options in Screen Editor: turn minimum box on or off, maximum box on or off, resizing frame on or off. Caption on top can be present or absent.
* '''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:
Note: any bitmap images will be unchanged and remain the same size.  They can be manually scaled with a graphics app if necessary.
 
 
If not in the current Version a Version with scaling added can be downloaded here (place in \KMotion\Release Directory):
 
[http://dynomotion.com/Software/Patch/ScreenEditorWithScaling_V434j/KMotionCNCScreenEditor.exe KMotionCNC Screen Editor with Scaling]
[[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