![]() |
No focus row rectangle wanted |
Post Reply
|
| Author | |
nighthawk
Senior Member
Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Quote Reply
Topic: No focus row rectangle wantedPosted: 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? |
|
![]() |
|
Zach
Groupie
Joined: 19 July 2006 Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
nighthawk
Senior Member
Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
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 |