<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=AttachMessage_%28TdbfMessageBox%29</id>
		<title>AttachMessage (TdbfMessageBox) - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=AttachMessage_%28TdbfMessageBox%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=AttachMessage_(TdbfMessageBox)&amp;action=history"/>
		<updated>2026-05-18T12:43:21Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=AttachMessage_(TdbfMessageBox)&amp;diff=5448&amp;oldid=prev</id>
		<title>Syfre : Page créée avec « &lt;source lang='delphi'&gt;function AttachMessage(iMsg:TdbfMessage):TdbfMessageBoxAssMessage;&lt;/source&gt;  Cette procédure attache un message à la boîte.  {|class=&quot;wikitable&quot; |- |… »</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=AttachMessage_(TdbfMessageBox)&amp;diff=5448&amp;oldid=prev"/>
				<updated>2011-07-12T09:22:10Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;function AttachMessage(iMsg:TdbfMessage):TdbfMessageBoxAssMessage;&amp;lt;/source&amp;gt;  Cette procédure attache un message à la boîte.  {|class=&amp;quot;wikitable&amp;quot; |- |… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang='delphi'&amp;gt;function AttachMessage(iMsg:TdbfMessage):TdbfMessageBoxAssMessage;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette procédure attache un message à la boîte.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Result&lt;br /&gt;
|Un objet TdbfMessageBoxAssMessage représentant l'association&lt;br /&gt;
|-&lt;br /&gt;
|iMsg&lt;br /&gt;
|Un message à attacher&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{tip|Le message est attaché comme un message reçu.}}&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang='delphi'&amp;gt;&lt;br /&gt;
//Procedure CreateMessage;&lt;br /&gt;
var msg:TdbfMessage; box1,box:TdbfMessageBox;&lt;br /&gt;
begin&lt;br /&gt;
  box := TdbfMessageBox.FindBox('mybox');&lt;br /&gt;
  if Assigned(box) then&lt;br /&gt;
   begin&lt;br /&gt;
     withP transaction do&lt;br /&gt;
      begin&lt;br /&gt;
        // From&lt;br /&gt;
        msg := box.CreateMessage('Some subject in a queue','Some content', nil);&lt;br /&gt;
        msg.queueTopic := 'topic1';&lt;br /&gt;
        // To&lt;br /&gt;
        box1 := TdbfMessageBox.FindBox('box1');&lt;br /&gt;
        if Assigned(box1) then box1.AttachMessage(msg);&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
end;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi : &lt;br /&gt;
&lt;br /&gt;
* [[CreateMessage_(TdbfMessageBox)|Création d'un message]]&lt;br /&gt;
&lt;br /&gt;
{{Footer|TdbfMessageBox (class)}}&lt;br /&gt;
[[category:TdbfMessageBox]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	</feed>