Print Page | Close Window

No focus row rectangle wanted

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=7237
Printed Date: 19 September 2024 at 10:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: No focus row rectangle wanted
Posted By: nighthawk
Subject: No focus row rectangle wanted
Date Posted: 25 May 2007 at 9:11am
I have a ReportControl that I don't want a focus rectangle to appear.  I can't disable the control because it still needs to be scrollable and clickable.  I tried using the code:

Set ReportControl.FocusRow = Nothing

in various events but it doesn't remove the focus rectangle.  Is there any built-in way or workaround to turn off the focus rectangle?



Replies:
Posted By: Zach
Date Posted: 27 May 2007 at 1:58pm
Ditto on this ... it would be nice
 
Only way I have found to remove the focus rectangle is to not let anything take focus... which works for my use... partiallly... but is not going to work most other times.


Posted By: jcollier
Date Posted: 08 June 2007 at 1:08pm
I am doing this right after .populate.

What mine would do is highlight the first row after populating the report.

so now it looks like this and no rows have focus until I click on one:

rpt.populate
rpt.rows(0).selected = False


Posted By: nighthawk
Date Posted: 08 June 2007 at 1:18pm
My problem is that I don't want any row to EVER have focus or be selected.  So when a user clicks on a row, nothing should be selected and no row should get focus.

The workaround I am currently using is to manually call the .SetFocus function for some other control from within the ReportControl_MouseDown event. 



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