Results 1 to 28 of 28

Thread: locked frames

Hybrid View

  1. #1
    Lively Member
    Join Date
    Apr 2006
    Location
    Planet Earth
    Posts
    64

    Re: locked frames

    Quote Originally Posted by Simply Me
    frame has no .locked property. They are right, use .enabled=false property instead. All controls inside the frame will be disabled.
    try

    VB Code:
    1. fraCustomers.enabled = true

    good luck!
    I'm Still learning!
    satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
    Ur opinions helps me to be better!


    Appreciation Triggers Another Good Deeds.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Location
    somewhere i would rather not be...
    Posts
    76

    Re: locked frames

    now im overly confused, it stil wont do anything, i have tried fraCustomers.Enabled = False
    fraCustomers.Enabled = True - and neither will lock the frame and contents?????? any clues??????
    Jeebob

  3. #3
    Lively Member
    Join Date
    Apr 2006
    Location
    Planet Earth
    Posts
    64

    Re: locked frames

    sorry..it should be

    VB Code:
    1. fraCustomers.enabled = False


    when u use the above code, u mean u still can write in the textbos and click the buttons inside the frame?

    bcoz, when the frame in disabled (.enabled= false), all the objects inside the frame doesn't appear to be locked but u still can't use the objects inside it i.e. write in the textbox or click the buttons in the frame.
    I'm Still learning!
    satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
    Ur opinions helps me to be better!


    Appreciation Triggers Another Good Deeds.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Location
    somewhere i would rather not be...
    Posts
    76

    Re: locked frames

    i no this seems impossible but it stil doesnt do anything

    Private Sub txtOtherContact_LostFocus()
    fraCustomers.Enabled = False
    'fraCustomers.Enabled = True
    End Sub
    and

    Private Sub txtOtherContact_LostFocus()
    'fraCustomers.Enabled = False
    fraCustomers.Enabled = True
    End Sub

    neither way works is there any way i need to link the objects to the frames for it to work because i really dont know why this isnt working
    Jeebob

  5. #5
    Lively Member
    Join Date
    Apr 2006
    Location
    Planet Earth
    Posts
    64

    Re: locked frames

    i tried ur codes and it worked just well..when the txtOtherContact textbox lost it focus (if u click on other objects), the frame will be locked..that's what i've got..
    I'm Still learning!
    satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
    Ur opinions helps me to be better!


    Appreciation Triggers Another Good Deeds.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Location
    somewhere i would rather not be...
    Posts
    76

    Re: locked frames

    al send ya the project if ya like see if you can find out anythin thats wrong with it.... becuase its really driving me crazy....
    Jeebob

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: locked frames

    There is no reason to "send" it. Just zip it using Winzip and attach it.

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