I have a form that contains a tab control. I would like to insert a
hyperlink on the first page of the tab control that will move to a different
page on the same tab control.
Any ideas?
Thanks
> I have a form that contains a tab control. I would like to insert a
> hyperlink on the first page of the tab control that will move to a
> different page on the same tab control.
>
> Any ideas?
> Thanks
Set the HyperlinkSubAdress to " ". That will make it look and act like a
hyperlink, but it won't actually take you anywhere. Then in the OnClick event
just set focus to the desired control. If that control is on a different
TabPage then the page will automatically change.

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Rob LMS - 31 Dec 2005 21:49 GMT
Thanks Rick. Besides having to put the name of the form into the subaddress
instead of " ", it works great.
Thanks again, and Happy New Year
> > I have a form that contains a tab control. I would like to insert a
> > hyperlink on the first page of the tab control that will move to a
[quoted text clipped - 7 lines]
> just set focus to the desired control. If that control is on a different
> TabPage then the page will automatically change.
Rick Brandt - 31 Dec 2005 22:03 GMT
> Thanks Rick. Besides having to put the name of the form into the
> subaddress instead of " ", it works great.
>
> Thanks again, and Happy New Year
Not sure I was clear. By " " I meant a single space (without the quotes).
The name of the current form should be okay in your situation, but if (for
example) you wanted the click event to conditionally open another form then
using the form name that you want to open would mean that it wouldn't be
conditional (the form would open no matter what your click event did) and
entering the name of the calling form would mean that the second form would
open and then the calling form would be brought in front of it by the link. In
cases like that you pretty much have to use the single space for the
HyperlinkSubAdress property.

Signature
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com