> > >
> > > I have created a program with a few controls including a text
> > > field, but if
> > > I move the focus to that text field (or rich edit) I cannot
> > > move the focus
> > > to another control using the tab key, but only the mouse.
> > >
For the RichEdit, there may be a more elegant way, but since tab is a valid
character it won't know to go to another widget unless you tell it to. I
would do something like this:
sub RichEdit_KeyPress ### Assuming this widget is named RichEdit
{
my($key) = @_;
if($key == 9)
{
$Window->Otherwidget->SetFocus();
}
}
For the textfield, well, that should just work assuming you have set
tabstops on those widgets. Please show some code and we might be able to
offer more help on why its not working.
-Pete
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs