I agree with Steve, FormSets can be confusing and don't lend themselves to modular thinking or construction...
Also, use Modal property sparingly, since you never know when there may be a legitimate need to return focus to a previous Form. Not good to lock someone in w/o a good reason.
In general, use separate forms with the Top-Level (or In-TopLevel) and AlwaysonTop (if needed) features instead, and then Release() or Hide() them when you are done. The previous form on the stack will be activated automatically.
HTH,
-Irv.
>I create a formset with two form
>I set the Windowtype to modal for the formset then I set the windowtype to mode for the second form when I click on the button the form2 appear however still the first form is active and it cause me a problem when i clicked on the first form the second disappear when I cannot load it. I try several way not to activate the first form when the second is active but I gave up
>any help thank you
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement