Диалоговое окно обзора папки с флажками?

Каждый старый TCA может быть перенесен в новый стиль. Вы должны переместить каждую конфигурацию TCA (включая раздел 'ctrl') в новые файлы в Configuration / TCA /, как вы можете видеть в этой конфигурации TCA расширений: https://github.com/TYPO3GmbH/blog/blob /552556cb28252b376e6d4cfbbbee547b4b82d65c/Configuration/TCA/tx_blog_domain_model_author.php Если ваши расширения общедоступны в репозитории расширений TYPO3, вы, возможно, найдете для них обновление, которое уже содержит эти миграции. Для всех других расширений, включая ваше собственное, вы должны перенести TCA самостоятельно, но это не «огромная вещь» ... это как copy & amp; склеивание.

7
задан 22 April 2009 в 17:35
поделиться

3 ответа

Start with tree vew. (you will have to take care of dynamically fetching children yourself, though).

If you don't care about the Explorer Namespace (i. e. having Control Panel below My Computer, or Desktop with Recycle Bin, Network Neigborhood and some more stuff below), and only need files on drives with drive letters, you can start with enumerating drive letters (using System.IO.Directory.GetLogicalDrives).

You can get the shell icons by calling ExtendedFileInfo.GetIconForFilename from the ManagedWinapi library (http://mwinapi.sourceforge.net/), which works both for files and folders.

4
ответ дан 7 December 2019 в 14:37
поделиться

The simplest way to implement something like this would be to use a standard TreeView control with the CheckBoxes property set to true. You should also be able to use images with it if you'd like to add a little folder image next to each node.

See this MSDN article for more info.

0
ответ дан 7 December 2019 в 14:37
поделиться

FolderBrowserDialog не поддерживает флажки. Взгляните на элемент управления FolderView , который отображает флажки с несколькими состояниями рядом с папками и файлами.

0
ответ дан 7 December 2019 в 14:37
поделиться
Другие вопросы по тегам:

Похожие вопросы: