Languages

Menu
Sites
Language
Key with dot

Hello all. I need a keyboard for typing values with floating point, but style "EDIT_FIELD_STYLE_NUMBER" doesn't have it. How can I add key with to keyboard?

Regards.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
hgw7
Hi, You can implement the Tizen::Ui::IInputConnectionEventListener & Tizen::Ui::IInputConnectionProvider interfaces, and bind the EditField to the required Input Panel. Tizen::Ui::Controls::EditField* __pEditField; Tizen::Ui::InputConnection* __pInputConnection; __pEditField = new EditField(); __pEditField->Construct(Rectangle(20, 30, 500, 200), EDIT_FIELD_STYLE_NORMAL, INPUT_STYLE_OVERLAY, false, 20, GROUP_STYLE_NONE); AddControl(__pEditField); __pInputConnection = new InputConnection(); __pInputConnection->Construct(__pEditField, *this, *this); __pInputConnection->BindInputMethod(); __pInputConnection->SetInputPanelStyle(INPUT_PANEL_STYLE_NUMBER); Can show the input panel when editfield is pressed using the following: __pInputConnection->ShowInputPanel();
Smith
OH! Thank you for code! I try right now!)