I have an incompresible issue with TAdvCombobox and TCategoryPanelGroup in a particular configuration: on
a computer with windows 7 and a font size of 125%, some of my
TAdvCombox are empty while they are properly filled on all other PC
configurations.
But if cut/paste this TAdvCombox into another TCategoryPanel, it is correctly filled. You have below screenshots of my issue:
In this form I have a lot of TCategoryPanel created at design time and I hide some of them during run-time.
I am using Delphi Rio V10.3.1 and TMS Component Pack V9.0.1.0.
Other than this, please isolate this and provide a sample source project with which we can reproduce this. Without knowing any details on used component property settings, event handlers, code used, ... it is very hard to guess what could be wrong here.
Sorry, for the pictures, here are the links of the screenshots:
https://photos.app.goo.gl/ZCtK6bfUejyLt9JG9
https://photos.app.goo.gl/5RRHevjMqtMH3eid7
I will try to give you an example but it will not be easy because I have a lot of dependencies, classes in this form, it can be hard to isolate what's wrong.
I cannot see a reason that this would be a component issue. I'd suggest to try to debug and/or log the code where you add items to the combobox and verify what the difference is between a working & non-working case.
This code didnt' work in my first screenshot but it operated in the second screneshot: the only difference between the 2 cases is that the TadvCombobox's parent has changed: TCategoryPanel1 to TCategoryPanel2.
I also tried to create new TCategoryPanel and cut the TadvCombobox and paste into the new TCategoryPanelbut I still had the issue.
Without being able to reproduce this, it is hard to guess. TAdvComboBox descends from the standard VCL TComboBox and management of the combobox items is inherited from TComboBox. So, i would expect the same behavior as a regular VCL TComboBox.
Indeed I have same
behavior with standard VCL TCombobox but the matter is, it doesn't work
when combo's parent is TCategoryPanel. It works with TPanel or
TAdvPanel.