focus on a grid in a pane |
Post Reply |
Author | |
Robbbi
Newbie Joined: 16 May 2013 Location: Italy Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 16 May 2013 at 1:30am |
Hello ! I have a problem,
I have two pane, one with a truedbgrid and another with a web browser. Clicking on a grid the web browser show the relative attacched file like html or pdf. When the attacched file is displyed the pane with the grid lost focus. Attempting to navigate the grid with KeyUp event the grid lost focus and to replace it is necessary to click on a grid with mouse. Is there a way to set focus on a grid every time I click on up or down key after web browser show the attacched file ? Private Sub TDBGrid1_KeyUp(KeyCode As Integer, Shift As Integer) If Rs_GrEmail.EOF = False Then formAtt.WB1.InnerHTML = Rs_GrEmail("HTMLBody") End If now focus remain on formAtt (tdbgrid1.setfocus don't work) End Sub Thank you everybody help me ! |
|
Rob
|
|
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 |