ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
- Posts: 53
- Joined: Wed Dec 25, 2013 3:02 am
I used this code to insert a TDateTimePicker control into the ScaleRichView
Code: Select all
c := TFwkDatePicker.Create(nil);
c.Parent := DBSRichViewEdit1.ActiveEditor;
c.Name := 'DatePicker';
c.Kind := dtkDate;
DBSRichViewEdit1.ActiveEditor.InsertControl('teste', c, rvvaAbsMiddle);
But the TDateTimePicker does not work correctly. When I clicked on the calendar button the window to select a date appears somewhere, but not below TDateTimePicker as expected.
- Site Admin
- Posts: 14834
- Joined: Sat Aug 27, 2005 10:28 am
Unfortunately, it cannot be fixed. Controls are not really placed in positions where you see them, so they cannot display popup windows correctly.
We created TSRVComboBox control to solve this problem for combo boxes. Probably, in future, we will create TDateTimePicker analog too.