|  | 
| SetShowInplaceButtonsAlways | 
| Post Reply   | 
| Author | |
| larryp   Groupie   Joined: 15 January 2005 Location: United States Status: Offline Points: 61 |  Post Options  Thanks(0)  Quote  Reply  Topic: SetShowInplaceButtonsAlways Posted: 23 March 2009 at 5:52pm | 
| 
   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 | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 24 March 2009 at 8:20pm | 
| 
   I think that this is how sample ReportItemControls works - check MFC Sample code
    | |
|  | |
| mdoubson   Senior Member     Joined: 17 November 2008 Status: Offline Points: 1705 |  Post Options  Thanks(0)  Quote  Reply  Posted: 25 March 2009 at 10:18am | 
| 
   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 |  Post Options  Thanks(0)  Quote  Reply  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 
    | |
|  | |
| 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 |