![]() |
Empty report text with links |
Post Reply ![]() |
Author | |
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 235 |
![]() ![]() ![]() ![]() ![]() Posted: 04 July 2018 at 5:48am |
I have a report control and when there are no items I'd like to display the text "There are no items to show. Click here to do awesome stuff" using GetPaintManager()->m_strNoItems. How can I make the link work? It does support markup, but it cannot be clicked on. My current workaround is to create a header record with markup. |
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
![]() |
|
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 235 |
![]() ![]() ![]() ![]() ![]() |
I'd like to bring this issue up again - has anyone gotten links in the grid control to work using markup only (not using CXTPGridHyperlink)?
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
![]() |
|
markr ![]() Senior Member ![]() Joined: 01 August 2004 Status: Offline Points: 443 |
![]() ![]() ![]() ![]() ![]() |
Haven't tried it with report control, but what happens if you just add an event handler to the control's markup context? Is the delegate not firing?
|
|
![]() |
|
Fredrik ![]() Senior Member ![]() Joined: 22 June 2005 Status: Offline Points: 235 |
![]() ![]() ![]() ![]() ![]() |
Thanks, yes I have tried that. It is like the m_strNoItems text is read-only. But I see that CXTPGridControl::DrawNoItems(CDC* pDC, const CRect& rcClient) is virtual so perhaps something can be done with that.
|
|
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
|
|
![]() |
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 |