harry muharramon
asked on
Delphi,next focus
hi..
i have one tbutton and 10 tedit , i want every click tbutton focus change to edit1 and click tbutton again focus change to edit2...etc
procedure TForm1.Button3Click(Sender : TObject);
begin
Screen.ActiveForm.Perform( WM_NextDlg Ctl, 0, 0);
end;
code above just focus to tedit1 can't focus to next tedit...
thanks...
i have one tbutton and 10 tedit , i want every click tbutton focus change to edit1 and click tbutton again focus change to edit2...etc
procedure TForm1.Button3Click(Sender
begin
Screen.ActiveForm.Perform(
end;
code above just focus to tedit1 can't focus to next tedit...
thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
TSpeedButton.. its work thanks....
Open in new window
if your button is on that same form, you don't need to roundtrip via the Screen.ActiveForm