eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 How do you draw a listbox in CS:DE i have made a new picture box and its drawed and it's working but how do i add a listbox in it. plz help mesorry for bad English i'm from Sweden Link to comment Share on other sites More sharing options...
shadowdeath Posted August 11, 2011 Share Posted August 11, 2011 I'm sorry.I can't understand what you're asking. Link to comment Share on other sites More sharing options...
Harris6310 Posted August 11, 2011 Share Posted August 11, 2011 @shadowdeath:> I'm sorry.> I can't understand what you're asking.He wants a listbox.Edit: Can you not see one in the control box on the left hand side of your IDE? Link to comment Share on other sites More sharing options...
eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 to add a list box on a picture box in EO you could add it on frmMain but in CS:DE you need to code it and i don't know how to code a list box on to a picture box. i have the code done for the picture box and it's working but i need to know how to add a list box Link to comment Share on other sites More sharing options...
shadowdeath Posted August 11, 2011 Share Posted August 11, 2011 Place the ListBox on top of the picbox. Set it to the front. Now, double click on it and add code. Also, CS:DE is for experts. Not for beginners. If you don't know this, maybe you shouldn't be using the engine… Link to comment Share on other sites More sharing options...
eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 but if i do that it will not get transparent and i thought that you need to add it in modDirect8 as draw so it draws the GUI like the other windows are Link to comment Share on other sites More sharing options...
Robin Posted August 11, 2011 Share Posted August 11, 2011 Yeah, so you want to program a list box from scratch. Good luck with that. Link to comment Share on other sites More sharing options...
eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 but what is the best way to do it then? Link to comment Share on other sites More sharing options...
Robin Posted August 11, 2011 Share Posted August 11, 2011 @eric125:> but what is the best way to do it then?-_- Link to comment Share on other sites More sharing options...
eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 i'm asking so because i want to learn how to do it. because i'm trying to make a guild system and i then need to add a list box witch will contain the members of the guild but i don't know how to add a list box in the best way because i thought that you can't add it in frmMain anymore in CS:DE. Link to comment Share on other sites More sharing options...
RyokuHasu Posted August 11, 2011 Share Posted August 11, 2011 look at the way the editors in EO add data to tier list boxes, then have it load the members of your guild or your UDTs that same way it loads items in the editors.=Panother thing to do is look up Crzy's friend system, that also has drawing names to a list box.another example would be in Alter's quest system, its got a list box that it loads names of quests.There are plenty of examples and cheat-sheets, look at one and try and mimic it. Link to comment Share on other sites More sharing options...
eric125 Posted August 11, 2011 Author Share Posted August 11, 2011 thanks i understand now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now