Jump to content

Truncate Path Xcontrol

Sign in to follow this  

1 Screenshot

About This File

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.0
    • Includes multiline truncation
    • Distributed as LLB

    [*]1.0.0

    • Initial release of the code


What's New in Version 09/21/2009 08:38 PM   See changelog

Released

No changelog available for this version.




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.