Welcome,
I have question, i need create stay on top form.
I found when i use border - none, then stay on top style is working.
But i cant move my form.
I get idea to create form what can be moved by arrow keys.
I would like do to it using on key press, check if arrow was pressed get form left := form.left + 10 or form.top + 10 etc.
but the problem is, i cant get function onkeypress working.
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState
);
begin
//if Key = vk_left then form1.left:=form1.left-10;
showmessage('test);
end;
procedure TForm1.FormKeyPress(Sender: TObject; var Key: char);
begin
showmessage('test');
end;
procedure TForm1.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
showmessage('test');
end;
i try this all three triggers.
on windows and linux (gtk2).
No showmessage show, i was hitting every key on my keyboard.
Any idea what can make this working ?
Regards