Learn when you want, where you want with convenient online training courses. Sign up now!
Experts Exchange Solution brought to you by
"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.
This course teaches how to install and configure Windows Server 2012 R2. It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
const PIXELS_PER = 10;
if key = VK_UP then
if Image1.Top + Image1.Height - Panel1.ClientHeight > 0 then
Image1.Top := Image1.Top - PIXELS_PER;
if key = VK_DOWN then
if Image1.Top < 0 then
Image1.Top := Image1.Top + PIXELS_PER;
if key = VK_LEFT then
if Image1.Left + Image1.Width - Panel1.ClientWidth > 0 then
Image1.Left := Image1.Left - PIXELS_PER;
if key = VK_RIGHT then
if Image1.Left < 0 then
Image1.Left := Image1.Left + PIXELS_PER;
Open in new window
Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.