delphi - How to change Caption of an event in TcxScheduler? -
How can one change the caption of an event in TCXSudular? I have tried the following code: cxScheduler.SelectedEvents [i] .Caption: = 'X'; CxScheduler.Invalidate; But the caption is obsolete until the current event changes. In addition, if you try to edit the caption by the Inface Editor and then cancel the editing mode, then you will see the obsolete again value. The correct caption should be saved on the screen and on the respective dataset. Thank you very much for the help! PS related DevExpress problem: DevExpress Team Solutions: This behavior arises from the fact that you have changed the caption of the control event, but not the TcxSchedulerEvent item. I recommend that you use the following code, instead: if cxScheduler.SelectedEventCount> 0 then cxScheduler.SelectedEvents [0]. Source.Caption: = 'X';