Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - FocusedSubItem for the selected row
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FocusedSubItem for the selected row

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


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Topic: FocusedSubItem for the selected row
    Posted: 26 October 2008 at 11:38am
If FocusSubItems is enabled how to determine what subitem is selected?
Back to Top
Alexey2 View Drop Down
Senior Member
Senior Member


Joined: 24 September 2006
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alexey2 Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2008 at 11:41am

For example I want to delete the contents of the subitem by pressing delete key. Is it possible?

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2008 at 12:12pm
Hi,
 
You could try this in KeyDown event:
 
 
If KeyCode = 46 
    wndReportControl.FocusedRow.Record(wndReportControl.FocusedColumn.Index).Value = Nothing
or
    wndReportControl.FocusedRow.Record(wndReportControl.FocusedColumn.Index).Caption = " "
 
    wndReportControl.Redraw
End If
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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.