Thanks Tim.
And, Doh ! I just realized that XAML is WIndows only… But it is nice to know.
Thanks Tim.
And, Doh ! I just realized that XAML is WIndows only… But it is nice to know.
This control looks almost identical from Einhugur and Xojo. I simply dragged and dropped both into a window and then started the app in the debugger to quickly take screenshots.
The screenshot is how Xojo shows the DateTimePicker on Windows. Mac looks/behave different as Xojo is using native controls (offered by the OS).
If you prefer the same look on different OS, then your own or a third-party (like Einhugur) is what you need.
Thanks.
I get an eye on Apple Documentation, made a google search and found / watch the video. The video may be excellent, but the guy never display the code result, only a black screen with code all along !
NSDatePicker has a property named drawsBackground. Have you tried setting that to false with a declare?
#If TargetMacOS
// @property BOOL drawsBackground;
Declare Sub setDrawsBackground Lib "Foundation" Selector "setDrawsBackground:" (obj As Ptr, value As Boolean)
setDrawsBackground(DateTimePicker1.Handle, False)
#EndIf