FlatEdit setmask problems |
Post Reply |
Author | |
Gianni62
Newbie Joined: 30 January 2013 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 30 January 2013 at 3:27pm |
Hi
I'm testing codejock control and I have a problem with SetMask method and flatedit in VB6.
When I use SetMask Method, the flatedit event KeyPress is never raised. Also some keys (like BackSpace,Del),work only in the event keyUp and not in KeyDown.
If I remove SetMask everything works fine. Try in an empty project Private Sub TC_KeyPress(KeyAscii As Integer)
End Sub
Private Sub Form_Load()
TC.SetMask "00:00:00:00", "__:__:__:__" End Sub Private Sub TC_KeyDown(KeyCode As Integer, Shift As Integer)
End Sub
Private Sub TC_KeyUp(KeyCode As Integer, Shift As Integer)
End Sub
Run the Project and Press Backspace in flatedit control .
The events KeyDown and KeyPress are not raised
Try to comment SetMask and try again. Now the events KeyDown and KeyPress are raised. It's a bug or I'm missing something? Regards Gianni |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |