Jump to content


Photo

NxEdit problem


  • Please log in to reply
3 replies to this topic

#1 downwards1

downwards1
  • Members
  • 57 posts

Posted 11 April 2007 - 09:26 PM

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

#2 downwards1

downwards1
  • Members
  • 57 posts

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

Attached Files



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 15 April 2007 - 08:35 PM

Hello Downwards1,

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;


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.

#4 downwards1

downwards1
  • Members
  • 57 posts

Posted 16 April 2007 - 07:51 PM

Works fine!

Thanx
DW




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users