lpcware

why the spinbox disable receive the input focus when use TAB key?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by ling3wei on Mon Nov 19 21:36:29 MST 2012
why the spinbox disable receive the input focus when use TAB key?
I will be using a Spinbox widget without a touch or mouse interface, only using the,tab, up, down, left, right,enter,space keys of a keyboard. the other widget is able to receive the input foucs but the spinbox can`t.
My code :
static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = {
  { FRAMEWIN_CreateIndirect, "", ID_FRAMEWIN_0, 0, 35, 331, 328, 0, 0, 0 },
  { BUTTON_CreateIndirect, "", ID_BUTTON_0, 68, 225, 85, 50, 0, 0, 0 },
  { BUTTON_CreateIndirect, "", ID_BUTTON_1, 202, 225, 85, 50, 0, 0, 0 },
  { SPINBOX_CreateIndirect, "", GUI_ID_SPINBOX0_11, 2, 2, 65, 40, 0, 0, 0 },
};

Outcomes