Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listbox control always in front

Status
Not open for further replies.

simeybt

Programmer
Nov 3, 2003
147
GB
All,
I have this funny problem with my listbox control and my calendar control. I have a calendar control so when the pushes a button the calendar control pops up. This was working fine when I had it in access 97 .I recently upgraded to A2K now when the user selects the button the control pops up but it is always hide behind the list box that is contained on the form. The only way I can get round this is to hide the listbox control at the same time but this causes a bit of flicker. Anyone knows how to fix this without extra coding.

P.S. I have the calendar control set to be at the front m and the listbox to be at the back.
 
How are ya simeybt . . . . .

Is the calendar on the same form, previously hidden on same form, seperate form, . . . . what?

Calvin.gif
See Ya! . . . . . .
 
the calender is hidden on the same form as the list box. So whe the user hits a button the calender apperars.
 
simeybt . . . . .

Was able to simulate this . . . . . interesting. Could'nt get it to work either ([blue]send to front/back does'nt help[/blue]). Apparently something with painting the calrndar (ActiveX) is non-standard with Access. It looks like your stuck with setting the visible property to no.

Calvin.gif
See Ya! . . . . . .
 
thanks for the input TheAceMan1 at least i know I'm not doing something stupid. it's a weird one i know. it works fine in access 97!!!.

Simeybt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top