Using VCL Styles gives a exception / crash in TOpenDialog
问题 I am experiencing a crash / exception when using a simple TOpenDialog with VCL Styles enabled. Without the styles enabled, the dialog is of course working fine. The issue occurs with C++ Builder 10 and 10.1 Professional. To reproduce: create a simpe VCL Form that uses styles add a TComboBox, a TButton and a TOpenDialog to the form add the following code to the OnClick event for the button OpenDialog1->Execute(); for(int i=0; i<100; i++) ComboBox1->Items->Add("test text"); ComboBox1->ItemIndex