Вопрос IsDone and custom CheckBox

  • Автор темы Автор темы Kratosx
  • Дата начала Дата начала

Kratosx

Новичок
Э. возможен installare ООН файлов да флажок

is possible install a file ex:data.arc from custom checkbox
 

Вложения

  • Screenshot_1.png
    Screenshot_1.png
    45.9 KB · Просмотры: 36
Kratosx,
Код:
// IsDone
    Comps1:=0; Comps2:=0; Comps3:=0;
    TmpValue:=1;
    if NewCheckBox1.Checked then Comps1:=Comps1+TmpValue;     // Comp 1
(*     TmpValue:=TmpValue*2;
    if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;     //Comp 2
    TmpValue:=TmpValue*2;
    if IsComponentSelected('voice\rus') then Comps1:=Comps1+TmpValue;    //Comp 3
    TmpValue:=TmpValue*2;
    if IsComponentSelected('voice\eng') then Comps1:=Comps1+TmpValue;    //Comp 4
*)
//    .....
  if not ISArcExtract (1, 0, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
// if not ISArcExtract (2, 0, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;  // Comp 2
P.S. Write please only on english language.
 
Назад
Сверху