Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21281

How To Make DateTimePicker Like Control

$
0
0
Hi,

well, i'm making a control to be like datetimepicker, coz i need to change the backcolor of the text that the datetimepicker don't have.

so i make my own "datetimepicker", so i put masked textbox, command button and add a form that contain Monthview (call it frmMonth) control in my activex control project.

the problem is, when i displaying the frmMont with frmMont.visible in a non modal form, it's work in expected manner. but when i tried it in a modal form then the frmMont can't be show as expected, and if i show the frmMonth modally then i can't click to anywhere to hide the frmMonth as the Real DateTimePicker Control can do it.

my reason to put monthview in a form than in usercontrol is because i want to able to show the calendar even cross the border of Form window.

or is it any better idea?

thank you

Viewing all articles
Browse latest Browse all 21281


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>