12-06-2007, 02:45 AM
Read my third post.
OMFG I AM GNA EXPLODE
|
12-06-2007, 02:45 AM
Read my third post.
12-06-2007, 02:55 AM
Combobox*
12-06-2007, 03:01 AM
Code: Dim i As Integer Same for combo box as well as listbox
12-06-2007, 03:13 AM
Argh basicaly i have an opt control that says private message player: then a combobox that gets the online list, so you can just select who to talk to and keep in pm with them. However, whenever anyone logs in/out it updates the online list and the combobox with their name is goes blank obviously as its cleared and filled with new info... this is frustrating as hell as you have to select the person you were talking to again.. its stupid.
Code: ' :::::::::::::::::::::::::: thats the code that sends the online information to the box.. i am completely stuck, i need the box to update but i want it to keep the playername selected IF they are still online... spent 2 hours trying allsorts to try and figure this out any solution is welcome... Foxy edit: oh txtplayername is the combobox, bad naming i know but it was originaly a textbox till i thought this idea would be better.... -.-
12-06-2007, 01:55 PM
I got half way... storing the .text in a string called Q... unsure how to now find out the index of them though o.0
xD
12-06-2007, 02:00 PM
Code: dim i, combothing as long Not too sure on how to get the line of text for a certain index in the combobox though :\ I'll look it up if Dave or anyone doesn't know. Quote:Robin:
12-06-2007, 02:16 PM
me and robin ended up with:
Code: ' :::::::::::::::::::::::::: its not searching through the combobox though, just need the last piece of the jigsaw? xP
12-06-2007, 02:30 PM
Alright dave i think this is one for you or Verrigan xD
Code: ' :::::::::::::::::::::::::: When players log-in it keeps your pm buddy selected, but when they logout it doesent... o.o
12-06-2007, 03:10 PM
I'm utterly lost lol.
I dunno why it doesn't do it when you log off... Well, I got you so far lol xD Quote:Robin:
12-06-2007, 06:52 PM
Got it working, thanks to everyone for their help :wink:.
12-06-2007, 09:34 PM
alright i have found a single bug, basicaly if your whispering to a player then they leave it crashes due to it cant find their name...
unsure as to how to word the fix.. heres the code: Code: ' :::::::::::::::::::::::::: btw the code seems twice as long as it needs to be, but this way when people leave it keeps it.. its a bloody wierd way of doing it but oh well xD
12-06-2007, 09:52 PM
Code: If findplayer(r) = false then Not sure about the true syntax for "findplayer" but that should if you set it up correctly. Quote:Robin: |
« Next Oldest | Next Newest »
|