Skip to content

Use of Mouse and Keyboard in FMX 3D application #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

1. Setup OnMouseWheel handler on FMX form. 
2. Setup OnKeyDown and/or OnKeyUp handler for TViewport3D.
3. Set CanFocus on the Viewport3D.
4. Make sure Viewport3D has Focus, click on it.
5. Scroll mouse wheel and use Keyboard.

What is the expected output? What do you see instead?

The Event handlers are supposed to be called, but this is no longer the case. 
It worked before.

What version of the product are you using? On what operating system?

I use FMXContainer.pas, with Delphi XE4 on Win32.

Please provide any additional information below.

On Windows, the TViewport3D can receive keyboard events if property CanFocus is 
True and the Viewport has Focus. The mouse wheel is not directly supported on 
the Viewport3D but on the Form. Together they allow convenient control of a 3D 
application.



Original issue reported on code.google.com by gschub on 4 Aug 2014 at 10:05

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions