Hello In the course Calender Seminar, the text box Day1 is created above the text box Date1, how do you overlap the text box Day1 over the text box Date1 Tried the Place at the Front button, but it doesn't work? Where is the VBA code inserted for the overlapping to work?
Kevin Robertson
@Reply 6 months ago
Date1 is a Text Box.
Day1 is a List Box.
You can't have a control overlapping a List Box.
If that's not what you are trying to do please elaborate.
Ewa GustafssonOP
@Reply 6 months ago
Ewa GustafssonOP
@Reply 6 months ago
Thanks for your reply, then I understand the reason why it didn't work. Want it to look like this
Ewa GustafssonOP
@Reply 6 months ago
Is there a way to change it so it can look like the picture?
Is it possible to format the Text Box with the same format as the List box?
That is, if Monday, November 25th is gray in the list box, the text box will also be gray
Kevin Robertson
@Reply 6 months ago
Just make the backcolor of the Text Box equal to the backcolor of the List Box.
TextBoxName.Backcolor = ListBoxName.Backcolor
Ewa GustafssonOP
@Reply 6 months ago
It worked great, but I have to click in the text box to get the same format. As soon as I click in the ListBox or in another ListBox, the format is the same as before. Could it be due to BeforeUpdate?
Ewa GustafssonOP
@Reply 6 months ago
Have made a calendar and wonder if it is possible to overlap a text box over a list box in a form.
No, unfortunately, that's just one of the properties of a list box; it's always on top of other controls. There's really no way to do that. There is a trick you could do, which is to put the list box in a subform, but then you have to ask yourself why you are doing this. Why would you want to have a list box underneath another text box?
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Calendar Seminar Lessons.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.