Recent

Author Topic: TBCComboBox ignores width property at runtime  (Read 807 times)

Josh

  • Hero Member
  • *****
  • Posts: 1455
TBCComboBox ignores width property at runtime
« on: January 29, 2026, 06:25:29 am »
TBCComboBox.
in oi i can change properties and it updates.
in run time changing width is ignored, height is obeyed.
also what is thecanvas propety for?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1455
Re: TBCComboBox ignores width property at runtime
« Reply #1 on: January 29, 2026, 01:20:46 pm »
more issues.
changing height, fontex dimensions at runtime causes expanded dropdown.

border not always contains full control, sometimesmissingon right.

why no onshowhint event?
no popupmenu?
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

dsiders

  • Hero Member
  • *****
  • Posts: 1615
Re: TBCComboBox ignores width property at runtime
« Reply #2 on: January 29, 2026, 03:11:32 pm »
YOu know, BGRAControls has an issue tracker... right? https://github.com/bgrabitmap/bgracontrols/issues

Josh

  • Hero Member
  • *****
  • Posts: 1455
Re: TBCComboBox ignores width property at runtime
« Reply #3 on: January 30, 2026, 02:45:09 pm »
fixed my main issues, not resining and crazy drop down.

uploaded the file, with the fixes.
i have marked the changes with //josh, soit should e easy to implement in newer vesion.
« Last Edit: February 10, 2026, 09:32:51 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1455
Re: TBCComboBox ignores width property at runtime
« Reply #4 on: January 30, 2026, 11:32:17 pm »
Hi dsiders,

I dont use github, so if someone wants to put the issue and fix up there.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

dsiders

  • Hero Member
  • *****
  • Posts: 1615
Re: TBCComboBox ignores width property at runtime
« Reply #5 on: January 31, 2026, 12:10:01 am »
Hi dsiders,

I dont use github, so if someone wants to put the issue and fix up there.

Gee, let me repeat myself.

This is not the BGRA issue tracker. You were told where that's located.

I'm not your secretary, and I don't care whether it gets fixed.

Stop being lazy and file the bug report.l

Josh

  • Hero Member
  • *****
  • Posts: 1455
Re: TBCComboBox ignores width property at runtime
« Reply #6 on: January 31, 2026, 12:43:12 am »
I dont use github at all. And have no intention to,
I did not ask you anything, did I?

I  sent a pm to circular.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

jamie

  • Hero Member
  • *****
  • Posts: 7707
Re: TBCComboBox ignores width property at runtime
« Reply #7 on: January 31, 2026, 01:30:53 am »
I don't know what version of those controls you are using but for me, my first exposure lead me to memory leaks.

For example:

   BCLeaEngrave control, using Heaptrc reports un-freed memory. I fixed that my self in the DRAW section and it got fixed with a few other things that got discovered at the same time.

 I don't think a new package has been offered OPM ?

 But in any case, you should check for that because it could lead to memory leaks in the IDE at some point.

Jamie
The only true wisdom is knowing you know nothing

circular

  • Hero Member
  • *****
  • Posts: 4471
    • Personal webpage
Re: TBCComboBox ignores width property at runtime
« Reply #8 on: February 02, 2026, 07:20:44 am »
Hi Josh,

Thanks for the PM. I've added the issue on GitHub:
https://github.com/bgrabitmap/bgracontrols/issues/260

also what is thecanvas propety for?
It is available when custom drawing the items.

Quote
why no onshowhint event?
no popupmenu?
Sometimes, there isn't a reason. It is possible to add some events if you find it useful.

Regarding the PopupMenu, that may be confusing having this menu and also the dropdown. However, if you find it useful, it can be added.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018