Ton Plomp Posted October 10, 2006 Report Share Posted October 10, 2006 File Name: Truncate Path Xcontrol File Submitter: tcplomp File Submitted: 8 Oct 2006 File Updated: 11 Oct 2006 File Category: XControls This XControl is originated from this discussion. It will truncate a path to fit inside a 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) Methods: Truncate Path (this method uses the VIs to truncate a path to a 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 Known issues: No drag and drop Bounds of indicator/control include invisible browse button Acknowledgements: Uses code by Dave Thomson:Display Long Path.vi 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.