native TAB support

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

TAB key support is apparently supported since SP2. However, if you use the
openNetCF GroupBox, once the focus is "inside" the GroupBox there is no way
to get out with the tab key and cycle through controls outside of the
GroupBox. Is this a know bug?

Thanks,
Sitar.
 
Is this a know bug?
It is now. I'll look into it and see what's going on, or not going on, in
this situation. Thanks.
 
Just a thought. The behavior with a OpenNetCF.DateTimePicker is similar (as I
mentionned in another post).
Could both problems be somehow related?

Thanks,
Sitar.
___
 
I believe that the problem, off the top of my head, is related to the fact
that the DateTimePicker is hosted by another control, so that certain
messages may be retrieved. The most likely case is that the hosting control
would be getting focus and at this point it should be passing focus to the
native (hosted) DateTimePicker. I know Peter was doing some work on the DTP
for V1.3, but I'm not sure if this was one of the issues he was addressing.
 
Currently in the latest source code the hosted controls will correctly
receive the focus and pass it to the hosted control, but currently pressing
the Tab key doesn't pass focus to the next control on the form (It beeps).
I'll try and see if this can be resolved for the v1.3 release.
The same issue is true when using the v1.3 DateTimePicker on Smartphone as
pressing the Up/Down keys currently edits the date rather than moving to the
next/previous control.

Peter
 
Hi OpenNetCF.org Team,
I have a DateTimpicker(SDF control)in my smart device
(WINCE.NET 4.2 device NOT A PPC).When the DTP recevied focus (in the
form_load() dtp.focus())

user selects a Date by using "." in my smart device.
I cant assign the selected date to a string/textbox.WHY???

(like dtp.sleecteddate property ?is it possible??)

1)
How can i move focus from dtpicker to another button in the form, so
that i can write manipulate this selecteddate using
button_click()/butn_keydown() event.

2) The dtp_ValueChanged()event couldnt capture the changed date..

3) The dtp_KeyDown()event didnt fire when i changed the dates ..

Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged

'DateTimePicker1.Text()

ddate = DateTimePicker1.Text.ToString

''here the newly changed date didint appear

MsgBox("newdate" & ddate)

End Sub


Private Sub DateTimePicker1_KeyDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles DateTimePicker1.KeyDown
If e.KeyCode = Keys.Enter Then
TextBox1.Text = DateTimePicker1.Text
Button1.Focus()
e.Handled = True
End If
End Sub

OR
is it a viable alternative to use MonthCalendar dtp control??if yes,
how can i resize the monthcalendar
control, so that end user can see have small monthcalendar.


Could Anybody please in the SDF team be able to show some light?

regds

das









Das Dexterity
 
Back
Top