Problems with VB modal/modeless forms and global variable 
Author Message
 Problems with VB modal/modeless forms and global variable

 I am having a problem, and it goes like this:

  I have a Global(flag) variable that gets updated on a form.  If I show the
form modal, the Global variable never gets updated, if I show it modeless,
the Global variable does get updated.  
  Does anyone know why this happens??  I for one am quite puzzled.  The code
sequence is the exact same for both situations except in one sequence I have
the statement " MODAL" (I have also tried " 1"), and in
the other sequence, I have the statement "" (also tried
" 0").  Only the latter statement works.

Things that make ME go hmmm....(I wonder if Arsenio knew VB, probably not).

Thanks in advance for any help given.
Loy Evans

Tue, 09 Dec 1997 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Problems with VB modal/modeless forms and global variable

2. Modal non MDI forms and Modeless MDI child forms in VB 5.0

3. Problems with modal/modeless forms

4. Problem with draw order after calling modal a modal from from a modal form

5. Modal Forms become modeless when minimized

6. modal form becomes modeless

7. Forms modal/modeless

8. Modal & Modeless Form in ActiveX EXE

9. Modal/modeless forms: Big, ugly, monstrous bug?

10. form must be modeless but should behave modal

11. modal - modeless form

12. Problem : access to global variable of MDI Child Form


Powered by phpBB® Forum Software