﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.howtodothings.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>HowToDoThings.com Delphi</title>
 <link>http://www.howtodothings.com/fr/delphi-4</link>
 <description>A list of recent articles by category as Teasers.</description>
 <language>fr</language>
<item>
 <title>Comment Ajouter Formulaire Ombre sur Windows XP</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-ajouter-formulaire-ombre-sur-windows-xp</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-ajouter-formulaire-ombre-sur-windows-xp#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Tue, 31 Mar 2009 09:56:46 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">56652 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment faire pour installer et désinstaller des polices de Delphi Code</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-installer-et-d%C3%A9sinstaller-des-polices-de-delphi-code</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-installer-et-d%C3%A9sinstaller-des-polices-de-delphi-code#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sun, 29 Mar 2009 13:51:33 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">55299 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Turn On / Off Monitor avec Delphi</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/how-to-turn-on-off-monitor-avec-delphi</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/how-to-turn-on-off-monitor-avec-delphi#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sun, 29 Mar 2009 07:10:51 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">55096 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment un programme de Delphi en mode console</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-un-programme-de-delphi-en-mode-console</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-un-programme-de-delphi-en-mode-console#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 28 Mar 2009 12:31:25 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">54514 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment faire pour capturer l&#039;écran avec Delphi</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-capturer-l%C3%A9cran-avec-delphi</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-capturer-l%C3%A9cran-avec-delphi#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 28 Mar 2009 10:30:12 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">54451 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment connecter un Delphi demande d&#039;accès</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-connecter-un-delphi-demande-dacc%C3%A8s</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-connecter-un-delphi-demande-dacc%C3%A8s#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Wed, 25 Mar 2009 00:11:34 -0500</pubDate>
 <dc:creator>m_s</dc:creator>
 <guid isPermaLink="false">53395 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment faire un programme avec Delphi</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-un-programme-avec-delphi</link>
 <description></description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-un-programme-avec-delphi#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sun, 22 Mar 2009 23:00:48 -0500</pubDate>
 <dc:creator>Zamrony P535</dc:creator>
 <guid isPermaLink="false">52870 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Bon de commande de lignes</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/bon-de-commande-de-lignes</link>
 <description>&lt;p&gt;Lors de la création d&amp;#39;une association ECO-vous ne sont pas garantis de l&amp;#39;ordre dans lequel les objets à la fin de l&amp;#39;association sera présentée. Pour cette raison, ECO offre un booléen «ordonné» de propriété sur l&amp;#39;association se termine. &lt;/p&gt;
&lt;p&gt; Lorsque vous définissez Ordered = True dans votre modèle, puis créer votre base de données, ECO permettra de créer une colonne supplémentaire dans votre base de données identifiant la séquence des objets. &lt;/p&gt;
&lt;p&gt;Je viens de créer SalesInvoice / SalesInvoiceLine classes et a choisi d&amp;#39;avoir un ordre d&amp;#39;association, essentiellement parce qu&amp;#39;il est de pratiquer l&amp;#39;industrie afin d&amp;#39;identifier chaque ligne d&amp;#39;une facture / commande avec une Sequencial nombre, le rendant facilement identifyable il lors de l&amp;#39;examen. &lt;/p&gt;
&lt;p&gt; Il aurait été bien si je pouvais avoir utilisé un attribut dérivé OCL avec une expression similaire à ceci: &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt; this.SalesInvoice.lines-&amp;gt; indexOf (self)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/bon-de-commande-de-lignes&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/bon-de-commande-de-lignes#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:40:49 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">42993 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Application.ProcessMessages remplacement</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/applicationprocessmessages-remplacement</link>
 <description>&lt;p&gt;Non seulement Application.ProcessMessages est assez long à taper, souvent des fonctionnalités supplémentaires doit être appelée lorsque son utilisation. À cette fin, j&amp;#39;ai créé deux enveloppes de base qui peut être utilisé à sa place: &lt;/p&gt;
&lt;p&gt; ... &lt;/p&gt;
&lt;p&gt; procédure ProcessMsg (); surcharge; &lt;br /&gt; procédure ProcessMsg (const SleepFor: Word); surcharge; &lt;/p&gt;
&lt;p&gt; la mise en œuvre &lt;/p&gt;
&lt;p&gt; procédure ProcessMsg (); &lt;br /&gt; commencer &lt;br /&gt; ProcessMsg (0); &lt;br /&gt; fin; &lt;/p&gt;
&lt;p&gt;procédure ProcessMsg (const SleepFor: Word); surcharge; &lt;br /&gt; commencer &lt;br /&gt; Application.ProcessMessages (); &lt;br /&gt; Sleep (SleepFor); &lt;br /&gt; fin; &lt;/p&gt;
&lt;p&gt; ... &lt;/p&gt;
&lt;p&gt; Maintenant, au lieu d&amp;#39;écrire Application.ProcessMessages (); dans votre code, vous pouvez écrire ProcessMsg (); la place. Et dans l&amp;#39;avenir, vous pouvez étendre ce qui se passe autour Application.ProcessMessages appels sans visiter beaucoup de domaines différents de votre code. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/applicationprocessmessages-remplacement&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/applicationprocessmessages-remplacement#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:21:39 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42985 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment faire pour récupérer les valeurs AutoInc avec BDP dans Delphi 2005</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-r%C3%A9cup%C3%A9rer-les-valeurs-autoinc-avec-bdp-dans-delphi-2005</link>
 <description>&lt;p&gt;Dans cet article, je vais utiliser le terme «identité» de façon interchangeable à noter Auto généré (à partir de RDMS) en général pour des valeurs d&amp;#39;une colonne représentant la clé primaire d&amp;#39;une table. Ce sont les «séquences» en Oracle et &amp;quot;producteurs&amp;quot; de Interbase. &lt;br /&gt; En fait, il existe 3 options pour obtenir la valeur d&amp;#39;identité en utilisant ADO. NET en général:
&lt;ol&gt;
&lt;li&gt; L&amp;#39;utilisation d&amp;#39;un lot de requêtes (la base de données est évidemment à l&amp;#39;appui de cette) &lt;/li&gt;
&lt;li&gt;Utilisez une procédure stockée (comme la commande Insérer) comme ayant un paramètre de sortie de la «Identité» de valeur (ce qui est le plus rapide et donc la méthode recommandée) &lt;/li&gt;
&lt;li&gt; Handle Adapter la RowUpdated / RowUpdating événement et publiera un &amp;quot;SELECT @ @ IDENTITY&amp;quot; (dans le cas de SQL Server) dans le code de requête dans ce gestionnaire d&amp;#39;événement (plus lent) &lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-r%C3%A9cup%C3%A9rer-les-valeurs-autoinc-avec-bdp-dans-delphi-2005&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-faire-pour-r%C3%A9cup%C3%A9rer-les-valeurs-autoinc-avec-bdp-dans-delphi-2005#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:21:21 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42983 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Paramètre existe</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/param%C3%A8tre-existe</link>
 <description>&lt;p&gt;Vous aurez besoin de la fonction dans cet article (&lt;a href=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=760&quot; title=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=760&quot;&gt;http://www.howtodothings.com/ViewArticle.aspx?Article=760&lt;/a&gt;) pour obtenir ce travail correctement &lt;/p&gt;
&lt;p&gt; ParamExists fonction (const paramname: string): Boolean; &lt;br /&gt; var &lt;br /&gt; S: string; &lt;br /&gt; commencer &lt;br /&gt; Résultat: = GetParameterValue (paramname, [&amp;#39;/&amp;#39;,&amp;#39;-&amp;#39;], &amp;#39;:&amp;#39;, S); &lt;br /&gt; fin; &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/param%C3%A8tre-existe#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:20:46 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42981 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Get paramètres de ligne de commande</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/get-param%C3%A8tres-de-ligne-de-commande</link>
 <description>&lt;p&gt;(* GetParameterValue &lt;/p&gt;
&lt;p&gt; GetParameterValue sera de retour la valeur associée à un nom de paramètre sous la forme de &lt;/p&gt;
&lt;p&gt; / paramname: paramvalue &lt;br /&gt; -paramname: paramvalue &lt;/p&gt;
&lt;p&gt; et &lt;/p&gt;
&lt;p&gt; / paramname &lt;br /&gt; -paramname &lt;/p&gt;
&lt;p&gt; Paramname - Nom du paramètre (paramname) &lt;br /&gt; SwitchChars - changer les identificateurs de paramètres (/ ou -) &lt;br /&gt; Seperator - Le char qui se trouve entre paramname et paramvalue (:) &lt;br /&gt;Valeur - La valeur du paramètre (paramvalue) si elle existe &lt;/p&gt;
&lt;p&gt; Returns - booléenne, true si le paramètre a été trouvé, false si le paramètre n&amp;#39;existe pas &lt;/p&gt;
&lt;p&gt; usage typique &lt;/p&gt;
&lt;p&gt; Paramètre &lt;br /&gt; -P = c: \ temp \ &lt;br /&gt; -S &lt;/p&gt;
&lt;p&gt; GetParameterValue ( &amp;#39;p&amp;#39;, [&amp;#39;/&amp;#39;,&amp;#39;-&amp;#39;], &amp;#39;=&amp;#39;, sValue); &lt;/p&gt;
&lt;p&gt; sValue contiendra c: \ temp \ &lt;/p&gt;
&lt;p&gt; *) &lt;br /&gt; GetParameterValue fonction (const paramname: string; SwitchChars: TSysCharSet; &lt;br /&gt;Seperator: Char; var Valeur: string): Boolean; &lt;br /&gt; var &lt;br /&gt; I, Sep: longint;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/get-param%C3%A8tres-de-ligne-de-commande&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/get-param%C3%A8tres-de-ligne-de-commande#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:20:29 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42979 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Obtenir la taille d&#039;un fichier</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/obtenir-la-taille-dun-fichier</link>
 <description>&lt;p&gt;fonction GetFileSize (const FileName: string): Integer; &lt;br /&gt; var &lt;br /&gt; sr: TSearchRec; &lt;br /&gt; commencer &lt;br /&gt; Résultat: = 0; &lt;/p&gt;
&lt;p&gt; si FindFirst (FileName, faAnyFile, sr) = 0 alors &lt;br /&gt; commencer &lt;br /&gt; Résultat: = sr.Size; &lt;br /&gt; FindClose (sr); &lt;br /&gt; fin; &lt;br /&gt; fin; &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/obtenir-la-taille-dun-fichier#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 10:20:09 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42977 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>BaseForm classe</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/baseform-classe</link>
 <description>&lt;p&gt;Avez-vous déjà trouvé votre ajoutant le même code à des formes différentes? Eh bien maintenant vous pouvez utiliser le texte suivant en tant que classe de base pour toutes les formes. &lt;/p&gt;
&lt;p&gt; =============== BEGIN CODE ====================== &lt;br /&gt; BaseForm unité; &lt;/p&gt;
&lt;p&gt; interface &lt;/p&gt;
&lt;p&gt; utilise sysutils, Classes, Forms, Windows; &lt;/p&gt;
&lt;p&gt; type &lt;br /&gt; TBaseForm = class (TForm) &lt;br /&gt; protégées &lt;br /&gt; IsModal fonction (): Boolean; &lt;br /&gt;procédure keydown (var Key: Word; Maj: TShiftState); override; &lt;br /&gt; procédure ShowError (E: Exception); &lt;br /&gt; fonction MsgBox (Msg: string; &lt;br /&gt; uType: Integer = MB_OK ou MB_ICONSTOP): Integer; surcharge; &lt;br /&gt; fonction MsgBox (Msg, MsgCaption: string; &lt;br /&gt; uType: Integer = MB_OK ou MB_ICONSTOP): Integer; surcharge; &lt;br /&gt; fin; &lt;/p&gt;
&lt;p&gt;la mise en œuvre &lt;/p&gt;
&lt;p&gt; utilise des contrôles; &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/baseform-classe&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/baseform-classe#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 09:01:26 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42960 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Fonction MsgBox</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/fonction-msgbox</link>
 <description>&lt;p&gt;Personnellement, je trouve à la fois la WINAPI MessageBox et Application.MessageBox et MessageDlg fonctions cludgy et toujours ajouter la fonction suivante à toutes les applications. &lt;/p&gt;
&lt;p&gt; fonction MsgBox (const Msg: string; &lt;br /&gt; MsgType: Integer = MB_OK ou MB_ICONSTOP): Integer; &lt;br /&gt; commencer &lt;br /&gt; Résultat: = MessageBox (Application.Handle, PChar (MSG), &lt;br /&gt; PChar (Application.Title), MsgType); &lt;br /&gt; fin; &lt;/p&gt;
&lt;p&gt; exige que Forms.pas est utilise dans la clause. &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/fonction-msgbox#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 09:01:09 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42958 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Supprimer ReadOnly pavillon à partir du fichier</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/supprimer-readonly-pavillon-%C3%A0-partir-du-fichier</link>
 <description>&lt;p&gt;La fonction suivante va tenter de supprimer la lecture seule sur un fichier, vous aurez besoin de la fonction dans cet article (&lt;a href=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=755&quot; title=&quot;http://www.howtodothings.com/ViewArticle.aspx?Article=755&quot;&gt;http://www.howtodothings.com/ViewArticle.aspx?Article=755&lt;/a&gt;). &lt;/p&gt;
&lt;p&gt; fonction RemoveReadOnly (const FileName: string): Boolean; &lt;br /&gt; commencer &lt;br /&gt; (* Supposons Succès *) &lt;br /&gt; Résultat: = True; &lt;/p&gt;
&lt;p&gt; (* Assurez-vous que le fichier est en lecture seule, avant &lt;br /&gt; nous essayons de changer les attributs *) &lt;br /&gt; if (IsReadOnly (FileName)) then &lt;br /&gt;commencer &lt;br /&gt; SetFileAttributes (PChar (FileName), FILE_ATTRIBUTE_NORMAL); &lt;/p&gt;
&lt;p&gt; Résultat: = pas IsReadOnly (FileName); &lt;br /&gt; fin; &lt;br /&gt; fin; &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/supprimer-readonly-pavillon-%C3%A0-partir-du-fichier#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 09:00:58 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42957 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Détecter si le fichier est ReadOnly</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/d%C3%A9tecter-si-le-fichier-est-readonly</link>
 <description>&lt;p&gt;La fonction suivante renvoie True si un fichier est en lecture seule. &lt;/p&gt;
&lt;p&gt; fonction IsReadOnly (const FileName: string): Boolean; &lt;br /&gt; var &lt;br /&gt; sr: TSearchRec; &lt;br /&gt; commencer &lt;br /&gt; (* Supposons pas lu seulement *) &lt;br /&gt; Résultat: = False; &lt;/p&gt;
&lt;p&gt; si FindFirst (FileName, faAnyFile, sr) = 0 alors &lt;br /&gt; commencer &lt;br /&gt; Résultat: = (sr.Attr et faReadOnly) &amp;lt;&amp;gt; 0; &lt;br /&gt; FindClose (sr); &lt;br /&gt; fin; &lt;br /&gt; fin; &lt;/p&gt;
</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/d%C3%A9tecter-si-le-fichier-est-readonly#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 09:00:45 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42955 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Comment fonctionne BoldTreeView</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-fonctionne-boldtreeview</link>
 <description>&lt;p&gt;Ceci est juste un petit jeu d&amp;#39;instructions, plutôt que d&amp;#39;un article. Il est une copie d&amp;#39;une annonce que j&amp;#39;ai faite dans un groupe de discussion Borland ... &lt;/p&gt;
&lt;p&gt; Je vais vous donner un exemple de celle que j&amp;#39;ai fait récemment .... &lt;/p&gt;
&lt;p&gt; 01) Régler la propriété BoldHandle à votre BoldSystemHandle &lt;br /&gt; 02) Double-cliquez sur l&amp;#39;arborescence de mettre de l&amp;#39;éditeur &lt;br /&gt; 03) Cliquez sur le bouton &amp;quot;Root&amp;quot; element &lt;br /&gt; 04) Si elle ne l&amp;#39;a pas déjà eu un enfant, cliquez sur &amp;quot;Ajouter une liste Fragment&amp;quot; &lt;br /&gt;05) Dans ElementExpression entre les principaux OCL, par exemple &lt;br /&gt; &amp;quot;Customer.allInstances&amp;quot; &lt;br /&gt; 06) Mettre à True InterpretAsList &lt;br /&gt; 07) Mettre ControllerExpression à la clientèle (y compris les guillemets) &lt;/p&gt;
&lt;p&gt; Qu&amp;#39;est-ce que vous avez maintenant est une racine qui récupère une liste de clients. La BTV sait qu&amp;#39;il a besoin d&amp;#39;un «nœud de contrôleur» appelé «client» pour représenter chaque élément de la liste (qui est la raison pour laquelle InterpretAsList = True). &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-fonctionne-boldtreeview&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/comment-fonctionne-boldtreeview#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 09:00:12 -0600</pubDate>
 <dc:creator>Peter5</dc:creator>
 <guid isPermaLink="false">42953 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Stocker et de récupérer dans un Bitmap ECO</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/stocker-et-de-r%C3%A9cup%C3%A9rer-dans-un-bitmap-eco</link>
 <description>&lt;p&gt;Cet article présente les bases de la façon de stocker et de récupérer une image dans un ECO variable. &lt;/p&gt;
&lt;p&gt; Tout d&amp;#39;abord créer un ECO variable dans la classe que vous souhaitez garder l&amp;#39;image, par exemple: &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;FCanvas: Byte&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt; Notez que nous voulons vraiment avoir un tableau d&amp;#39;octets, alors clic droit sur FCanvas et sélectionnez &amp;quot;Aller à la définition&amp;quot;. &lt;br /&gt; Vous pouvez maintenant modifier la définition de byte [] comme suit: &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;privé byte [] FCanvas&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Pour écrire le Bitmap FCanvas à utiliser le texte suivant: &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;ImageConverter ic = new ImageConverter (); &lt;/p&gt;
&lt;p&gt; System.Byte [] ba = (System.Byte []) ic.ConvertTo (bmp, typeof (System.Byte [])); &lt;/p&gt;
&lt;p&gt; FCanvas = ba;&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt; Pour récupérer l&amp;#39;image bitmap de FCanvas utiliser le texte suivant: &lt;/p&gt;
&lt;p&gt; &lt;strong&gt;System.IO.Stream str = new System.IO.MemoryStream (FCanvas); &lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/stocker-et-de-r%C3%A9cup%C3%A9rer-dans-un-bitmap-eco&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/stocker-et-de-r%C3%A9cup%C3%A9rer-dans-un-bitmap-eco#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 07:01:21 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42949 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>Deux fonctions pour évaluer OCL</title>
 <link>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/deux-fonctions-pour-%C3%A9valuer-ocl</link>
 <description>&lt;div&gt; Avec l&amp;#39;aide de Jonas Hogstrom et Jan Nordén J&amp;#39;ai écrit 2 fonctions pour évaluer OCL. &lt;/div&gt;
&lt;p&gt;
&lt;div&gt; Le premier est d&amp;#39;évaluer dans Ecospace OCL: &lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt; EvaluateOclInEcoSpace objet public (IElement rootValue, string OCL) &lt;br /&gt; ( &lt;br /&gt; object result = null; &lt;br /&gt; IElement e = ((IOclService) &lt;br /&gt; this.GetEcoService (typeof (IOclService))). EvaluateAndSubscribe (rootValue, OCL, &lt;br /&gt; null, null); &lt;br /&gt;if (e! = null) &lt;br /&gt; result = e.AsObject; &lt;br /&gt; return result; &lt;br /&gt; ) &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; Le second est d&amp;#39;évaluer OCL en PS: &lt;/p&gt;
&lt;blockquote&gt;&lt;div&gt; EvaluateOclInDB objet public (IElement rootValue, string OCL) &lt;br /&gt; ( &lt;br /&gt; object result = null; &lt;br /&gt; IElement InternalElement = null; &lt;/div&gt;
&lt;div&gt; IOclService oclService = (IOclService) &lt;br /&gt; this.GetEcoService (typeof (IOclService));&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/deux-fonctions-pour-%C3%A9valuer-ocl&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/fr/les-ordinateurs-et-linternet/deux-fonctions-pour-%C3%A9valuer-ocl#comments</comments>
 <category domain="http://www.howtodothings.com/fr/delphi-4">Delphi</category>
 <pubDate>Sat, 21 Feb 2009 07:00:42 -0600</pubDate>
 <dc:creator />
 <guid isPermaLink="false">42945 at http://www.howtodothings.com</guid>
</item>
</channel>
</rss>
