Recent

Author Topic: Application.Navigation  (Read 2684 times)

caleb9

  • Jr. Member
  • **
  • Posts: 51
Application.Navigation
« on: November 17, 2011, 11:33:22 am »
Does anyone know what is a proper way to use TApplication.Navigation? Google search is quite  sparse about it.
Generally I know how to fix my problem, which was concerning arrow-keys handling on my custom TGraphicControl - the form was taking over and moving the focus as it wanted, instead of letting my control take care of it. Turned out it was because Application.Navigation, which is a TApplicationNavigationOption set, contained  anoArrowToSelectNextInParent value. I've never set anything concerning navigation in my project, except maybe form's KeyPreview to False, so my workaround was to remove this value from Application.Navigation in the form's FormCreate.
But it seems to me somewhat dodgy - anyone knows if this would be the proper way to do it or is there some setting I can set, or other way around?
Thanks in adv.

jbdel

  • Newbie
  • Posts: 3
Re: Application.Navigation
« Reply #1 on: November 26, 2011, 05:14:52 pm »

 

TinyPortal © 2005-2018