Hi Boki,
if I have an NxEdit on the form and there are other components with shortcuts as for example a checkbox with caption "&Save On Exit" where the "S" represents the shortcut and I am not able to enter an "s" into NxEdit. So if you have 10 more components on the same form with 10 different shortcuts, you can't enter a set of 10 characters into NxEdit!! You click into NxEdit, press "s" and it does not appear - instead the checkbox toggles its checkmark. As a test a put a standard edit onto the same form and it works without problems. This is really critical because you can't use the app anymore!
Has installed nextgrids 3.9.8b with Delphi7.
BR
DW
NxEdit problem
Started by downwards1, Apr 11 2007 09:26 PM
3 replies to this topic
#1
Posted 11 April 2007 - 09:26 PM
#2
Posted 15 April 2007 - 01:05 PM
Something new regarding this topic?
Please see the attached example. Try to enter "c", "h", or "e" into the edit.
I own the commercial version of nextgrids. Maybe you have a piece of code for me so that I can apply the fix to the sources manually for the time being.
BR
DW
Please see the attached example. Try to enter "c", "h", or "e" into the edit.
I own the commercial version of nextgrids. Maybe you have a piece of code for me so that I can apply the fix to the sources manually for the time being.
BR
DW
Attached Files
#3
Posted 15 April 2007 - 08:35 PM
Hello Downwards1,
Open NxEdit.pas and find procedure
replace code with:
I hope that this helps,
regards
Open NxEdit.pas and find procedure
CODE
procedure TNxCustomEdit.WMGetDlgCode(var Message: TWMGetDlgCode);
replace code with:
CODE
inherited;
Message.Result := Message.Result or DLGC_WANTARROWS;
if WantTabs then Message.Result := Message.Result or DLGC_WANTTAB
else Message.Result := Message.Result and not DLGC_WANTTAB;
Message.Result := Message.Result or DLGC_WANTARROWS;
if WantTabs then Message.Result := Message.Result or DLGC_WANTTAB
else Message.Result := Message.Result and not DLGC_WANTTAB;
I hope that this helps,
regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#4
Posted 16 April 2007 - 07:51 PM
Works fine!
Thanx
DW
Thanx
DW
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












