Jump to content


Photo

TNxComboBoxItem Bug if Style = cbDropDownList


  • Please log in to reply
2 replies to this topic

#1 lesnes

lesnes
  • Members
  • 9 posts
  • Location:South Africa

Posted 25 October 2007 - 10:34 AM

If the Style of a ComboBoxItem is cbDropDownList instead of cbDropDown then at runtime the drop down is not shown. You can reproduce the problem in the Next Inspector\Demo 2 by changing the NXComboBoxItem1.Style to cbDropDownList. When you run it and click on the drop down button no items are shown.

Version is 4.7.5.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 October 2007 - 02:02 PM

Please Open NxEdit.pas (Sources sub-folder).

Delete first line:

CODE
  if ReadOnly then Exit;


from procedure (Line 3670):

CODE
TNxPopupEdit.SetDroppedDown


I am sorry for this problem.

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.

#3 lesnes

lesnes
  • Members
  • 9 posts
  • Location:South Africa

Posted 25 October 2007 - 09:28 PM

That works now, Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users