|
Simulating Android/iPhone/WM7 September 08, 2011 02:54PM |
Registered: 1 year ago Posts: 34 |
private void showKeyboard(ref BeeMobile.RoundTextBox.RoundTextBox InputControl, ref BeeMobile.TransparentControls.TLabel InputControlLabel)
{
if (keyboardControl1.Visible == true)
{
hidekeyboard(ref InputControl, ref InputControlLabel);
}
else
{
ctrlOriginalPos = InputControl.Location;
ctrlOriginalSize = InputControl.Size;
lblOriginalPos = InputControlLabel.Location;
lblOriginalSize = InputControlLabel.Size;
keyboardControl1.Dock = DockStyle.Bottom;
keyboardControl1.Height = 314;
keyboardControl1.Width = 480;
pnlMenu.Visible = false;
keyboardControl1.Visible = true;
keyboardControl1.BringToFront();
InputControl.Dock = DockStyle.Bottom;
InputControl.BringToFront();
InputControlLabel.Dock = DockStyle.Bottom;
InputControlLabel.BringToFront();
}
}
private void hidekeyboard(ref BeeMobile.RoundTextBox.RoundTextBox InputControl, ref BeeMobile.TransparentControls.TLabel InputControlLabel)
{
keyboardControl1.Visible = false;
InputControl.Dock = DockStyle.None;
InputControl.Location = ctrlOriginalPos;
InputControl.Size = ctrlOriginalSize;
InputControlLabel.Dock = DockStyle.None;
InputControlLabel.Location = lblOriginalPos;
InputControlLabel.Size = lblOriginalSize;
|
Re: Simulating Android/iPhone/WM7 September 09, 2011 04:29AM |
Admin Registered: 2 years ago Posts: 183 |
|
Re: Simulating Android/iPhone/WM7 September 29, 2011 02:48PM |
Registered: 1 year ago Posts: 34 |