Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi XE/Windows7: why do VCL controls look different in an MDI application?

Tags:

delphi

Delphi XE / Windows 7.

Create a new VCL application, put a TCombobox on your form.

Create a new MDI application, do the same thing.

Why do the controls look different and how can I solve?

Other controls behave the same way. The same thing happens when I place controls on my mdi child forms in the MDI application.

MDI Applicationenter image description here

like image 236
user2638894 Avatar asked Sep 13 '13 09:09

user2638894


1 Answers

The MDI application template in XE (and earlier versions) has runtime themes disabled. Simply enable it in the project options to resolve the difference.

This setting in the MDI application template was modified in XE2.

like image 90
David Heffernan Avatar answered Oct 03 '22 10:10

David Heffernan