我想在显示消息后再次将焦点设置在编辑框上。
portno := Edit.Text;
if (portno = '') then
begin
MsgBox('Enter Port Number to proceed.', mbInformation, MB_OK);
Result := False;
end发布于 2019-08-03 00:19:02
设置WizardForm的TForm.ActiveControl
WizardForm.ActiveControl := Edit;这个答案实际说明了这一点:
https://stackoverflow.com/questions/57320872
复制相似问题