I am using a complex Usercontrol in a palletset. When attempting to use keyboard input in my control, keystrokes go straight to IntelliCad comand line.
How do I control this focus?
Re: .net Keyboard Input Focus
#2It's difficult to diagnose what happened with your summary descriptor (by text only).
It's better if have some code to debug.
Regards.
It's better if have some code to debug.
Regards.
Re: .net Keyboard Input Focus
#3I have since found that if I hide the Command bar then my editing works correctly but when reOpend the problem reoccurs.
When using PalliateSet in Autocad this problem is not occuring.
When using PalliateSet in Autocad this problem is not occuring.
Re: .net Keyboard Input Focus
#4I got same problema and still didn´t get the solution for this case
Re: .net Keyboard Input Focus
#5I've made some tests and observed when I call <commandMethod> to invoke a UserControl inside palletteset some textBox fields doesn't work ... simple the text typed vanissh from screen ...DenisSilveira wrote: ↑Wed Dec 16, 2020 11:08 amI got same problema and still didn´t get the solution for this case
In other hand, when this same pallette set is called from inside a menuContext on form it works fine.
So, I detected the problem occurs when we call <CommandMethod>
Re: .net Keyboard Input Focus
#6Hi Denis,
Inside the PaletteSet, try to use the IntelliCAD.Internal.Utils.ExecuteCommand instead of CommandMethod.
Inside the PaletteSet, try to use the IntelliCAD.Internal.Utils.ExecuteCommand instead of CommandMethod.
Re: .net Keyboard Input Focus
#7This time, I used to invoke palleteSet/User control by menu command inside WindosForm, that works normally !!!QuanNguyen wrote: ↑Tue Mar 30, 2021 11:40 pmHi Denis,
Inside the PaletteSet, try to use the IntelliCAD.Internal.Utils.ExecuteCommand instead of CommandMethod.
Calling commandLine a <CommandMethod>Sub ... constructs the palletset but dosn't work properlly.