Results 1 to 3 of 3

Thread: VB Frames

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Grand Rapids, MI US
    Posts
    7

    Post

    With that I already need to know the number of frames I am going to have in my applications. I want to be able to add an unlimited number of frames. Is there a way to do that?
    David

  2. #2

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Location
    Grand Rapids, MI US
    Posts
    7

    Post

    Is it possible to add frames dynamically to a vb app, and if so how do you go about doing it?
    David

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Add a frame (could be hidden) with an index of 0 to your form, then use this code

    Code:
        'load new frame
        Load Frame1(Frame1.UBound + 1)
        
        'show/position the frame
        With Frame1(Frame1.UBound)
            .Visible = True
            .Top = 100
            .Left = 100
        End With

Posting Permissions

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



Click Here to Expand Forum to Full Width