Integrated
Download
1 / 16

IDE - PowerPoint PPT Presentation


  • 134 Views
  • Uploaded on

Integrated Development Environment. IDE. Cada parte da IDE. File > New > VCL Forms Application - Delphi. SALVEM O PROJETO. Prática – desenhando uma interface. Panel Edit Label Button ComboBox. Propriedades Name Caption Eventos OnCLick OnEnter. COMPILEM O PROJETO.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' IDE' - macha


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

IntegratedDevelopmentEnvironment

IDE



File new vcl forms application delphi
File > New > VCL FormsApplication - Delphi

SALVEM O PROJETO


Pr tica desenhando uma interface
Prática – desenhando uma interface

Panel

Edit

Label

Button

ComboBox

  • Propriedades

  • Name

  • Caption

  • Eventos

  • OnCLick

  • OnEnter

COMPILEM O PROJETO


Prática – Propriedades

  • De uma nome a cada um dos componentes na tela

  • Apague a propriedade Text do Edit

  • Apague a propriedade Caption do Label

  • Marque para False a propriedade do Panel

  • Altere a propriedade Caption do Button para “Mostrar texto”

  • Na propriedade Itens do ComboBox inclua os seguintes itens

    • Azul

    • Amarelo

    • Verde

  • Inclua o valor 0 a propriedade ItemIndex do ComboBox

COMPILEM O PROJETO


Prática - Eventos

  • OnChange do Edit

    Label1.Caption:= Edit1.Text;

  • OnClick do Button

    MessageDlg( Edit1.Text, mtInformation, [mbOK], 0 )

  • OnEnter do Edit

    case ComboBox1.ItemIndex of

    0: Edit1.Color:= clBlue;

    1: Edit1.Color:= clYellow;

    2: Edit1.Color:= clGreen;

    end;

  • OnExit do Edit

    Edit1.Color:= clWindow

COMPILEM O PROJETO











ad