|
-
May 1st, 2006, 05:26 AM
#1
Lively Member
Re: locked frames
 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:
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.
-
May 1st, 2006, 06:09 AM
#2
Thread Starter
Lively Member
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??????
-
May 1st, 2006, 06:12 AM
#3
Lively Member
Re: locked frames
sorry..it should be
VB Code:
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.
-
May 1st, 2006, 06:37 AM
#4
Thread Starter
Lively Member
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
-
May 1st, 2006, 06:59 AM
#5
Lively Member
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.
-
May 1st, 2006, 07:17 AM
#6
Thread Starter
Lively Member
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....
-
May 1st, 2006, 07:22 AM
#7
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|