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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disappearing text in Form

Status
Not open for further replies.

Allilue

Technical User
Joined
Sep 14, 2000
Messages
189
Location
GB
I have a textbox to input text into. But everytime I type something in the textbox, it disappears. Well, actually, it's still there, but it doesn't stay in view. For example, if I press {F2} then I can see the text that was typed, but not when just viewing the textbox in the Form. Does something have to be set, or perhaps have I set something in the Properties section by accident? [sig][/sig]
 
Check to make sure that your font color is not the same as your background color. [sig]<p>Mike Rohde<br><a href=mailto:rohdem@marshallengines.com>rohdem@marshallengines.com</a><br>[/sig]
 
Sorry. I don't mean it's disappearing that way. I mean that when I type in text, and then press enter to go to the next field, the text is not seen in view. Rather, it is &quot;in the next line&quot; like when you press ENTER. But how do you get it to stay in view? I am also having trouble moving within the subform. It seems that I can't just &quot;click&quot; to go to a field. I have to use the TAB keys. It's probably something in my properties, but I've changed almost everything and no luck... [sig][/sig]
 
If you go into the properties of the text box, under the 'other' tab, there is a property called 'enter key behavior', which needs to be set to &quot;default&quot;.

As for your problem with the subform, I would double check the 'enabled' and 'locked' properties of the text box and the subform control. Maybe someone else can give you better advice on this problem. [sig]<p>Mike Rohde<br><a href=mailto:rohdem@marshallengines.com>rohdem@marshallengines.com</a><br>[/sig]
 
I checked Properties, and the text box is already set to Daefault under the Key behaviour. And the text boxes are both enabled. Since these are the only two fields that require input by users, I disabled everything else in the subform, but have enabled the comments boxes.

[sig][/sig]
 
Okay, I know what is causing the problem...but I still don't know how to solve it.

The reason why the text &quot;disappears&quot; is because I have another textbox underneath that changes background colour based on some criteria. I did this so that users would know where input was needed in the subform. The problem is that when the criteria is met, the background box turns white...which is what it's supposed to do. However, when text is entered, it is covered by the background. Is there a way to adjust the background text box so that the text will appear? I got a sample DB from John Gilman that has a similar feature (Cool Stuff) and it seems to work fine there. I can't see what I am doing that's different! ??? [sig][/sig]
 
what color is your text? what color is the background before text is entered? For instance, if your background color was set to red and the text color was set to white before the update of the text box, and then the background color was changed to white on the after update, the text would be the same color as the background. [sig]<p>Mike Rohde<br><a href=mailto:rohdem@marshallengines.com>rohdem@marshallengines.com</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top