>>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?
something i got out of the vb manual (surprise!)
vb can't have two modal forms at the same time, so they recommend putting a timer in (interval set to 1). when you hide the first modal form, the timer executes. now it thinks it isn't modal. before it returns to the calling program, it finishes the code in the click. now it loads the second modal form. when this closes, you finish the code in the button click on the first modal form. this redisplays the first form as modal.
stupid, don't you think?