Logo 100
Last Downloads
Mar.09
Downloads
FileScroogeXHTML
Mar.09
Downloads
FileLockFreeThreadPool
Feb.27
Downloads
FileTButtonList
Feb.27
Downloads
FileZvdatetimepicker
Feb.19
Downloads
Filefreespider
Rechercher
Rechercher: 
Rechercher par Titre de Fichier: 
Rechercher par Description de Fichier: 
CategoryComponents with sources
Des Composants gratuits.Vérifier la licence...
(77)
CategoryProjects with sources and components
Des Projets LAZARUS avec leurs sources et composants. Vérifier la licence pour utiliser les c...
(18)
CategoryProjects without sources
Projets sans les sources
(5)
CategoryComponents without sources
Des démonstrations de composants sous LAZARUS
(5)
CategoryDocuments
Documents
(2)
CategoryProjects with sources without component
Des exemples...Projets avec sources sans composant... Vérifier la licence...
(1)
Changer de composant (Changing of Component) Convertir en PDF Version imprimable Suggérer par mail
Appréciation des utilisateurs: / 0
FaibleMeilleur 
Écrit par Matthieu Giroux   
21-09-2008

French

On pense rarement à trifouiller son interface quand on programme.

Un développeur sera pourtant plus productif avec des astuces ou des raccourcis.

Nous allons ici parler de la transformation d'un composant vers un autre composant sur une fiche.

 

Démarche

 

Tout d'abord aller sur la fiche à transformer.

Ajouter son composant et l'effacer. Cela permet de relier le projet au nouveau paquet du composant.

Aller sur la classe de sa fiche dans le fichier pascal.

Changer le type de son composant dans le code, vers le nouveau type de composant sans se tromper.

Aller de nouveau sur la fiche mais cliquer droit dessus pour l'afficher en mode texte.

Retrouver son composant à transformer puis changer le type.

Fermer et rouvrir le projet.

Votre nouveau composant a remplacé l'ancien.

Cela marche aussi avec DELPHI.

 

 English


You do'nt know how to manipulate your form to upgrade its components. Here is an idea. Just change the type of your component after having adding and erasing to create the link.

I explain now the method. just add your component to your form. It is integrated in the opened project of the form. You can erase it.

After that go to the type of the component to upgrade in the pas file of form. Change the type. Go to the form and show it as text file. Change the good type of component in the right variable similar to the upgrading variable of the form.

Save the project. Close the project and reopen it. Pass the messages wishes show the erasing properties. Your new component is here.
 

Dernière mise à jour : ( 09-04-2009 )
 

Ajouter un Commentaire


Code de sécurité
Rafraîchir

Suivant >
Latest Remository Comments
Posted by: giroux
Date iconDec.24

Posted by: pedestre
Date iconDec.19

Posted by: giroux
Date iconAug.17

Posted by: giroux
Date iconAug.17

Top Downloads
Jan.27
Downloads
File iconFPC Documentation
738
Feb.23
Downloads
File iconTRichView
528
Feb.23
Downloads
File iconTJvXPBar
439
Jan.26
Downloads
File iconTVirtualTreeView
380
Jan.26
Downloads
File iconTVirtualDBTreeEx
322
Identification





Mot de passe oublié ?
Pas encore de compte ? Enregistrez-vous
Articles
Accueil
Liens
P.O.O.
LAZARUS
Lazarus and Firebird
Composants
DELPHI
FAQs
Contact
RAD LAZARUS
Administration du site