//--- OBJECT WRITE BEGIN --- new GuiControl(NewsPostDlg) { profile = "GuiModelessDialogProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "0 0"; extent = "640 480"; minExtent = "8 8"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; new ShellWindowCtrl(NP_Window) { profile = "ShellWindowProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "85 39"; extent = "470 373"; minExtent = "388 209"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; text = "SUBMIT NEWS"; maxLength = "255"; frameBase = "gui/window"; borderWidth = "2"; resizeWidth = "1"; resizeHeight = "1"; canMove = "1"; canClose = "1"; closeCommand = "Canvas.popDialog( NewsPostDlg );"; new GuiTextCtrl() { profile = "ShellTextRightProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "3 40"; extent = "60 22"; minExtent = "8 8"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; text = "Category:"; maxLength = "255"; }; new ShellPopupMenu(NewsCategoryMenu) { profile = "ShellPopupProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "60 31"; extent = "175 36"; minExtent = "49 36"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; maxLength = "255"; maxPopupHeight = "200"; buttonBitmap = "gui/shll_pulldown"; rolloverBarBitmap = "gui/shll_pulldownbar_rol"; selectedBarBitmap = "gui/shll_pulldownbar_act"; noButtonStyle = "0"; }; new GuiTextCtrl() { profile = "ShellTextRightProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "3 70"; extent = "60 22"; minExtent = "8 8"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; text = "Title:"; maxLength = "255"; }; new ShellTextEditCtrl() { profile = "NewTextEditProfile"; horizSizing = "width"; vertSizing = "bottom"; position = "59 62"; extent = "405 38"; minExtent = "32 38"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; variable = "$NewsTitle"; helpTag = "0"; maxLength = "48"; historySize = "0"; password = "0"; tabComplete = "0"; deniedSound = "InputDeniedSound"; glowOffset = "9 9"; }; new ShellScrollCtrl() { profile = "NewScrollCtrlProfile"; horizSizing = "width"; vertSizing = "height"; position = "11 97"; extent = "448 236"; minExtent = "24 52"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; willFirstRespond = "1"; hScrollBar = "alwaysOff"; vScrollBar = "alwaysOn"; constantThumbHeight = "0"; defaultLineHeight = "15"; childMargin = "3 3"; fieldBase = "gui/shll_field"; new GuiScrollContentCtrl() { profile = "GuiDefaultProfile"; horizSizing = "width"; vertSizing = "height"; position = "7 7"; extent = "418 222"; minExtent = "8 8"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; new GuiMLTextEditCtrl(NewsPostBodyText) { profile = "ShellMessageTextProfile"; horizSizing = "width"; vertSizing = "height"; position = "0 0"; extent = "418 222"; minExtent = "8 8"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; helpTag = "0"; lineSpacing = "2"; allowColorChars = "0"; maxChars = "3600"; deniedSound = "InputDeniedSound"; }; }; }; new ShellBitmapButton() { profile = "ShellButtonProfile"; horizSizing = "right"; vertSizing = "top"; position = "93 333"; extent = "100 38"; minExtent = "32 38"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; command = "Canvas.popDialog(NewsPostDlg);"; accelerator = "escape"; helpTag = "0"; text = "CANCEL"; simpleStyle = "0"; }; new ShellBitmapButton() { profile = "ShellButtonProfile"; horizSizing = "left"; vertSizing = "top"; position = "277 333"; extent = "100 38"; minExtent = "32 38"; visible = "1"; hideCursor = "0"; bypassHideCursor = "0"; command = "PostNewsProcess();"; helpTag = "0"; text = "SUBMIT"; simpleStyle = "0"; }; }; }; //--- OBJECT WRITE END ---