Without getting to involved with API's and such.
You could do something in the mousemove event.
Something like this.
 
Private Sub Text1_MouseMove(Index As Integer, Button As Integer, Shift As
Integer, X As Single, Y As Single)
If Text1(1).Visible = True Then
    Text1(2).Visible = True
    Text1(1).Visible = False
ElseIf Text1(2).Visible = True Then
    Text1(1).Visible = True
    Text1(2).Visible = False
End If
 
End Sub
 
Hope this helps
Ramon
 
  _____  

From: Khalid Arramli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 17, 2004 3:43 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [vbhelp] Form Controls
 
Dear All,

I have placed 2 controls on a form as follows:

txtfields(1).visible = true
txtfields(2).visible = false

I would like to change their properties to become like the following
whenever the mouse is over the first control

txtfields(1).visible = false
txtfields(2).visible = true

what would be the best way to do it.

regards,

karramli



[Non-text portions of this message have been removed]





'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================






Yahoo! Groups Sponsor


ADVERTISEMENT
 
<http://us.ard.yahoo.com/SIG=129776ddn/M=298184.5022502.6152625.3001176/D=gr
oups/S=1705115364:HM/EXP=1087567775/A=2164339/R=0/SIG=11e2d64in/*http:/www.n
etflix.com/Default?mqso=60183348> click here

 
<http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S=
:HM/A=2164339/rand=975180417> 
 
  _____  

Yahoo! Groups Links
*       To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
  
*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
  
*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to