Jump to content


Photo

[NxCombobox] Cursor Bug


  • Please log in to reply
11 replies to this topic

#1 Lukas

Lukas
  • Members
  • 46 posts
  • Gender:Male

Posted 11 May 2007 - 04:57 PM

Hi Boki,

I think I found a bug in the NxCombobox component:



Original NxCombobox with Style = dsDropDownList
You can see and even move the cursor all the time.
Even though I activate HideFocus = true I cannot hide the cursor.

When I close the popup with the keyboard (enter) and want to open the popup with my mouse again it opens and closes on the first click. I must click again to really open the popup.

When I open the popup the NxCombobox textfield is no longer full selected. Only a small bar on the bottom is selected.

I hope my picture can help you to find the errors.

============================

How can I hide the cursor immediately?
I need it for a project and this is one of a few of blemishs wink.gif


Best Regards
Lukas

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 May 2007 - 05:46 PM

Hello Lucas,

I am working on it. I hope that I will fix it in next 1-2 days. It is quite anoying bug and it is related to WinAPI limitations sad.gif

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.

#3 Lukas

Lukas
  • Members
  • 46 posts
  • Gender:Male

Posted 11 May 2007 - 06:50 PM

Hi Boki,

thank you for the fast answer.
I'm very pleased that you can fix it in some days.

Nevertheless thank you for the great components suite!

Best regards
Lukas

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 May 2007 - 06:54 PM

Hello Lukas,

I will do my best, I am fighting with this bug for some time.

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.

#5 Lukas

Lukas
  • Members
  • 46 posts
  • Gender:Male

Posted 16 May 2007 - 09:20 PM

Hi Boki,

do you have some news for me?
Don't be stressed cause my question. I'm only interested in the progress...

greetz
Lukas

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 16 May 2007 - 09:24 PM

Hello Lukas,

Still trying to fix it. I am working on NxTimeColumn and this issue, and I hope that I will finish it till end of week.

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.

#7 Lukas

Lukas
  • Members
  • 46 posts
  • Gender:Male

Posted 16 June 2007 - 07:11 PM

Hi,

now I have asked you for a month and the error still exists.
When will I get a version without this bug?

Best Regards
Lukas

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 16 June 2007 - 07:19 PM

Hello Lukas,

Still have no luck sad.gif I have try everything. It is because my ComboBox is over a EditBox with option to attach ListBox, DatePicker, ColorPicker on it. I will work on it more, please sorry for waiting this is anoying bug for me too.

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.

#9 Lukas

Lukas
  • Members
  • 46 posts
  • Gender:Male

Posted 25 June 2007 - 06:25 PM

Hello Boki,

I've found some other bugs in NxCombobox.

1. You open the Popup-Dialog to the all entries. Now when you scroll up or down, the entries will be all selected. Bur normally you scroll to see the entries which aren't shown (e.g. 12 entries, but only 8 are shown to you: so you must scroll). And every time an item will be selected, the OnChange event will be executed. But it would be better, when the OnChange event is only executed when the popup closes or you select an entry with keys and closed popup.

2. First time you open the Popup-Dialog, the dialog isn't scrolled to the position of the selected entry. When you have 30 entries and the ItemIndex is set to 20 and you open the PopupDialog, you will the the entries started with the first.
Second time you open the dialog, the position is right.

I hope you have understood my explanation wink.gif

greetz
Lukas

#10 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 June 2007 - 06:35 PM

Hello Lukas,

Thank you, I will fix it in next few days.

Best 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.

#11 mhu.nl

mhu.nl
  • Members
  • 2 posts

Posted 09 July 2007 - 11:07 PM

Easy fix for the cursor bug:

In NxEdit.pas replace:

CODE
procedure TNxPopupEdit.WMSetFocus(var Message: TWMSetFocus);
begin
inherited;
end;


with:

CODE
procedure TNxPopupEdit.WMSetFocus(var Message: TWMSetFocus);
begin
inherited;
if (FStyle = dsDropDownList) then DestroyCaret; // mhu: don't show the caret in selection lists
Refresh; // mhu: make sure focusrect is shown
end;


#12 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 11 July 2007 - 09:08 AM

Hello Mhu,

Thank you, this is a function I have look it for. I have add it, but maybe I will move it on some other place after testings.

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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users