From 2ed9d3fdfb6ecac343f31a54944d97fa42641222 Mon Sep 17 00:00:00 2001 From: Armando Rivera Date: Fri, 13 Jan 2023 02:31:48 -0500 Subject: [PATCH] Removed size-grip from RAEdit object --- Aide.bas | 4 ++-- raedit.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Aide.bas b/Aide.bas index a79c037..b7ebce1 100644 --- a/Aide.bas +++ b/Aide.bas @@ -63,7 +63,7 @@ END ENUM BCX_SET_FONT(ghMainTab, "Verdana", 9) ghEdit[0] = BCX_CONTROL("RAEdit", ghTab[0], "This is Page ", 6000, rc.left,rc.top,rc.right-rc.left-8,rc.bottom-rc.top-46, _ - WS_CHILD OR WS_VISIBLE OR WS_BORDER OR ES_LEFT OR ES_MULTILINE OR STYLE_AUTOSIZELINENUM OR STYLE_NOLINENUMBER OR STYLE_DRAGDROP) + WS_CHILD OR WS_VISIBLE OR WS_BORDER OR ES_LEFT OR ES_MULTILINE OR STYLE_AUTOSIZELINENUM OR STYLE_NOLINENUMBER OR STYLE_DRAGDROP OR STYLE_NOSIZEGRIP) RaConfigEditor(ghEdit[0]) @@ -200,7 +200,7 @@ BEGIN EVENTS AdjustWindowRect (&rc, 0, 0) FOR INTEGER i = 0 to sizeof(ghEdit)/sizeof(ghEdit[0]) IF ghEdit[i] THEN - SetWindowPos(ghEdit[i], NULL, rc.left, rc.top+2, (rc.right - rc.left)-8, (rc.bottom - rc.top)-24, SWP_NOZORDER OR SWP_NOMOVE ) + SetWindowPos(ghEdit[i], NULL, rc.left, rc.top+2, (rc.right - rc.left)-8, (rc.bottom - rc.top)-26, SWP_NOZORDER OR SWP_NOMOVE ) END IF NEXT diff --git a/raedit.inc b/raedit.inc index a4e15cb..6de4d0e 100644 --- a/raedit.inc +++ b/raedit.inc @@ -13,8 +13,8 @@ SUB RaNewEdit() IF pn THEN BCX_ADDTAB(ghMainTab, pn, "") - ghEdit[pn] = BCX_CONTROL("RAEdit", ghTab[pn], "This is Page ", pn+6000, rc.left,rc.top,rc.right-rc.left-8,rc.bottom-rc.top-46, _ - WS_CHILD OR WS_VISIBLE OR WS_BORDER OR ES_LEFT OR ES_MULTILINE OR STYLE_AUTOSIZELINENUM OR STYLE_NOLINENUMBER OR STYLE_DRAGDROP) + ghEdit[pn] = BCX_CONTROL("RAEdit", ghTab[pn], "This is Page ", pn+6000, rc.left,rc.top,rc.right-rc.left-8,rc.bottom-rc.top-26, _ + WS_CHILD OR WS_VISIBLE OR WS_BORDER OR ES_LEFT OR ES_MULTILINE OR STYLE_AUTOSIZELINENUM OR STYLE_NOLINENUMBER OR STYLE_DRAGDROP OR STYLE_NOSIZEGRIP) END IF RaConfigEditor(ghEdit[pn])