Hello All,
Please excuse my ignorance, but is there a way to put a list of files into a data grid in a way to include the default icon for each file type? For example, if I put a list of files from a directory into a data grid, is there a way to include a .pdf icon for each .pdf file, a text icon for each text file, an image icon for each image file, etc. I can manually place my own icons (using my own images/icons), but I want to access the file type icons found on each user’s system dynamically... Some users will have different icons... I want each user to be able to identify her/his files accordingly...
Thanks!
- Boo
File types and associated icons?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 348
- Joined: Sun Jul 03, 2011 2:04 am
Re: File types and associated icons?
Hi Keith,
I think this is a little involved since I don't know of a way to access the file type icons natively from Livecode.
For MaxOSX I made a stack that uses a shell script and can retrieve the icons of all programs of the machine. But you would still have to find a way to associate that with a users files.
have a look at this thread
http://forums.runrev.com/phpBB2/viewtop ... ons#p36360
Kind regards
Bernd
I think this is a little involved since I don't know of a way to access the file type icons natively from Livecode.
For MaxOSX I made a stack that uses a shell script and can retrieve the icons of all programs of the machine. But you would still have to find a way to associate that with a users files.
have a look at this thread
http://forums.runrev.com/phpBB2/viewtop ... ons#p36360
Kind regards
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 348
- Joined: Sun Jul 03, 2011 2:04 am
Re: File types and associated icons?
Thanks Bernd.