; <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, January 08, 2006 12:10 AM
Subject: Re: [twsocket] TWSocket.Dup() ?
> What I ended up doing (Which I'll spit out here just in case anyone else
> ever runs into the same situation .. Or maybe theres a better way):
>
What I ended up doing (Which I'll spit out here just in case anyone else
ever runs into the same situation .. Or maybe theres a better way):
First define 2 variables..
chatform.socket : pointer;
chatform.connected : boolean;
Then set the chatform variables
mainform.ConnectToServerClick()
i
Hello Michael,
You dont need to replicate it. Just leave the Socket where it is. In
your second form you can have a socket that points to the other socket.
Dont drop one on the second form, but just (I called the socket Cli):
SecondForm.Cli := MainForm.Cli;
and then you call all in the Cli of th
I have my main form which has a TWSocket.. All is well. Now, I'd like to
add another form (visibility can be toggled on or off .. and in truth,
its just a little chat window)..
I'm thinking that I need to replicate the TWSocket from the main form
onto the chat form, so my charform.sendbutton.on