Freeman35 Posted September 17, 2017 Share Posted September 17, 2017 Hello, I add TUniMonitoredKeyItem #13(KeyStart & KeyEnd) MonitoredKeys.Enabled:= True; NavigatesKeys.Enable:= True; NavigatesKeys.Next.Key:= 40;//VK_Up NavigatesKeys.Next.Key:= 38;//VK_Down And I add this code in my form's source procedure TaFRM.UniFormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin case Key of VK_RETURN: if ssShift in Shift then begin Key:= VK_UP; Shift:=; end else Key:= VK_DOWN; end; I need rerun "NavigatesKeys" code's of form. How to this? Why I need this, VK_Down key allways handle from comboboxes date & time edit etc. So user click to Enter (or shift + Enter) key to jump to nezt or previus Edit on form. Yes I can add code on my KeyDown event but need for add all form. And I'm just try my chance. Or meybe can add more keys on OI underkeys next, prior etc property. Regards. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.