DateTimePicker control
DateTimePicker control
05 Feb 2025, 21:05
Hi.
Currently there is not DateTimePicker
control for plugins.
I tried to see if I can add a DateTimePicker
inside the plugin form but when using AddChild
it requires the control to be a child of ControlBase
and as such it can't.
Also, CustomControl
does not support using WinForms or WPF components inside it. As such, I can't create a DateTimePicker
control by adding it inside a custom control and I will have to recreate the wheel (write a DateTimePicker from scratch).
The only way to currently do it is from a cAlgo.Button
, open a WinForms or WPF form (in its onclick event) and have the DateTimePicker
control there and somehow exchange the values back. This is really crazy as I will have to do the tricks with the STAThread, etc.
Any other advice?
Thanks
Efthymios Kalyviotis