messageBoxOKCancel.ed.gui 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(toolsMessageBoxOKCancelDlg) {
  3. profile = "GuiOverlayProfile";
  4. horizSizing = "width";
  5. vertSizing = "height";
  6. position = "0 0";
  7. extent = "640 480";
  8. minExtent = "8 8";
  9. visible = "1";
  10. helpTag = "0";
  11. new GuiWindowCtrl(MBOKCancelFrame) {
  12. profile = "ToolsGuiWindowProfile";
  13. horizSizing = "center";
  14. vertSizing = "center";
  15. position = "170 175";
  16. extent = "300 100";
  17. minExtent = "48 92";
  18. visible = "1";
  19. helpTag = "0";
  20. maxLength = "255";
  21. resizeWidth = "1";
  22. resizeHeight = "1";
  23. canMove = "1";
  24. canClose = "0";
  25. canMinimize = "0";
  26. canMaximize = "0";
  27. minSize = "50 50";
  28. text = "";
  29. new GuiMLTextCtrl(MBOKCancelText) {
  30. profile = "ToolsGuiMLTextProfile";
  31. horizSizing = "center";
  32. vertSizing = "bottom";
  33. position = "8 34";
  34. extent = "283 24";
  35. minExtent = "8 8";
  36. visible = "1";
  37. helpTag = "0";
  38. lineSpacing = "2";
  39. allowColorChars = "0";
  40. maxChars = "-1";
  41. };
  42. new GuiButtonCtrl() {
  43. profile = "ToolsGuiButtonProfile";
  44. horizSizing = "right";
  45. vertSizing = "top";
  46. position = "66 68";
  47. extent = "80 24";
  48. minExtent = "8 8";
  49. visible = "1";
  50. command = "MessageCallback(toolsMessageBoxOKCancelDlg,toolsMessageBoxOKCancelDlg.callback);";
  51. accelerator = "return";
  52. helpTag = "0";
  53. text = "Ok";
  54. simpleStyle = "0";
  55. };
  56. new GuiButtonCtrl() {
  57. profile = "ToolsGuiButtonProfile";
  58. horizSizing = "right";
  59. vertSizing = "top";
  60. position = "156 68";
  61. extent = "80 24";
  62. minExtent = "8 8";
  63. visible = "1";
  64. command = "MessageCallback(toolsMessageBoxOKCancelDlg,toolsMessageBoxOKCancelDlg.cancelCallback);";
  65. accelerator = "escape";
  66. helpTag = "0";
  67. text = "Cancel";
  68. simpleStyle = "0";
  69. };
  70. };
  71. };
  72. //--- OBJECT WRITE END ---