TabPanel Action Plugin (WIP)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • RizlaUK
    Indigo Rose Customer
    • May 2006
    • 5552

    TabPanel Action Plugin (WIP)

    TabPanel is a panel with tabs (Doh) that you can embed AMS objects into, and have a proper tab system

    this plugin is far from compleat, but as im away for a long weekend im posting it as is for now, just for some feedback

    This plugin may not see any more development as it has some rather huge drawbacks, all object events work well after embedding the object into the tabpanel, with the exception of the xButton where the OnClick event does not work and this reduces the functionally of a TabPanel

    but, if you guys think you can use the plugin without the need of a button in the panels then i may as well finish it

    feedback, plz guys

    FYI, no help file yet, this is a WIP afterall, see example for usage
    Embrace change in your life, you never know, it could all work out for the best
  • Imagine Programming
    Indigo Rose Customer
    • Apr 2007
    • 4252

    #2
    *trying to close mouth*

    Dean... How!? That's so awesome I can't explain how I feel haha!
    Very well done, awesome! :yes


    Worked perfectly on WinXP SP3 x86, but in gods name... You are really
    making me curious haha!
    Last edited by Imagine Programming; 08-25-2010, 03:16 PM.
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment

    • RizlaUK
      Indigo Rose Customer
      • May 2006
      • 5552

      #3
      How?

      its really rather simple, i took the PB Panel, put it inside a AMS ListBox, then with every tab i create a container inside the panel, this container becomes the AMS objects parent window, chuck in some subclassing and a hefty ammount of API and you see the result

      this started as a "to see if it works" type of thing, and it works, so i thought id see if anyone will use it even without being able to use buttons inside the panels

      but on after thought..... i can make a button/text/radio/checkbox objects that are compatible with the panel..... in fact...i could just write a full scale GUI plugin with bundles of objects (like wxLua or iUP but compleatly AMS native)

      would you guys make use of such a plugin ??
      Embrace change in your life, you never know, it could all work out for the best

      Comment

      • Sakuya
        No longer a forum member
        • Oct 2009
        • 682

        #4
        Oh wow, I've wanted this since I used Visual Studio 2008 for the first time.

        Comment

        • Centauri Soldier
          Indigo Rose Customer
          • Jun 2007
          • 1703

          #5
          Well done, Dean! This is too cool.
          https://github.com/CentauriSoldier

          Comment

          • Imagine Programming
            Indigo Rose Customer
            • Apr 2007
            • 4252

            #6
            Originally posted by RizlaUK View Post
            How?

            its really rather simple, i took the PB Panel, put it inside a AMS ListBox, then with every tab i create a container inside the panel, this container becomes the AMS objects parent window, chuck in some subclassing and a hefty ammount of API and you see the result

            this started as a "to see if it works" type of thing, and it works, so i thought id see if anyone will use it even without being able to use buttons inside the panels

            but on after thought..... i can make a button/text/radio/checkbox objects that are compatible with the panel..... in fact...i could just write a full scale GUI plugin with bundles of objects (like wxLua or iUP but compleatly AMS native)

            would you guys make use of such a plugin ??
            You make it sound so easy, but I had troubles porting that ProgressEx bar to an AMS window...
            And, I know how to do it, I just can't get it right though...
            Very well done Dean, and yes, I'd make use of such a plugin :yes
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment

            • RizlaUK
              Indigo Rose Customer
              • May 2006
              • 5552

              #7
              If you want to send the file over i'll take a look when i get home, im sure i can fix it
              Embrace change in your life, you never know, it could all work out for the best

              Comment

              • autoplmst6
                Indigo Rose Customer
                • Dec 2005
                • 223

                #8
                plugin progressex? where is it?

                Comment

                • RizlaUK
                  Indigo Rose Customer
                  • May 2006
                  • 5552

                  #9
                  Its safe n sound on IP's hard drive
                  Embrace change in your life, you never know, it could all work out for the best

                  Comment

                  • Imagine Programming
                    Indigo Rose Customer
                    • Apr 2007
                    • 4252

                    #10
                    Originally posted by RizlaUK View Post
                    Its safe n sound on IP's hard drive
                    Indeed It will be here soon probably though.
                    I've removed all the AMS plugin part files for it, because I was messing up.
                    Then I converted it to an PB OOP class, so I can manage handles easier.
                    I'll PM you with some more information, maybe you can tell me more
                    I kinda lost that example you once send me (well, I still have it, but I can't
                    remember on what drive/folder/file )
                    Bas Groothedde
                    Imagine Programming :: Blog

                    AMS8 Plugins
                    IMXLH Compiler

                    Comment

                    • Centauri Soldier
                      Indigo Rose Customer
                      • Jun 2007
                      • 1703

                      #11
                      Dean, this will make a fantastic plugin! I would like to use it for the inventory screen in my game. As such, I have a few suggestions for functions and events. Would any of these be possible?

                      Functions
                      nTabID = TabPanel.GetSelected(sHost)
                      TabPanel.IsSelected(sHost, nTabID)

                      -- I know this one exists but this suggestion is for a modification
                      TabPanel.AddTab(sHost, sTabText, sTabData, sTabPos)

                      TabPanel.RemoveTab(sHost, nTabID)
                      TabPanel.GetText(sHost, nTabID)
                      TabPanel.SetText(sHost, nTabID)
                      TabPanel.GetData(sHost, nTabID)
                      TabPanel.SetData(sHost, nTabID)
                      TabPanel.GetPos(sHost, nTabID)
                      TabPanel.SetPos(sHost, nTabID)

                      Events
                      On Enter
                      On Leave
                      On Click
                      On Add (Tab)
                      On Remove (Tab)
                      On Create

                      Just off the top of my head.


                      Also, TabPanel.EmbedObject() is missing from intellisense.
                      Last edited by Centauri Soldier; 08-27-2010, 12:33 PM.
                      https://github.com/CentauriSoldier

                      Comment

                      • RizlaUK
                        Indigo Rose Customer
                        • May 2006
                        • 5552

                        #12
                        ok, thanks for the feedback

                        i'll add some more functions/events and call it a beta, but i'll start in a few days, need to recover from the camping ****!!
                        Embrace change in your life, you never know, it could all work out for the best

                        Comment

                        • Imagine Programming
                          Indigo Rose Customer
                          • Apr 2007
                          • 4252

                          #13
                          Originally posted by RizlaUK View Post
                          ok, thanks for the feedback

                          i'll add some more functions/events and call it a beta, but i'll start in a few days, need to recover from the camping ****!!
                          Haha take it slow
                          You're really on a roll mate, all these awesome plugins!
                          Especially this one XD

                          Suggestion for a next plugin, the Scrollarea control <3
                          Bas Groothedde
                          Imagine Programming :: Blog

                          AMS8 Plugins
                          IMXLH Compiler

                          Comment

                          • RizlaUK
                            Indigo Rose Customer
                            • May 2006
                            • 5552

                            #14
                            Suggestion for a next plugin, the Scrollarea control <3
                            already a brainwave mate, its on the ToDo list for sure :yes
                            Embrace change in your life, you never know, it could all work out for the best

                            Comment

                            • Waldo
                              Indigo Rose Customer
                              • Apr 2006
                              • 231

                              #15
                              Originally posted by RizlaUK View Post
                              ok, thanks for the feedback

                              i'll add some more functions/events and call it a beta, but i'll start in a few days, need to recover from the camping ****!!
                              Rizlauk,
                              Nice to have you back from the camping adventure {i.e., I mean vacation / holiday}. Hopefully the weather improved from the rain you expected...I trust you had a better time than you planned...at least, you had quality family time and they could enjoy you without any distraction from a PC.
                              Welcome back!!
                              Waldo

                              Comment

                              Working...
                              X