![]() |
SetShowInplaceButtonsAlways |
Post Reply ![]() |
Author | |
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() Posted: 06 August 2009 at 7:26pm |
See post - https://forum.codejock.com/forum_posts.asp?TID=14919 with result of this feature (ShowInplaceButtonsAlways) implementation
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
Add triangle image into your image list
use simple extra code while you adding items to new record (say image # 10)
e.g.
CXTPReportRecord* pRecord = wndReport.AddRecord( new CTaskRecord(.....CXTPReportRecordItem* pItem = pRecord->GetItem(COLUMN_STATUS);pItem->SetIconIndex(10);
pItem->SetAlignment(xtpColumnIconRight);
Now you will always see combobox-like arrow in your non-active cell
You can do similar mimic for other in-place buttons using related images *like [...])
See static app https://forum.codejock.com/uploads/DemoVersion/ReportSampleSatic.rar (open Task!) |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
I think that this is how sample ReportItemControls works - check MFC Sample code
|
|
![]() |
|
larryp ![]() Groupie ![]() Joined: 15 January 2005 Location: United States Status: Offline Points: 61 |
![]() ![]() ![]() ![]() ![]() |
The property grid has a method "SetShowInplaceButtonsAlways". Is there a way to always show the buttons in the report control? I want the combobox button to always show.
--Larry
|
|
![]() |
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 |