Problems with ListBoxes and arrow buttons

This is where you talk about Plugins. How they are made and how they work, show examples.

Problems with ListBoxes and arrow buttons

Postby Vmax549 » Mon Nov 05, 2018 10:44 pm

When making a listbox a bit more usefull you an use teh ARROW buttons to move up and down through a list. BUT at teh same time UCCNC JOGS up and down in teh Y axis.

I noticed that teh Gcode editor does NOT have that problem so there must be a way to work around that problem.

Does anyone know HOW is is done ??

(;-) TP
Vmax549
 
Posts: 1380
Joined: Sun Nov 22, 2015 3:25 am
Location: USA

Re: Problems with ListBoxes and arrow buttons

Postby dezsoe » Mon Nov 05, 2018 11:02 pm

Yes. Use UC.Disablejog(true) to disable jogging and UC.Disablejog(false) to enable again. You may put them into the Load and FormClosing events of your form.
dezsoe
 
Posts: 573
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Problems with ListBoxes and arrow buttons

Postby Vmax549 » Tue Nov 06, 2018 12:08 am

Thanks Dezsoe, that was a BIG help ;)

(;-) TP
Vmax549
 
Posts: 1380
Joined: Sun Nov 22, 2015 3:25 am
Location: USA


Return to Plugins

Who is online

Users browsing this forum: No registered users and 7 guests