Resulcan Posted July 9, 2020 Share Posted July 9, 2020 (edited) I don't know how to do it. Can you help me? I want to make a panel like this. https://hizliresim.com/yyEvoL Made with XML Link <news> <category name="news"> <entry id="P01asLLUbU0C4trm0L4E" date="2020/01/31" time="05:27:47" message="Added donator middleman system.
Check website for more info on how it works.
" author="TiGeR"></entry> ok i don't know how to do it Edited July 9, 2020 by Resulcan Link to comment
Moderators Patrick Posted July 9, 2020 Moderators Share Posted July 9, 2020 (edited) Hi! This isn't really simple for a beginner, but here is what you need. Steps 1) Load .xml file. (xmlLoadFile) 2) Create window. (guiCreateWindow) 3) Add window tabs. (guiCreateTabPanel) 4) Create a scrollPane inside "News" tab, because of the scrollbar. (guiCreateScrollPane) 5) Loop trough the loaded .xml file and create labels, inside the scrollPane. (guiCreateLabel) - Get xml attributes. (xmlNodeGetAttributes) Edited July 9, 2020 by Patrick Link to comment
Resulcan Posted July 9, 2020 Author Share Posted July 9, 2020 35 minutes ago, Patrick said: Hi! This isn't really simple for a beginner, but here is what you need. Steps 1) Load .xml file. (xmlLoadFile) 2) Create window. (guiCreateWindow) 3) Add window tabs. (guiCreateTabPanel) 4) Create a scrollPane inside "News" tab, because of the scrollbar. (guiCreateScrollPane) 5) Loop trough the loaded .xml file and create labels, inside the scrollPane. (guiCreateLabel) - Get xml attributes. (xmlNodeGetAttributes) thks brom Link to comment
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