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