Monday, December 12, 2016 Tip of the Day: Using Mask Options with the File List Box Control Product.......: R:BASE X/X Enterprise (Version 10) Build.........: 10.0.2.11130 or higher Section.......: Forms Keywords......: File List Box, Mask, Wildcard Characters
Did you know that many variations of file masks are supported within the File List Box control, to limit the displayed results? The "File Mask" accepts wildcards values like DOS prompt file masks. The asterisk (*) is a wildcard which matches any number of arbitrary characters. The question mark (?) is a wildcard which matches a single arbitrary character. The file mask *.* displays all files, which is the default value. For example, when using the question mark, the File List Box will limit the displayed files to JPGs starting with "Image" and has a maximum of eight characters: Image???.jpg The asterisk can be used to specify any number of characters before or after the specified text, meaning the following will display images that contain any variation with the text "form" in the file name (e.g. CopyForm.jpg, FormSettings.jpg, etc.): *form*.jpg Multiple masks can also be specified using a semicolon as the mask separator. For example, the following will limit the displayed files to JPG, PNG, and BMP images: *.jpg;*.png;*.bmp To enhance the File List Box to use a mask dynamically, use the PROPERTY command within an EEP as follows, to display only PDF document that begin with the text "Invoice": PROPERTY FileListBox1 MASK 'Invoice*.pdf' Very Best R:egards, Razzak. www.rbase.com www.facebook.com/rbase -- 33 years of continuous innovation! 18 Years of R:BASE Technologies, Inc. making R:BASE what it is today! -- -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

