Sendkeys with FlatEdit control |
Post Reply |
Author | |
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
Posted: 30 July 2007 at 6:18am |
Hi, I have a form, with the following piece of code on Form_keydown:
Select Case KeyCode
Case vbKeyUp SendKeys "{Home}+{tab}" Case vbKeyDown SendKeys "{Tab}" End Select with Ms textbox, the event fires accordingly in that when user presses up/down, the cursor move to next/previous textbox.
Unfortunately, with Flatedit not working: up/down key strikes makes the cursor move left/right of the text in the textbox.
Is it my code, or the flatedit in the way it handles the sendkey?
please advise.
|
|
nvierros
Groupie Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |
Post Options
Thanks(0)
|
Try compliling the exe and running it, for some reason i get this problem in only a single portion of my program, when the controls are in a picture box, when compiled it runs as it should for some wierd reason..
|
|
joeliner
Senior Member Joined: 09 June 2006 Status: Offline Points: 273 |
Post Options
Thanks(0)
|
uploads/20070809_083109_vbproj.rar
hi thanks for that.
however i tried two flatedit controls on a form and the result aint any different. Just check out hte attached sample VB project. The up and down key moves the cursor left and right in the texbox but not to next control.
my environ:
OS - windows Vista
VB6 SP6
thanks.
|
|
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 |