MOGSY Posted January 15, 2020 Share Posted January 15, 2020 Hi TUniComboBox flikers on key navigation "VK_DOWN" "40", it looks that it opens the dropdown and closes it immediatly. Is it possible to stop this behaviour. Attached is sample code. Thank you. KeyboardEvent.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2020 Share Posted January 15, 2020 16 minutes ago, MOGSY said: Attached is sample code. Hi, Please correct the path of your modules. Quote Link to comment Share on other sites More sharing options...
MOGSY Posted January 15, 2020 Author Share Posted January 15, 2020 Hi Sorry, not understanding your comment. What are you refering to? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2020 Share Posted January 15, 2020 2 minutes ago, MOGSY said: Sorry, not understanding your comment. What are you refering to? In your test case there are no modules, they are located in your disk space. Quote Link to comment Share on other sites More sharing options...
MOGSY Posted January 15, 2020 Author Share Posted January 15, 2020 sorry, have attched new file. KeyboardEvent.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2020 Share Posted January 15, 2020 2 minutes ago, MOGSY said: KeyboardEvent.zip program KeyboardEvent; uses Forms, ServerModule in 'C:\Users\...\Documents\Embarcadero\Studio\Projects\KeyboardEvent\ServerModule.pas' {UniServerModule: TUniGUIServerModule}, MainModule in 'C:\Users\...\Documents\Embarcadero\Studio\Projects\KeyboardEvent\MainModule.pas' {UniMainModule: TUniGUIMainModule}, Main in 'C:\Users\...\Documents\Embarcadero\Studio\Projects\KeyboardEvent\Main.pas' {MainForm: TUniForm}; {$R *.res} begin ReportMemoryLeaksOnShutdown := True; Application.Initialize; TUniServerModule.Create(Application); Application.Run; end. Quote Link to comment Share on other sites More sharing options...
MOGSY Posted January 15, 2020 Author Share Posted January 15, 2020 Attached the new file! KeyboardEvent.zip Quote Link to comment Share on other sites More sharing options...
MOGSY Posted January 16, 2020 Author Share Posted January 16, 2020 Hi Any solution for the combo box flicker? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 17, 2020 Share Posted January 17, 2020 9 hours ago, MOGSY said: Any solution for the combo box flicker? Well this is normal behavior for combo. And also you use the navigation with the "keys". And also you have event handlers on the form that I did not know... Try, maybe this will suit you: procedure TMainForm.UniFormCreate(Sender: TObject); begin edt0.JSInterface.JSConfig('keyMapEnabled', [False]); ... end; Quote Link to comment Share on other sites More sharing options...
MOGSY Posted January 17, 2020 Author Share Posted January 17, 2020 Thank you it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.