Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - FlatEdit setmask problems
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FlatEdit setmask problems

 Post Reply Post Reply
Author
Message
Gianni62 View Drop Down
Newbie
Newbie


Joined: 30 January 2013
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gianni62 Quote  Post ReplyReply Direct Link To This Post Topic: FlatEdit setmask problems
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.