Sign in Join
Wiki copytemporary

Poweredby/fr

English · Français · Русский

=Composant TPoweredBy=

par minesadorada@charcodelvalle.com

Graphique Windows graphic

Graphique Linux/macOS

Autres logos et bannières


Résumé

Téléchargez

Téléchargez depuis le Lazarus-CCR ici.

Installation

  1. Créez un nouveau dossier 'poweredby'
  2. Dézippez l'archive dans le dossier
  3. Dans l'EDI Lazarus ouvrez le paquet poweredby.lpk.
  4. Répondez 'Oui' à la question 'Ouvrir comme un projet ?'
  5. Compilez
  6. Cliquez sur Installer
  7. Répondez 'Oui' à la question 'Voulez-vous compiler Lazarus ?'
  8. Après que Lazarus ait redémarré, contrôlez le nouveau composant 'Poweredby' dans la palette 'Additional'.

Utilisation

C'est tout !!

Autres utilisations

Le composant PoweredBy se prête bien à l'ajout comme sous-composant à un composant personnalisé existant :

pascal
Uses uPoweredBy, Propedits, ..other units

Type
TMyComponent = Class(TComponent)
private 
  fPoweredBy:TPoweredBy;
  ..other stuff
public
  procedure ShowPoweredByLogo; // Call fPoweredBy.ShowPoweredByForm method in this proc.
  ..other stuff
published
  property PoweredBy:TPoweredBy read fPoweredBy write fPoweredBy;
  ..other stuff
end;

procedure Register;
RegisterPropertyEditor(TypeInfo(TPoweredBy),
    TMyComponent, 'PoweredBy', TClassPropertyEditor);

Constructor TMyComponent.Create()
// Use tPoweredBy as a subcomponent
// Register a TClassPropertyEditor in order to display it correctly
  fPoweredBy := TPoweredBy.Create(Self);
  fPoweredBy.SetSubComponent(true);  // Tell the IDE to store the modified properties
  fPoweredBy.Name:='PoweredBy';

Licence

Licence LGPL.

Plate-forme

Windows

Linux

macOS

Testé sur

Version

V1.0.1.2

Support

Adresser un courrier à l'auteur pour toute requête.


Voir aussi


From the Free Pascal wiki, page "Poweredby/fr", as it stood on 2020-02-23 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Edited on wiki.freepascal.org by 2 people, 2017–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
E-ricCreated page
E-ricSummary (minor)
E-ricDownload (minor)
E-ricInstall
E-ricInstall (minor)
E-ricUse (minor)
E-ricLicense (minor)
E-ricPlatform
E-ricTested (minor)
E-ricTesté sur (minor)
E-ricSupport (minor)
E-ricGraphique Windows graphic= (minor)
TrevFixed syntax highlighting (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.