I am running a Win7 x64 Pro inside VirtualBox with 2d and 3d acceleration enabled, but most Controls (TButton, TStringGrid, TTabControl, etc.) are invisible inside Delphi. If I run the executable, all controls are rendered fine. How can I make the Controls visible inside Delphi?
It's a freshly installed Delphi XE2 w/ Update 3
To illustrate the problem I made 2 screenshots:
Inside Delphi IDE
Executable
Edit: VirtualBox version is 4.1.8 r75467
The problem is that Firemonkey (under Windows) uses DirectX to draw its controls.
(Under OSX/iOS it uses OpenGL)
Prior to Version 3 DirectX is not supported in VirtualBox, for that reason you are not seeing the Firemonkey controls.
However the good news is that VirtualBox 3.0 (and up) does support DirectX, see: http://www.dedoimedo.com/computers/virtualbox-3-directx.html
This does require that you install DirectX drivers in your VirtualBox, see the article.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With