SpinIntCtrl Bug
Posted: Sat Apr 09, 2016 6:49 am
well i don't know if this should be filed under the bug section or the feature requests option,
but honestly i think the bug is more suitable.
passing a widget name to SpinIntCtrl didn't work.
after looking at the file it passes off the information to SpinNumCtrl. and SpinNumCtrl has been coded with the ability to pass the name parameter to the wx widget, but the SpinIntCtrl was not set up to pass the parameter to the SpinNumCtrl.
so i fixed this problem, i honestly think plugging that in had been forgotten.
so i went ahead and did it.
the file is attached.
put it into C:\Program Files (x86)\EventGhost\eg\Classes
if that is where your install of EG is located
having the name feature is a good way to identify an event that happens from a widget.
if you have multiple widgets calling the same event function.
example. storing multimonitor information. i am using the name parameter to pass the monitor number as a string to the function.
and in the function i am able to convert it to int and use it as an index for a variable.
cutting down on an enormous amount of code.
K
but honestly i think the bug is more suitable.
passing a widget name to SpinIntCtrl didn't work.
after looking at the file it passes off the information to SpinNumCtrl. and SpinNumCtrl has been coded with the ability to pass the name parameter to the wx widget, but the SpinIntCtrl was not set up to pass the parameter to the SpinNumCtrl.
so i fixed this problem, i honestly think plugging that in had been forgotten.
so i went ahead and did it.
the file is attached.
put it into C:\Program Files (x86)\EventGhost\eg\Classes
if that is where your install of EG is located
having the name feature is a good way to identify an event that happens from a widget.
if you have multiple widgets calling the same event function.
example. storing multimonitor information. i am using the name parameter to pass the monitor number as a string to the function.
and in the function i am able to convert it to int and use it as an index for a variable.
cutting down on an enormous amount of code.
K