bgrabitmap / bgracontrols

🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
https://bgrabitmap.github.io/bgracontrols/
187 stars 32 forks source link

Update colorspeedbutton.pas #170

Closed sganz closed 6 months ago

sganz commented 6 months ago

Found a small issue if the Property PopupMode is TRUE, and no PupupMenu is set, will toss an exception.

Not sure if the prevailing wind wants to see the exception or do nothing like this patch.

Also PopupMode seems redundant as if a Popup is set, it could just imply that mode. Just learning a bit of some of these controls so may be historical or other reason.

lainz commented 6 months ago

Thanks