Jump to content

[Help]Gui Editor & Xml


Recommended Posts

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.&#x0A;Check website for more info on how it works.&#x0A;" author="TiGeR"></entry>

ok i don't know how to do it

 

Edited by Resulcan
Link to comment
  • Moderators

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 by Patrick
Link to comment
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...