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 / April 2008

Tip: Looking for answers? Try searching our database.

Form Design View - Listbox Always In The Foreground

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
christopher.j.welch1.ctr@navy.mil - 11 Apr 2008 21:43 GMT
This should be simple, but I can't figure it out.  Nor can google.  So
I need some help.

I have a form with various controls - including a couple of text boxs
I want to use for collecting date information from users.  The
textboxes are located near the top of the form.  Below the text boxes
are several listboxes that will display information based upon user
input, to include the dates entered into the text boxes.

In order to constrain the date input, I am using the Calendar Control
11.0.  On clicking in the text box, the calendar pops up.  As the user
clicks a date, the date is entered into the textbox and the calendar
disappears.

All of my controls have a tab control as the parent.

The issue here is the listbox zorder.  I cannot seem to push it into
the background.  When the calendar component pops up, part of it is
obscured by the listbox.  As a matter of fact, I cannot get any other
control on the interface to sit on top of the listbox.

So the question is: how can the listbox be moved backward in the
zorder - in design view or programmatically?

This is a bit vexing, as the listbox seems to have its own
'personality' when it comes to this rather conventional task of form
layout.

All help is appreciated.

Chris
Linq Adams - 12 Apr 2008 00:35 GMT
It doesn't appear that it can be moved to the back, probably because the
developers at Micro$oft never thought you'd want anything in front of it,
which makes sense, if you think about it!

Why not set the Visible Property of the listbox to False when the calendar is
called, then set it  back to True when you make the calendar disappear?

Signature

There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

 
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.