Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

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

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant