[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Changing PASOE agent logging dynamically

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top