Rc Problem... |
Post Reply |
Author | |
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
Posted: 17 January 2010 at 3:46am |
hi All
Please help me how check this column by keyboard? I don't want use mouse and when insert this task checkable this column. Thanks |
|
________________________________
http://www.amootco.com Amoot Data Processing |
|
mozaheb
Senior Member Joined: 03 April 2008 Status: Offline Points: 104 |
Post Options
Thanks(0)
|
Anybody there? :(
|
|
________________________________
http://www.amootco.com Amoot Data Processing |
|
hjmueller
Newbie Joined: 29 March 2008 Location: Germany Status: Offline Points: 7 |
Post Options
Thanks(0)
|
You can Do this by checking the state in the Keydown Event:
(in my example mGrid ist the ReportControl and mEditRow ist the FocusedRow)
Private Sub mGrid_KeyDown(KeyCode As Integer, Shift As Integer)
On Error Resume Next If Shift = 0 Then
Select Case KeyCode Case vbKeySpace If mEditMode Then If mEditRow.Record(mEditIndex).HasCheckbox Then mEditRow.Record(mEditIndex).Checked = Not mEditRow.Record(mEditIndex).Checked mEditRow.Record(mEditIndex).Value = mEditRow.Record(mEditIndex).Checked End If End If end Select End If End Sub |
|
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 |