Results 1 to 5 of 5

Thread: Finding tab based on tag *resolved*

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Colonel Klink's Avatar
    Join Date
    Aug 2002
    Location
    Gold Coast, Australia
    Posts
    329

    Finding tab based on tag *resolved*

    im making an irc client...

    here is the scenario

    when you for example join a channel, it adds a tabpage to the tabcontrol. when this happens, i add to the newly created tabpage in its tag the channel name.

    now with that in mind... say i join 2 channels... #channel1 and #channel2... the page's tag for #channel1 is #channel1 and the same for #channel2

    now, when i recieve an message event, i need to know which tabpage to send the text to via its tag, and output the text to a textbox on that tab

    how do i do that?

    something like... if tabpage.tag = "#channel1" then print "blah" to txtbox on tabpage where tabpage.tag = "#channel1"
    Last edited by Colonel Klink; Sep 18th, 2003 at 07:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width