messageBoxYesNo.ed.gui 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(toolsMessageBoxYesNoDlg) {
  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(MBYesNoFrame) {
  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 = "1";
  25. canMinimize = "0";
  26. canMaximize = "0";
  27. minSize = "50 50";
  28. text = "";
  29. closeCommand = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.noCallback);";
  30. new GuiMLTextCtrl(MBYesNoText) {
  31. profile = "ToolsGuiMLTextProfile";
  32. horizSizing = "center";
  33. vertSizing = "bottom";
  34. position = "11 38";
  35. extent = "280 14";
  36. minExtent = "8 8";
  37. visible = "1";
  38. helpTag = "0";
  39. lineSpacing = "2";
  40. allowColorChars = "0";
  41. maxChars = "-1";
  42. };
  43. new GuiButtonCtrl() {
  44. profile = "ToolsGuiButtonProfile";
  45. horizSizing = "right";
  46. vertSizing = "top";
  47. position = "70 68";
  48. extent = "80 22";
  49. minExtent = "8 8";
  50. visible = "1";
  51. command = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.yesCallback);";
  52. accelerator = "return";
  53. helpTag = "0";
  54. text = "Yes";
  55. simpleStyle = "0";
  56. };
  57. new GuiButtonCtrl() {
  58. profile = "ToolsGuiButtonProfile";
  59. horizSizing = "right";
  60. vertSizing = "top";
  61. position = "167 68";
  62. extent = "80 22";
  63. minExtent = "8 8";
  64. visible = "1";
  65. command = "MessageCallback(toolsMessageBoxYesNoDlg,toolsMessageBoxYesNoDlg.noCallback);";
  66. accelerator = "escape";
  67. helpTag = "0";
  68. text = "No";
  69. simpleStyle = "0";
  70. };
  71. };
  72. };
  73. //--- OBJECT WRITE END ---