Jump to content


Photo

Double-click NxEdit with NxAutoComplete associated causes crash


  • Please log in to reply
2 replies to this topic

#1 damgog

damgog
  • Members
  • 33 posts

Posted 17 September 2012 - 03:32 PM

Hi,

I have a NxEdit component with a NxAutoComplete associated with it. The AutoComplete has List as it's source. When the user exits the edit component, the text they entered is added to the list in the autocomplete component. Problem occurs after second text item is added. If I double-click on the edit component, the application no longer responds.

Also, the autoSelect option doesn't work. I have tracked it to here:

if X <= GetEditLeft + 2 then SelectAll;

The GetEditLeft function always returns 0, i.e. FEditInfo.Left + FEditInfo.Width returns 0.

Your help would be greatly appreciated.

Thanks.

#2 damgog

damgog
  • Members
  • 33 posts

Posted 18 September 2012 - 12:10 PM

Upon further investigation, this problem occurs when the NxAutoComplete is associated with a standard TEdit component too.

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 04 October 2012 - 10:10 AM

Hello,

NxAutocomplte is third-party component so I will need a little bit of time to see where is a problem.
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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users