Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VbModal & Out of Stack Space Infinite loop
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00013520
Message ID:
00013569
Views:
30
>>our solution:
>>
>>first add a timer to the first modal screen.
>>click code for the button:
>>
>>MorePeople.Hide
>>Timer1.Enabled = True
>>Timer1.Enabled = False
>>People_Expertise.Show 1
>>Timer1.Enabled = True
>>Timer1.Enabled = False
>>MorePeople.Show 1
>>Unload People_Expertise
>>
>>-- end of code
>>it works but a 'robust' language shouldn't force kludge code for something this simple...
>
>I probably missed the point here...or it's my cat again...or both...What's the Timer for?

The help file describes this behavior and discusses the preferable solution is to use a timer. Check out the VB help and perform a search on modal. The topic is Aviod Hiding and Showing a Modal Form in the same event or something like that... Thanks for you input, but I am 99% sure a timer will do the trick. Why I need a timer is beyond my realm of comprehension. MS states this behavior is by design... In other words, a real screw up on their part that may be fixed in the next release in January... Talk at U Later...
Steve Medvid
Systems Analyst

Environmental Resource Management
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform