moving entity by keyboard
Posted: 18 Apr 2011, 12:09
Hello,
i want to move entity with arrow keys of keyboard.
i took reference from editorform demo.
my entity has moved its position as per the arrow key, but it is not refreshing with arrow keys, as in demo.
it gets moved when either i change my window and re-opening my program window or if do mouse click on cadimport picture box.
what is required to refresh the picturebox?
i m using cadeditorcontrol1.invalidate().
i want to move entity with arrow keys of keyboard.
i took reference from editorform demo.
my entity has moved its position as per the arrow key, but it is not refreshing with arrow keys, as in demo.
it gets moved when either i change my window and re-opening my program window or if do mouse click on cadimport picture box.
what is required to refresh the picturebox?
i m using cadeditorcontrol1.invalidate().