Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visualisation Depending on check box;

Status
Not open for further replies.

Diezz

Technical User
Dec 24, 2004
61
NL
Hello,

I have a checkbox "chkExplication" and text box "txtExplication". I ve set txtExplication.visible = false when i start the application.

And now i imagine the code like that :

If chkExplication.value = 1 then
txtExplication.visible = true
Else
txt.explication.visible = false
end if

I ve put this code in the "after updare event" for the check box but it dosen`t work.

In the same time, i know it's offtopic but i ll put it here, is there a way to change the appearance of the buton of a combo box?

Thanks.
 
In the AfterUpdate event procedure of the checkbox:
Me!txtExplication.Visible = Me!chkExplication

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
it works and it's great, thanks alot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top