Empty TAdvComobox

Hello TMS's users,

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.

Thanks for your support

Sorry, I cannot see these screenshots

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.

Regards

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.

Here is the code filling my TadvCombobox:
    with CbTrtDCGap do
    begin
      Clear ;
      AddItem(RS_Aucun   , TObject(OD_NONE)) ;
      AddItem(RS_Couplage, TObject(DSP_SUP_DC)) ;
      AddItem(RS_Degapage, TObject(DSP_SUP_GAP)) ;
    end;

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.
I could send you DFM/PAS if you think it can help
Regards

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.

To resume:
OK
TAdvPanel (TPanel)/TAdvComboBox(TComboBox)

KO
TCategoryPanel/TAdvPanel (TPanel)/TAdvComboBox(TComboBox)
TCategoryPanel/TAdvComboBox(TComboBox)

Given  TCategoryPanel and TComboBox are Embarcadero standard VCL controls and not TMS controls, I think this is something to take up with Embarcadero


Sorry in my mind I thought it was TMS... For sure I will contact Embarcadero.
Thanks you Bruno for your help.