Ir para conteúdo

Featured Replies

  • 3 months later...
  • Respostas 69
  • Visualizações 15.5k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

Postado

To com uma duvida.

porque vc colocou a groupbox? eu n intendi muito bem.

to començando agora a mecher no delphi e nao intendi que função vc programou para a combobox

ali voce diz

hotkey(Combobox1.Text)

// Pressiona oque tiver no Texto do Combobox
mas oque vai tar no texto do combobox?
  Em 29/06/2011 em 20:58, Kimoszin disse:
1 TGroupBox

1 TButton

2 TLabeledEdit

2 TCheckBox

1 TCombobox

2 TLabel

4 TTimer
Food
hotkey(Combobox1.Text)

// Pressiona oque tiver no Texto do Combobox
StartButton
CastSpell.Enabled := not(CastSpell.Enabled);

Food.Enabled := not(Food.Enabled);

Kick.Enabled := not(Kick.Enabled);


if Checkbox1.checked then

Kick.Enabled := true

else

Kick.Enabled := false;


if Checkbox2.checked then

Food.Enabled := true

else

Food.Enabled := false;


if (Spell.Text <> '') and (Mana.Text <> '') then

CastSpell.Enabled := true

else

CastSpell.Enabled := false;


if (Kick.Enabled) or (Food.Enabled) or (CastSpell.Enabled) then

StartButton.Caption := 'Stop'

else

StartButton.Caption := 'Start';

Postado

Da um help ae, não sei se coloquei certo, deu 26 erros.

kkkkk, pf nao me chame de lixo

Mostrar conteúdo oculto

Edited___________

tinha esquecido de postar os erros:

Mostrar conteúdo oculto

Checking project dependencies...

Compiling Project1.dproj (Debug configuration)

[DCC Error] Unit1.pas(109): E2070 Unknown directive: 'TForm1'

[DCC Error] Unit1.pas(111): E2003 Undeclared identifier: 'CastSpell'

[DCC Error] Unit1.pas(111): E2029 ')' expected but identifier 'Enabled' found

[DCC Error] Unit1.pas(115): E2066 Missing operator or semicolon

[DCC Error] Unit1.pas(115): E2029 'THEN' expected but identifier 'checked' found

[DCC Error] Unit1.pas(120): E2003 Undeclared identifier: 'Checkbox2'

[DCC Error] Unit1.pas(125): E2003 Undeclared identifier: 'Spell'

[DCC Error] Unit1.pas(130): E2003 Undeclared identifier: 'Kick'

[DCC Error] Unit1.pas(139): E2003 Undeclared identifier: 'Label2'

[DCC Error] Unit1.pas(146): E2066 Missing operator or semicolon

[DCC Error] Unit1.pas(150): E2070 Unknown directive: 'TForm1'

[DCC Error] Unit1.pas(152): E2003 Undeclared identifier: 'Combobox1'

[DCC Error] Unit1.pas(152): E2029 '(' expected but ')' found

[DCC Error] Unit1.pas(154): E2014 Statement expected, but expression of type 'Text' found

[DCC Error] Unit1.pas(156): E2070 Unknown directive: 'TForm1'

[DCC Error] Unit1.pas(158): E2029 Statement expected but 'VAR' found

[DCC Error] Unit1.pas(158): E2029 'END' expected but 'VAR' found

[DCC Error] Unit1.pas(158): E2029 'END' expected but 'VAR' found

[DCC Error] Unit1.pas(158): E2029 ';' expected but 'VAR' found

[DCC Error] Unit1.pas(168): E2029 '.' expected but ';' found

[DCC Error] Unit1.pas(24): E2065 Unsatisfied forward or external declaration: 'TForm1.CastSpellTimer'

[DCC Error] Unit1.pas(25): E2065 Unsatisfied forward or external declaration: 'TForm1.EndereçoTimer'

[DCC Error] Unit1.pas(26): E2065 Unsatisfied forward or external declaration: 'TForm1.KickTimer'

[DCC Error] Unit1.pas(27): E2065 Unsatisfied forward or external declaration: 'TForm1.FoodTimer'

[DCC Error] Unit1.pas(28): E2065 Unsatisfied forward or external declaration: 'TForm1.StartButtonclick'

[DCC Fatal Error] Project1.dpr(5): F2063 Could not compile used unit 'Unit1.pas'

Failed

Editado por cainan (veja o histórico de edições)

Postado
  Citar
[DCC Error] Unit1.pas(120): E2003 Undeclared identifier: 'Checkbox2'

[DCC Error] Unit1.pas(125): E2003 Undeclared identifier: 'Spell'

[DCC Error] Unit1.pas(130): E2003 Undeclared identifier: 'Kick'

[DCC Error] Unit1.pas(139): E2003 Undeclared identifier: 'Label2'

Esses dizem que você não alterou o nome dos itens no form:

A checkbox, os timers, e a label, os outros erros tive preguiça de pensar.

Editado por alfbru (veja o histórico de edições)

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo