How to set FocusedRow to NOTHING? |
Post Reply |
Author | |
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
Posted: 26 August 2007 at 10:44am |
I need to set the ReportControl to non focused row.
SET repctrl.FocusedRow = NOTHING doesn't work!
Setting the Highlight-Color to Report-BackColor is also no solution, because there is also a rectangle arround a focused row!
Please what is the right way?
|
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
I brought this up a while ago but never got a response. My workaround is to set the highlight color to the report backcolor AND in the ReportControl_MouseDown() event, I manually call the .SetFocus function on another control on the form. Once the ReportControl loses focus, the focus rectangle will go away.
|
|
Jebo
Senior Member Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
Post Options
Thanks(0)
|
THX, i go this way...
Dim rec As ReportRecord
With ReportControl
Set rec = .Records.Add()
rec.AddItem "" .Populate .FocusedRow = .Rows.FindRow(rec) .Records.RemoveAt rec.Index .Populate
End With
...but both are only workarounds.
Hope that Codejock will give us in one of the next releases the possibility to Set RepCntrl = Nothing.
|
|
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 |