Selecting text

Blitz3D Forums/Blitz3D Beginners Area/Selecting text

Zace(Posted 2003) [#1]
I have created a simple text server and client.
On one side i have created a list if the people tht are connected to my server.
I want to now add in the facility to chat privately - this i want to achieve by clicking with the mouse on the name of the client and then type. How can i select the text under the cursor ?

Many thanks in advance.


WolRon(Posted 2003) [#2]
Keep track of where the name is drawn on screen and use the Mouse commands(mousex, mousey, mousedown) to determine if the user clicked on the name.