| 118 | //--------------------------------------------------------------------------- |
| 119 | |
| 120 | void __fastcall TPreferences_CustomF::HelpClick(TObject *Sender) |
| 121 | { |
| 122 | TForm* Form=new TForm(this); |
| 123 | Form->Caption="Help on Custom text"; |
| 124 | Form->Width=600; |
| 125 | Form->Height=300; |
| 126 | Form->BorderIcons<<biSystemMenu; |
| 127 | TMemo* Memo=new TMemo(Form); |
| 128 | Memo->Parent=Form; |
| 129 | Memo->Width=Form->ClientWidth; |
| 130 | Memo->Height=Form->ClientHeight; |
| 131 | Memo->Text= "Availiable scripting methods :\r\n" |
| 132 | "- %A% : inserts the tag A.\r\n" |
| 133 | "- [A %B% C %D%] : inserts \"A %B% C %D%\" if tag B (the first tag) is available. If not, inserts nothing\r\n" |
| 134 | "- $if(%A%,B,C) : inserts B if tag A is availbale. If not, inserts C.\r\n" |
| 135 | "\r\n" |
| 136 | "Sometimes, there are reserved characters.\r\n" |
| 137 | "You can replace x with \\x\r\n" |
| 138 | "Known reserved character : \\\, \\[, \\], \\, (comma), \\;, \\(; \\)\r\n" |
| 139 | "\r\n" |
| 140 | "Known parameters are :\r\n"; |
| 141 | Memo->Text=Memo->Text+MediaInfoNameSpace::MediaInfo::Option_Static(__T("Info_Parameters_CSV")).c_str(); |
| 142 | Form->ShowModal(); |
| 143 | } |
| 144 | |
| 145 | //*************************************************************************** |
| 146 | // C++ |
nothing calls this directly
no outgoing calls
no test coverage detected