Custom control inplace edit |
Post Reply |
Author | |
apautrot
Groupie Joined: 16 April 2009 Location: France Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 30 August 2012 at 5:16am |
Hi I'd like to have a custom item control, lets say a simple text that display an inplace edit button when it is focused, and only when focused. I can't find anything related to that. Samples are showing custom controls that have button that are always present. I'd like my inplace buttons being shown only when the control is focused. I can add buttons, and remove them as I want, but I can't find an entry point like "OnControlFocused", "OnControlLeaved". I tried to override OnBeginEdit / OnCancelEdit but the OnCancelEdit is not called if there isn't an inplace edit control. In my case, I don't want one. The field I have is not editable by hand, it is with inplace buttons.
Is there a simple and right way to accomplish that ? Is there a virtual method on CXTPReportControlItem that is called when the item is no more focused, when focus leave this control ? Thank you.
|
|
Win 7 x64 VS 2008 CJ 15.13 |
|
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 |