P
Peter Judge
Guest
An alternative to creating an override is to force the AppError to put the message into the message stack (not the return value). Do this by using the (char, int) constructor. def var whoopsie as Progress.Lang.AppError. whoopsie = new AppError('bah humbug'). message whoopsie:ReturnValue skip // bah humbug whoopsie:GetMessage(1) // view-as alert-box error. whoopsie = new AppError('bah humbug', 0). // ? also works message whoopsie:ReturnValue skip // whoopsie:GetMessage(1) // bah humbug view-as alert-box error.
Continue reading...
Continue reading...