Einzelnen Beitrag anzeigen

drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#8

AW: Delphi Mysql passing Login data to another form

  Alt 9. Sep 2014, 15:16
Maybe this helps:
Mainform.listusers.Items.AddObject(SQL.Login, SQL); Now you see the name in the list and have access to the login instance.

BTW: 'SQL' is not a good name for an instance of your TLoginClass. You should not name neither a class nor an instance after its implementation details. It is unimportant how your login class verifies the user.
this will only show the text input , thats will not implement the tracking of online users i think i have to use indy udp to allow the users see who is joind to the chat but i have no idea about how to store those user names who logged in

plus also i dont get the point on how to enable/disable some functionality of the application based on the specific user
  Mit Zitat antworten Zitat