` Getting a File Directory lookup using the DOSFileLookup control template (Craig Ransom ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Getting a File Directory lookup using the DOSFileLookup control template
2001-11-06 -- Craig Ransom
 
The DOSFileLookup control works well, but is missing a checkbox for handling Directory lookup (FILE:Directory option). While investigating this I found a quick work-around that does not involve changing the template. Populate your DOSFIleLookup control(s) and then in the embed tree find ThisWindow.Init. In the list of embed points you will see new embed points for "Set Up DOS File Lookup" but without the number. Open the Embeditor at that point and you will see lines like: FileLookup3.Init FileLookup3.Flags = BOR(FileLookup3.Flags,FILE:) FileLookupe.WindowTitle = 'Select Directory' etc. Using the WindowTitle assignment, find your Directory lookup, and copy the Flags line and insert it as a Source embed after the other lines for that control, and change the parameter, viz.: FileLookup3.Flags = BOR(FileLookup3.Flags,FILE:Directory) And now you have a directory lookup. (It took me a LOT longer to explain than it does to do!)


Today is April 25, 2024, 2:52 pm
This article has been viewed 35109 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: