` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 5, 2024, 11:23 am
This article has been viewed 35112 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: