Losing ComboBox Button After SetIconIndex |
Post Reply |
Author | |
jslmsca
Newbie Joined: 28 February 2019 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 28 February 2019 at 8:05pm |
Hi, I've derived my own RecordItem from CXTPReportRecordItemText. I create the ReportControl and populate the rows. I call AddComboButton(TRUE) on each item's EditOptions. If I set an icon index at this point, the icon is displayed along with the combo button. However, I do not want the icons to be displayed until an active action by the user on my dialog. I've trapped the click notification through XTP_REPORTRECORDITEM_CLICKARGS at which point I call RecordItem->SetIconIndex. The icon is displayed but I've lost the combo button. I've tried redrawing the control and calling AddComboButton again in various places but without success. I'm at a loss as to what might be happening. The parent dialog is successfully receiving the notification XTP_NM_REPORT_VALUECHANGED and the underlying content seems fine. Any ideas are appreciated. Thanks.
|
|
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 |