Recent

Author Topic: Mouse pointer disappeared in DBlookupCombo Box  (Read 2054 times)

MVD

  • New Member
  • *
  • Posts: 23
Mouse pointer disappeared in DBlookupCombo Box
« on: September 21, 2017, 03:41:52 pm »
Hi,

A used a DBLookupComboBox with properties set/
AutoComplete :true
AutoDropDown : true
AutoSize : True
Sorted : true
ReadOnly : true

when I type in the controlbox some text, it sroll down with a list of items from a field in another database. This is what I need but the problem is that the mousepointer disappeared and he is only coming back when I close the CBLookupComboBox .
?????

rvk

  • Hero Member
  • *****
  • Posts: 6056
Re: Mouse pointer disappeared in DBlookupCombo Box
« Reply #1 on: September 21, 2017, 04:00:20 pm »
You didn't mention your OS and Lazarus version.
But I see the same behavior with TComboBox even with AutoDropDown to false on Windows with Laz trunk.

Seems like a bug.

(In Delphi the mousepointer stays visible)

Edit: If you set ArrowKeysTraverseList to false you keep the mousepointer.
(but then the first character does nothing)

I see it is the same behavior as in TEdit. When typing the mousepointer disappears unless inside the edit box.
Somehow in Delphi for the TComboBox the mousepointer stays visible. In Lazarus not.
« Last Edit: September 21, 2017, 04:14:44 pm by rvk »

MVD

  • New Member
  • *
  • Posts: 23
Re: Mouse pointer disappeared in DBlookupCombo Box
« Reply #2 on: September 21, 2017, 05:35:11 pm »
You didn't mention your OS and Lazarus version.
But I see the same behavior with TComboBox even with AutoDropDown to false on Windows with Laz trunk.

Seems like a bug.

(In Delphi the mousepointer stays visible)

Edit: If you set ArrowKeysTraverseList to false you keep the mousepointer.
(but then the first character does nothing)

I see it is the same behavior as in TEdit. When typing the mousepointer disappears unless inside the edit box.
Somehow in Delphi for the TComboBox the mousepointer stays visible. In Lazarus not.

sorry , I am working in Windows 10 and with Lazarus 1.8.0RC4.

Thanks for the explination. What to do if it is a bug?

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Mouse pointer disappeared in DBlookupCombo Box
« Reply #3 on: September 21, 2017, 07:37:36 pm »
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

 

TinyPortal © 2005-2018