Saturday, December 03, 2011

How to Make DTPicker Null in VB6

If you are struggling on how to declare DTPicker control become null in VB6
and you are in the right place at the right time, here is the simple steps like shown
on figure 1.0

                                 Figure 1.0

to make it clear, just right-click the DTPicker control and hit Properties and
the Property Pages Window will look like figure 1.0, and under General Tab
mark check the Check Box and your done, and if you want the DTPicker
control become null at any control event, the code will like this

Me.DTPicker1.Value = Null

then it will give a null value, that like the DTPicker control is disabled

Hope this will Help ^_^
The Hardest Thing to Do is to Do Nothing

0 comments to “How to Make DTPicker Null in VB6”

Post a Comment

Your Comment Here