Print Page | Close Window

FocusedSubItem for the selected row

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=12532
Printed Date: 20 July 2025 at 12:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FocusedSubItem for the selected row
Posted By: Alexey2
Subject: FocusedSubItem for the selected row
Date Posted: 26 October 2008 at 11:38am
If FocusSubItems is enabled how to determine what subitem is selected?



Replies:
Posted By: Alexey2
Date 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?



Posted By: Aaron
Date 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....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net