Ton Plomp Posted July 25, 2009 Report Share Posted July 25, 2009 Name: Truncate Path Xcontrol Submitter: Ton Plomp Submitted: 03 Jul 2009 File Updated: 21 Sep 2009 Category: X-Controls Version: 1.1.0 LabVIEW Version: 8.2 License Type: BSD (Most common) Copyright © 2007, Ton Plomp All rights reserved. Author: Ton Plomp --see readme file for contact information Description: It will truncate a path to fit inside a (multiline) string. Besides basic funtionality it has the following properties: Truncated string (Read only property that will return the truncated string) Button Visible (Read/Write, this property will show/hide the browse button) Browse properties (Read/Write, this property will set/get the browse options) Multi-Line (Read/Write, this property will set/get the multiline option of the truncated path) Methods: Truncate Path (this method uses the VIs to truncate a path to a string) Truncate Multiline Path (this method uses the VIs to truncate a path to a multiline string) For the developer it has the following advantages: Set the browse options with a dialog similar to the native browse options dialog Browse for a path Show/Hide browse button Control the multiline-ness of the control Known issues: No drag and drop Bounds of indicator/control include (invisible) browse button Version history 1.1.0Includes multiline truncation Distributed as LLB [*]1.0.0 Initial release of the code Click here to download this file Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.