RichTextBox1.SetFocus - Why doesn't this work? 
Author Message
 RichTextBox1.SetFocus - Why doesn't this work?

I get "Runtime error 5, Invalid procedure call or argument" whenever I try to
SetFocus a RichTextBox control.  I've made sure that it's Enabled property is
True.  

Can anyone think of a way to ensure the RichTextBox has focus without using
SetFocus?  I've tried Enabled and Refresh, neither work.

Dan



Fri, 04 Aug 2000 03:00:00 GMT  
 RichTextBox1.SetFocus - Why doesn't this work?


Quote:

> I get "Runtime error 5, Invalid procedure call or argument" whenever I try to
> SetFocus a RichTextBox control.  I've made sure that it's Enabled property is
> True.  

What about Visible property ?

                TitO

Ce message n'a t crit ni par mon poisson rouge, ni par mon chien,
n'est pas une vrit absolue, et ne reprsente en rien un engagement
pour mon employeur (http://www.atechsys.fr) !



Sat, 05 Aug 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Why doesn't SetFocus work fast enough?

2. Why oh why doesn't this work?

3. .SetFocus doesn't always work

4. .SetFocus doesn't always work

5. Why LoadPicture() works on local pathes and doesn't work on the URLS

6. Code doesn't work, why?

7. Why doesn't this MAPISendMail work?

8. Why doesn't this button work?

9. SQL in VB doesn't work - why?

10. Why doesn't this work?

11. Why doesn't this work???

12. Why doesn't this work?!!

 

 
Powered by phpBB® Forum Software