TAstaServerSocket.SendSelectCodedMessage


 

Applies to
TAstaServerSocket

 

Declaration
procedure SendSelectCodedMessage(MsgID: Integer; S: string);

 

Description
This property is used in conjunction with the
UserCheckList property. You can place an "x" next to one or more users and server messages will be selectively broadcast to the selected users. Coded messages allow you to create your own protocol (see SendCodedMessage) for details.

 

Example

procedure TForm1.Button6Click(Sender: TObject);

begin

  AstaServerSocket1.SendSelectCodedMessage(500, 'This message ' +
    'will be sent to selected individuals, and handled ' +
    'by the OnCodedMessage event handler at the client');

end;

 

See also, SendSelectPopupMessage.

 



ASTA Overview TAstaServerSocket.SendCodedMessage TAstaServerSocket.SendSelectPopupMessage