Re: .net Keyboard Input Focus

#5
DenisSilveira wrote:
Wed Dec 16, 2020 11:08 am
I got same problema and still didn´t get the solution for this case
I'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 ...

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

#7
QuanNguyen wrote:
Tue Mar 30, 2021 11:40 pm
Hi Denis,
Inside the PaletteSet, try to use the IntelliCAD.Internal.Utils.ExecuteCommand instead of CommandMethod.
This time, I used to invoke palleteSet/User control by menu command inside WindosForm, that works normally !!!

Calling commandLine a <CommandMethod>Sub ... constructs the palletset but dosn't work properlly.