Jump to content

UniComboBox flickers on navigate keypress event


MOGSY

Recommended Posts

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.

 

Link to comment
Share on other sites

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;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...