The JADE 2022 release meets tomorrow’s business demands.
HistoricalComments
Brian Johnstone 29/11/2017 10:37:08 AM
Further to Ty's comment, you could do this by implementing app.msgBox at your own schema level, so all the existing referencing code doesn't need changing. You can then, within the limitations of the integer bit-mask, extend it to have some additional built-in button caption options using the remainder of the lower bits. You still won't be able to do 'arbitrary' captions, for that you'd need a new method rather than over-riding app.msgBox, but with values 6 through 15 to play with that gives you another 10 possible button caption combinations using the remaining lower bits of the bit-mask. Ty Baen-Price 28/11/2017 11:46:03 AM The app::messageBox method is essentially just a wrapper for the Windows MessageBox function, which does not allow such customisation. It has a fairly limited set of use-cases, by design. If you want a fully customisable form, you should make one yourself. |
We have re-implemented app.msgBox to
- display our own Form (nicer icons etc)
- catch any msgBox in Transaction State scenario that would cause locking issues
We have also implemented app.msgBoxWithGotIt to
- allow the User to tick a checkbox and not see the msgBox again
and app.msgBoxWithLabels(msg: String; title: String; flags: Integer; pLabel1, pLabel2, pLabel3 : String): Integer; to
- achieve what has been requested on this thread.