IDE Window: Object Inspector/fi

From Free Pascal wiki
Revision as of 19:23, 22 July 2006 by Djzepi (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi) 日本語 (ja)

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

SAseta 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.

Show hints

Enable showing hints. Hints are shown, when mouse stops a few seconds over a property.

Show component tree

Show or Hide the component tree at the top of the object inspector.

Optiot

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