LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> Truncate Path Xcontrol

Screenshot
File Information
File Name Truncate Path Xcontrol by Ton
Submitted Oct 8 2006, 08:34 PM
Last Updated Apr 2 2007, 09:27 AM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 347.26K (Estimated Download Times)
Views 1265
Downloads 220
Add Rating
This XControl is originated from this discussion.

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.0
    • Includes multiline truncation
    • Distributed as LLB
  • 1.0.0
    • Initial release of the code
Acknowledgements:
Uses code by Dave Thomson:Display Long Path.vi
Other Information
Support Topic Click here to visit support topic
File Version 1.1.0
LabVIEW Version 8.2.x
License The BSD License
Operations
Approved by Michael_Aivaliotis on Oct 10 2006, 02:04 PM
Download File

> Saved Versions

Name Filename Updated Operations
Truncate Path Xcontrol truncatepathv100.zip 11th October 2006 - 08:59 AM

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
1 user(s) active in the past 15 minutes
Active Users 1 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats We have a total of 74 files in 13 categories
A total of 40 unique authors have submitted to our site
There have been 28741 logged downloads to date
The latest file submitted was Skype SDK by Antoine Châlons (submitted Dec 24 2008, 09:44 AM)


Time is now: 6th January 2009 - 03:34 PM