Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

Calling Userforms after Error?

$
0
0

Inanother post,it was suggested thatfordealingserrorsI could useUserForms,reallyliked the idea.
So Iuse it, I didsomething like this:


Sampleprocedure:

CT_2_2procedure;
begin

//test

end;

CT_2_4procedure;
begin

//test

end;

CT_2_5procedure;
begin

//test

end;


_________________________________________________

In another script I did so:

usestest;

procedure steps1;
begin
     try
       CT_2_2;
       CT_2_4;
       CT_2_5;
     except

       UserForms.TestUser.ShowModal;

     end;
end;

If an error occursinCT_2_2stepCT_2_4,CT_2_5, I would liketo opentheUserForms,butthat's not whathappens.
Could someone helpme?I thankthe collaboration.


Viewing all articles
Browse latest Browse all 20990

Trending Articles