PC Review


Reply
Thread Tools Rate Thread

order (bring to front / send to back) rectangles/text with an on click

 
 
JER
Guest
Posts: n/a
 
      27th Mar 2004
In Access 200/2002 I would like to use one form component
(control button/text box) to, on click, cause a particular
other form component to move to the top of a stack of like
components and receive focus.

That way I can use one userform to hold more info.

any ideas on how to do that? I cannot find "bring to
front" as an option in properties or "on click"

Do not want to use tab controls ... need a different look
and feel.

Thanks,
JR
 
Reply With Quote
 
 
 
 
Van T. Dinh
Guest
Posts: n/a
 
      27th Mar 2004
IIRC, the Control that has the Focus will be automatically brought to front.
Thus all you need to do is to set the Focus to the Control that you want to
bring to the front.

--
HTH
Van T. Dinh
MVP (Access)




"JER" <(E-Mail Removed)> wrote in message
news:1454301c413b1$f77537d0$(E-Mail Removed)...
> In Access 200/2002 I would like to use one form component
> (control button/text box) to, on click, cause a particular
> other form component to move to the top of a stack of like
> components and receive focus.
>
> That way I can use one userform to hold more info.
>
> any ideas on how to do that? I cannot find "bring to
> front" as an option in properties or "on click"
>
> Do not want to use tab controls ... need a different look
> and feel.
>
> Thanks,
> JR



 
Reply With Quote
 
 
 
 
JER
Guest
Posts: n/a
 
      27th Mar 2004
Thanks,

Gave it a try:

Private Sub Box5_Click()
Box8.SetFocus
End Sub

most likely I didn't quite get it because it didn't
function as desired.


>-----Original Message-----
>IIRC, the Control that has the Focus will be

automatically brought to front.
>Thus all you need to do is to set the Focus to the

Control that you want to
>bring to the front.
>
>--
>HTH
>Van T. Dinh
>MVP (Access)
>
>
>
>
>"JER" <(E-Mail Removed)> wrote in

message
>news:1454301c413b1$f77537d0$(E-Mail Removed)...
>> In Access 200/2002 I would like to use one form

component
>> (control button/text box) to, on click, cause a

particular
>> other form component to move to the top of a stack of

like
>> components and receive focus.
>>
>> That way I can use one userform to hold more info.
>>
>> any ideas on how to do that? I cannot find "bring to
>> front" as an option in properties or "on click"
>>
>> Do not want to use tab controls ... need a different

look
>> and feel.
>>
>> Thanks,
>> JR

>
>
>.
>

 
Reply With Quote
 
Van T. Dinh
Guest
Posts: n/a
 
      27th Mar 2004
Probably not the Click Event as after the code is executed the Click action
will send the Focus back to Box 5.

Try the GotFocus Event of Box5 (or a CommandButton). As soon as Box5 gets
the Focus, the Focus will be move to Box8 and Box8 will be on top.

--
HTH
Van T. Dinh
MVP (Access)



"JER" <(E-Mail Removed)> wrote in message
news:146cc01c41405$143b0220$(E-Mail Removed)...
> Thanks,
>
> Gave it a try:
>
> Private Sub Box5_Click()
> Box8.SetFocus
> End Sub
>
> most likely I didn't quite get it because it didn't
> function as desired.
>
>



 
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
need order form to send copy of order to purchaser as well as the seller. Tony M Microsoft Frontpage 4 19th Jun 2008 02:10 PM
very very very slow boot: click, click, whirrrr, click, click, whi =?Utf-8?B?RGF2aWQgUy4gR29sZGZhcmI=?= Windows XP Performance 2 4th Apr 2006 03:58 PM
the keyboard key that holds down right-click. was "accessibility and rite-click to left-click robertssubscriptions@hotmail.com Windows XP Accessibility 4 25th Feb 2006 11:19 PM
If right click context menu order = double click action mark Windows XP Help 1 17th Aug 2004 08:17 AM
Graph reverse order changes series order but not legend order biddlea Microsoft Excel Misc 0 13th Aug 2004 12:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.