Title: Message
At a rought stab, I would try:
 
PageControl1.ActivePageIndex := 1;
Then assuming the first control is a wincontrol:
(PageControl1.ActivePage.Controls[0] as Twincontrol).SetFocus;
 
... depending on whats what, you might need to loop through the controls to select the correct one. If you know its name ... then I'd just use that:
 
mycontrolsname.setfocus.
 
I recall the order counts ... don't try to set focus before the page is actually showing.
-----Original Message-----
From: Allan, Samuel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 May 2003 3:45 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Tab across TabSheets

I have two tabsheets. When user presses tab in the last control on the first tabsheet I want to go to the first control of the second tabsheet.

Notice of Legal Status and Confidential Information: This electronic mail message and any accompanying attachments may contain information that is privileged and CONFIDENTIAL. If you are not the intended recipient you are advised that any use, review, dissemination, distribution or reproduction of the information is strictly prohibited and may be unlawful. If you have received this document in error, please notify the sender immediately and destroy the message.

Reply via email to