Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Rc Problem...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Rc Problem...

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: Rc Problem...
    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
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2010 at 8:39am
Anybody there? :(
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
hjmueller View Drop Down
Newbie
Newbie


Joined: 29 March 2008
Location: Germany
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote hjmueller Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2010 at 1:09pm
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
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.172 seconds.