J
juan
I am having issues with SelectNextControl when there is a panel that contains
multiple controls that have tab stops. I played with the tabindex in the
editors and things still do not work. So in my constructor of my form I
forced tabindex of my panels, but then I get a warning VSD101 saying the
method is unsupported. But if I create a temporary control variable then it
is fine. Is this a compiler error?
// This compiles fine
Control tmpCtrl;
tmpCtrl = DSetBtnPnl;
tmpCtrl.TabIndex = 50;
// This gives the following warning
//warning VSD101: Members not supported by the device platform should not be
called: System.Windows.Forms.Panel.set_TabIndex is not a supported method in
this platform
((Control)DSetBtnPnl).TabIndex = 50;
Everything runs fine on the device. I figured if I casted the panel to a
control, it should treat it as a control.
multiple controls that have tab stops. I played with the tabindex in the
editors and things still do not work. So in my constructor of my form I
forced tabindex of my panels, but then I get a warning VSD101 saying the
method is unsupported. But if I create a temporary control variable then it
is fine. Is this a compiler error?
// This compiles fine
Control tmpCtrl;
tmpCtrl = DSetBtnPnl;
tmpCtrl.TabIndex = 50;
// This gives the following warning
//warning VSD101: Members not supported by the device platform should not be
called: System.Windows.Forms.Panel.set_TabIndex is not a supported method in
this platform
((Control)DSetBtnPnl).TabIndex = 50;
Everything runs fine on the device. I figured if I casted the panel to a
control, it should treat it as a control.