TDateTimePicker in ScaleRichView does not work correctly
Posted: Wed Jan 29, 2014 11:27 am
I used this code to insert a TDateTimePicker control into the ScaleRichView
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.
Code: Select all
var
c: TDateTimePicker;
begin
c := TFwkDatePicker.Create(nil);
c.Parent := DBSRichViewEdit1.ActiveEditor;
c.Name := 'DatePicker';
c.Kind := dtkDate;
DBSRichViewEdit1.ActiveEditor.InsertControl('teste', c, rvvaAbsMiddle);
end;