Hally
(Simon Hall)
May 14, 2018, 10:25pm
1
I’ve been looking around but I have not been able to see. I am working on a customisation to print labels from the SO form.
Can anyone tell me how I can get increment/decriment buttons on an numeric editor field? Like the Time Editor Field.
Like
Thanks
timshuwy
(Tim Shoemaker)
May 14, 2018, 10:38pm
2
Not saying that this is an endorsed method for entering data, but there are multiple articles on how to do this with forms… here is one article:
1 Like
Hally
(Simon Hall)
May 14, 2018, 10:39pm
3
Thanks Tim,
Much appreciated.
I would stay within the Epicor framework and add a Numeric Editor control with this code snippet during the form init.
MyCustomButtonName.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always;
It will do everything for you.
3 Likes
Hally
(Simon Hall)
May 15, 2018, 9:06am
5
Dan,
That worked a treat.
In my instance I was adding this to the Sales Order Entry. I did the following to get it to function.
Added
using Infragistics.Win;
and added
this.epiNumericEditor1.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always; to the InitializeCustomCode() section.
End Result