By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,153 Members | 2,581 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,153 IT Pros & Developers. It's quick & easy.

Control visiblilty of a text box on a Tab Control

P: n/a
Hey, thanks for reading my question.

I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.

What am I missing? Any one got any suggestions.

Nov 13 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
N. Graves wrote:
Hey, thanks for reading my question.

I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.

What am I missing? Any one got any suggestions.


Is your code behind your combobox still there? When you move an object
(cut and paste) to a tab control the event procedure code is "lost". You
may note that your Event Procedure is not there anymore in your combobox
properties.. but when you click on the build button it will bring up the
code... and upon returning the Event Procedure reappears!

An Access quirk:)
--
regards,

Bradley
Nov 13 '05 #2

P: n/a
Is it possible that your text box is behind the tab control?

Peter De Baets
Peter's Software - MS Access Tools for Developers
http://www.peterssoftware.com

N. Graves <ng*****@yahoo.com> wrote in message news:<7a********************************@4ax.com>. ..
Hey, thanks for reading my question.

I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.

What am I missing? Any one got any suggestions.

Nov 13 '05 #3

P: n/a
Thank you very much. I could see the code in the Code editor but I
did not look to see the Event Procedure.

Thanks!

N. Graves

On Wed, 02 Jun 2004 03:11:55 GMT, "Bradley"
<br*****@REMOVETHIScomcen.com.au> wrote:
N. Graves wrote:
Hey, thanks for reading my question.

I'm using a combo box to control the visibility of a text box. When I
make a change to the combo box it will set the visible property to
true on a text box. When I had these objects not on the Tab Control
everything worked great. Now with these object on the tab control and
I open the form the vicinity works but when I change the combo box
which set the visibility nothing changes.

What am I missing? Any one got any suggestions.


Is your code behind your combobox still there? When you move an object
(cut and paste) to a tab control the event procedure code is "lost". You
may note that your Event Procedure is not there anymore in your combobox
properties.. but when you click on the build button it will bring up the
code... and upon returning the Event Procedure reappears!

An Access quirk:)


Nov 13 '05 #4

P: n/a
Thank you for your support!

The code was there but it lost the Event Procedure.

I took a look at your website. Very interesting stuff!!

N. Graves
On 2 Jun 2004 00:12:40 -0700, in**@peterssoftware.com (Peter De Baets)
wrote:
peterssoftware.com


Nov 13 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.