• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Swap File dialog only displays the first characters of a filename
#4
Delphi/Lazarus (pascal based) have a MinimiseName function which adjusts a file name so that it fits into a specified width (I'm sure you are not using pascal but it might give you some ideas). This thread also indicates a way of doing it with an WIN API call (though probably not much use if you want the same code for Android).

Here is the code for the Lazarus MinimiseName function; if you can convert this then the code could possibly be used on both Windows and Android.

Geoff
Samsung Galaxy Tab A6
Reply


Messages In This Thread
RE: Swap File dialog only displays the first characters of a filename - by Geoff Bacon - 09-05-2017, 08:42 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.