ahh right. You can programatically control the position of buttons at run time. However, it is not easy to capture events such as cursor keypresses and process these through the normal form triggers.
It is possible...just use a Menu Button control for hook keyboard
Create a menu with items like UP,DOWN,LEFT,RIGHT and depend a ShortCutKey property. In OnPush functions add CurrForm.ctrlButton.XPOS := CurrForm.ctrlButton.XPOS -(+) StepX and CurrForm.ctrlButton.YPOS := CurrForm.ctrlButton.YPOS -(+) StepY.
It is possible...just use a Menu Button control for hook keyboard
Create a menu with items like UP,DOWN,LEFT,RIGHT and depend a ShortCutKey property. In OnPush functions add CurrForm.ctrlButton.XPOS := CurrForm.ctrlButton.XPOS -(+) StepX and CurrForm.ctrlButton.YPOS := CurrForm.ctrlButton.YPOS -(+) StepY.
That's a good idea, you can't use the cursor keys as shortcuts though unfortunately.
Comments
www.NextEqualZero.com
A technical eye on Dynamics NAV
Technical Consultant
New Delhi(India )
www.NextEqualZero.com
A technical eye on Dynamics NAV
It is possible...just use a Menu Button control for hook keyboard
Create a menu with items like UP,DOWN,LEFT,RIGHT and depend a ShortCutKey property. In OnPush functions add CurrForm.ctrlButton.XPOS := CurrForm.ctrlButton.XPOS -(+) StepX and CurrForm.ctrlButton.YPOS := CurrForm.ctrlButton.YPOS -(+) StepY.
That's a good idea, you can't use the cursor keys as shortcuts though unfortunately.
www.NextEqualZero.com
A technical eye on Dynamics NAV
Or not?
Though I wonder what might be the business case