but how to add a DateTiemPicker on a Panel of tabpage ?
Like this
Code:
AddObject("DTpicker", "DateTimePicker") ' you could also add it in the IDE as usual DTpicker.New1("Form1",0,0,120) ' create it on a form Tab1.AddControl(DTpicker.ControlRef,0, 20, 20) ' move it to the required tab page
It is there but your panels are too big and in the wrong place and so are hiding it. If you really wanted to put the DateTimePicker on a Panel rather than a TabControl as you usaid then you need to use FormLib.ChangeParent.