Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2005

Tip: Looking for answers? Try searching our database.

dtpicker control changes position

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dave - 11 Jan 2005 06:05 GMT
hello
i have one unboudn checkbox and dtpicker control..
i had put code to disable or enable dtpicker control when checkbox turn on
or off accordingly...
but strange thins is when check box is turn on, dtpicker control moves its
position to top left section in form...
it works fine if check box is off...
couldnt understand whats going on
any help would be appreciated...
thanx
dave
Ken Ismert - 11 Jan 2005 17:42 GMT
Dave,

I've seen that too. I got disgusted enough with dtPicker quirks like
this to try writing my own Access-only version, but that started to
look like too much work.

What I did was: save the original Top and Left values of the dtPicker
in module-level variables in your form. Write a routine that not only
disables or enables your dtPicker, but sets its Top and Left to the
proper values.

Ugly, but hey, it works.

-Ken
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.