Problem disabling an element of a set
Posted on 2004-08-16
I have a a control that I am working with. When I look at it in the Object inspector, I see the properties. One of the properties (SearchProperties) has a '+' sign beside it. I click on the '+' and the properties expand. One of the sub-properties is of particular interest. It is called 'okIncludeSubFolder'. it can be either True or False. It is one of a set of sub-properties of SearchProperties. My issue is that I need to be able to set it to True or False PROGRAMATICALLY.
I can set it to true without problem....
If ProcessSubFolders.Checked = True then
ES1.SearchOptions := [okIncludeSubFolder]
I cannot figure out how to set it to False.
Any help appreciated.