What do u mean by first contro. Why the First control's property set False when ur 
mouse over it.interesting... ?

ok try this: [ IS it your requirment !!]

Private Sub Form_Load()
Me.txtFields(0).Visible = True
Me.txtFields(1).Visible = False
End Sub

Private Sub txtFields_MouseMove(Index As Integer, Button As Integer, Shift As Integer, 
X As Single, Y As Single)

Select Case Index
    Case 0
        Me.txtFields(Index).Visible = False
        Me.txtFields(Index + 1).Visible = True
    Case 1
        Me.txtFields(Index).Visible = False
        Me.txtFields(Index - 1).Visible = True
    End Select
End Sub

  ----- Original Message ----- 
  From: Khalid Arramli 
  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] 
  Sent: Thursday, June 17, 2004 2:43 PM
  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
             
       
       


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/
      
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 




[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