![]() |
OMFG I AM GNA EXPLODE - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: OMFG I AM GNA EXPLODE (/showthread.php?tid=1005) |
OMFG I AM GNA EXPLODE - Coke - 12-06-2007 Read my third post. Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 Combobox* Re: OMFG I AM GNA EXPLODE - Xlithan - 12-06-2007 Code: Dim i As Integer Same for combo box as well as listbox Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 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.... -.- Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 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 Re: OMFG I AM GNA EXPLODE - Robin - 12-06-2007 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. Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 me and robin ended up with: Code: ' :::::::::::::::::::::::::: its not searching through the combobox though, just need the last piece of the jigsaw? xP Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 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 Re: OMFG I AM GNA EXPLODE - Robin - 12-06-2007 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 Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 Got it working, thanks to everyone for their help :wink:. Re: OMFG I AM GNA EXPLODE - Coke - 12-06-2007 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 Re: OMFG I AM GNA EXPLODE - Robin - 12-06-2007 Code: If findplayer(r) = false then Not sure about the true syntax for "findplayer" but that should if you set it up correctly. |