GUI только при помощи FPC

Они - улучшенные подстановки переменных. Они изменяют %N переменные, используемые в пакетных файлах. Довольно полезный, если Вы в программирование пакета в Windows.

%~I         - expands %I removing any surrounding quotes ("")
%~fI        - expands %I to a fully qualified path name
%~dI        - expands %I to a drive letter only
%~pI        - expands %I to a path only
%~nI        - expands %I to a file name only
%~xI        - expands %I to a file extension only
%~sI        - expanded path contains short names only
%~aI        - expands %I to file attributes of file
%~tI        - expands %I to date/time of file
%~zI        - expands %I to size of file
%~$PATH:I   - searches the directories listed in the PATH
               environment variable and expands %I to the
               fully qualified name of the first one found.
               If the environment variable name is not
               defined or the file is not found by the
               search, then this modifier expands to the
               empty string

можно найти вышеупомянутое путем выполнения FOR /? .

5
задан Nathan Campos 28 November 2009 в 19:18
поделиться

2 ответа

Непосредственное использование набора виджетов. Посмотрите, например, на примеры в файлах packages / gtk2 для unix или на демонстрацию использования windows win32api. (demo \ win32 в установке FPC win32)

Но отказ от использования lazarus приводит к потере независимости от платформы и упрощает работу.

Если посмотреть, как это делает lazarus, все еще возможно.

Второй вариант - это https://github.com/mse-org/mseide-msegui

5
ответ дан 14 December 2019 в 04:40
поделиться

Вы также можете использовать FPC Qt4 Binding .

2
ответ дан 14 December 2019 в 04:40
поделиться
Другие вопросы по тегам:

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