text box contents sometimes invisible - why? 
Author Message
 text box contents sometimes invisible - why?

all the text boxes in my little 1-form program come up with invisible contents
when i run the program sometimes but not other times. some pc's it works,
on other it doesn't, and on others it seems to vary.

when it works sometimes, it will work from the VB "play" button, then if i do
a make exe, and run from the play button again, they are invisible.

the contents are still there and function properly.  i have never had this
probem in the many similar apps i've done. it seems to only misbehave on
windows 3.x machines, not win 95.

i don't play with the visible setting, or the colors, or the font (arial).

any ideas? PLEASE!?

regards,
               john lockhart   (please cc replys to email for speed if poss.)

   WRITING TIP FOR PROFESSIONALS: To make your writing more
   appealing to the reader, avoid "writing negatively." Use
   positive expressions instead.
   WRONG:  "Do not use this appliance in the bathtub."
   RIGHT:  "Go ahead and use this appliance in the bathtub." --Dave Barry



Tue, 19 May 1998 03:00:00 GMT  
 text box contents sometimes invisible - why?

Quote:

>all the text boxes in my little 1-form program come up with invisible contents
>when i run the program sometimes but not other times. some pc's it works,
>on other it doesn't, and on others it seems to vary.
[snip]
>it seems to only misbehave on
>windows 3.x machines, not win 95.

and i guess i should say i'm using VB3.

well, it seems it is a problem (bug?) with multi-line text boxes under
windows 3.1. when i set muti-line back to false it fixes the problem.
has anyone else found this or if it's just me, what am i doing wrong?

incidentally i used the multi-line setting purely becuase (and the
help file documents this), the alignment property only works with
multi-line. why on earth is this?

any response this time folks? please...

   - john lockhart

"I believe there is a world-wide market for about 5 (five)
computers"
Thomas J. Watson, Chairman of IBM, 1943



Sun, 24 May 1998 03:00:00 GMT  
 text box contents sometimes invisible - why?

Quote:

>well, it seems it is a problem (bug?) with multi-line text boxes under
>windows 3.1. when i set muti-line back to false it fixes the problem.
>has anyone else found this or if it's just me, what am i doing wrong?

you will need to manipulate the back and/or fore colors of multi line
textboxes.  there is a documented bug in that they incorrectly reset the
back color of the text box at runtime.  this is in the VB KB

- M



Tue, 26 May 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Using Contents of text box on form for Table name

2. Script only works sometimes..why?

3. Adding text box contents under VBA

4. Contents of txt file in text box

5. automating replacement of 'text box' content

6. How to validate text box contents in validating event as well as assignment

7. How to transfer text box content to the Subject line from an E-Mail client

8. Converting the contents of a text box to items in a list

9. Adding contents of text boxes

10. Saving the content of several RTF text boxes on single file

11. Assigning text box content to array

12. Printing the contents of a text box.

 

 
Powered by phpBB® Forum Software