I have a tabpage that autoresizes based on the following code:
The question would be: How do I have the tabpage (this is on version 2 of .net fw) to automatically scroll to whatever box/checkbox/combobox the user has selected before tapping the inputpanel(keyboard)? Currently the tabpage will by default scroll to the top of the resized page.
Any tips would be welcome. If I haven't explained clearly, ask away, thanks.
Code:
Private Sub InputPanel1_EnabledChanged(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles InputPanel1.EnabledChanged
visiblerect = InputPanel1.VisibleDesktop.Height
If InputPanel1.Enabled = False Then
TabControl1.Height = taboriginalheight
Else
visiblerect = InputPanel1.VisibleDesktop.Height
TabControl1.Height = visiblerect
End If
End Sub
The question would be: How do I have the tabpage (this is on version 2 of .net fw) to automatically scroll to whatever box/checkbox/combobox the user has selected before tapping the inputpanel(keyboard)? Currently the tabpage will by default scroll to the top of the resized page.
Any tips would be welcome. If I haven't explained clearly, ask away, thanks.