IDE Window: Object Inspector/fi

From Free Pascal wiki
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi)

Komponenttimuokkain

Jos valittuna on "Näytä komponenttipuu" niin komponenttimuokkaimen yläosassa on puumaisena esityksenä komponentit jonka juurena on muokattava lomake (datamoduli, kehys tms).

Suurin osa komponenttimuokkaimen tilasta vie kolmella välilehdellä varustettua pohjaa jossa on kaksi sarakkeiset taulukot. Välilehtien nimet ovat "Ominaisuudet", "Tapahtumat" ja "Suosituimmat". Kukin taulukko näyttää osan valitun komponentin published-ominaisuudesta.

Komponenttimuokkain on hyödyllinen apuväline virheenjäljityksessä. Se kuinka sitä käytetään siinä niin siitä löytyy esimerkki examples/objectinspector -kansiosta.

Popup Menu

Aseta oletusarvo

Asettaa (property:n) ominaisuudeksi sen oletusarvon. Esimerkiksi:

 property Position: TPosition read FPosition write SetPosition default poDesigned;

Here poDesigned is the default.

Missä poDesigned on oletusarvo. Huomaa: kaikkilla (property) ominaisuuksilla ei ole oletusarvoa.

Default values defined by the stored functions are ignored by this function.

Undo

Discard changes of the edit field and restore the value of the current property. Do not confuse this with the value from the disk.

Jump to declaration

Jump to the source declaration of the property. This will be the last one. For example TForm.Left is published in the class TForm and defined in TControl. You can jump easily to the other declaration, by doing a find declaration on the name again and again, until you are the lowest definition (Alt+Up or Ctrl+LeftClick). You can jump back with Ctrl+H.

Cut

Copy property to clipboard and set the value empty.

Copy

Copy property to clipboard.

Paste

Paste value from clipboard to property.

Delete

Set value empty.

Näytä vihjeet

Sallii vihjeiden näyttämisen. Vihjeet näytetään silloin kun hiiri pysähtyy muutamaksi sekunniksi jonkun ominaisuuden päälle.

Näytä komponenttipuu

Näytää tai piilottaa komponenttipuun komponenttimuokkaimen yläosasta.

Optiot

Avaa komponenttimuokkaimen asetusarvojen välilehden käyttöliittymän asetuksesta.