Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    27

    Unanswered: Another Frame Question

    I have about 25 textboxes, which on a click on a button i want their context cleared, and half of them hidden
    is there a way to place them in 2 frames, and have all items inside 1 frame cleared, and 2nd frame hidden and cleared ?

  2. #2
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Try to name them sequentional names such as
    Text1, Text2, text3, ..... , text20

    Then use the Controls to set their properties

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Post

    Here is an example

    PHP Code:
      For i1 to 20
        Controls
    ("Text" i).Caption ""            ' in case of Lables
        Controls("Text" & i) = ""                       ' 
    in case of TextBox
        
    If i Mod 2 0 then
              Controls
    ("Text" i).Visible =False
        
    Else
              
    Controls("Text" i).Visible =True
        
    Endif 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •