Вопрос How to stop the music at determinate page of the setup?

nizcoz

Участник
How to stop the music at determinate page and then reinitiate the music at the next page, is this possible? Somebody have an example of this? Thanks!
 
Последнее редактирование:

Timick

Старожил
Если я правильно понял вопрос, то нужно остановить проигрывание музыки на определённой странице, а потом опять включить? Если так, то вот пример:

Код:
Procedure CurPageChanged(CurPageID: Integer);
begin
  Case CurPageID of
    wpWelcome: begin
      Bass_Start;
    end;

    wpSelectDir: begin
      Bass_Pause;
    end;
 

nizcoz

Участник
@Timick , thanks. But i want stop the music in a determinate page and then reinitiate the music at the next page, is this possible?
 

Ramiro Cruzo

Новичок
Use a bit of brain XD

Код:
Procedure CurPageChanged(CurPageID: Integer);
begin
  Case CurPageID of
    wpWelcome: begin
      Bass_Start;
    end;

    wpSelectDir: begin
      Bass_Pause;
    end;

    wpInstallation: begin
      Bass_Start;
    end;
 
Сверху