Form Design View - Listbox Always In The Foreground

  • Thread starter christopher.j.welch1.ctr
  • Start date
C

christopher.j.welch1.ctr

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
 
L

Linq Adams via AccessMonster.com

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top