PC Review


Reply
Thread Tools Rate Thread

Cursor placement within a form

 
 
Libby
Guest
Posts: n/a
 
      19th Mar 2008
Hi there,

I have a workbook with one worksheet and a userform.
The userform is loaded by clicking a button on the worksheet and it has on
it textboxes for information to be entered.

The information that goes in these textboxes is often source from other open
applications and the user toggles between the workbook and this application
via alt+tab.

The problem is that supposing textbox1 on the userform has focus and the
user goes to another application to get information, when they return to the
from textbox1 has lost focus and and has to be clicked again.

Is there anyway to retain the focus of a control on a userform when
returning to it from another application?

Many thanks in advance
 
Reply With Quote
 
 
 
 
Shaka215@gmail.com
Guest
Posts: n/a
 
      24th Mar 2008
On Mar 19, 1:50*pm, Libby <Li...@discussions.microsoft.com> wrote:
> Hi there,
>
> I have a workbook with one worksheet and a userform.
> The userform is loaded by clicking a button on the worksheet and it has on
> it textboxes for information to be entered.
>
> The information that goes in these textboxes is often source from other open
> applications and the user toggles between the workbook and this application
> via alt+tab.
>
> The problem is that supposing textbox1 on the userform has focus and the
> user goes to another application to get information, when they return to the
> from textbox1 has lost focus and and has to be clicked again.
>
> Is there anyway to retain the focus of a control on a userform when
> returning to it from another application?
>
> Many thanks in advance


Why not set it so that

If Len(TextBox1.Value)>0 Then
TextBox2.Visible = True
End If

That way if the textbox 1 is empty it wont allow the end-user to jump
to the next textbox?
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Cursor placement in Access form =?Utf-8?B?TGluZGEgUy4=?= Microsoft Access Forms 1 10th Jan 2007 09:46 AM
Placement of Cursor in a custom form sgaddipati@gmail.com Microsoft Outlook Form Programming 0 29th Dec 2005 04:36 AM
Cursor Placement =?Utf-8?B?U2t5IFdhcnJlbg==?= Microsoft Access Form Coding 2 27th May 2005 03:14 AM
Cursor placement? Alan Microsoft Word New Users 1 7th Nov 2003 02:58 PM
Cursor Placement Andy Edwards Microsoft Word Document Management 2 30th Jun 2003 07:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.