Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

TabPanel Action Plugin (WIP)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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 :: Like the Facebook page for up-to-date info regarding plugins!

    My AMS Plugins:
    iEnc - AMS7, Object - AMS7 - AMS8, PluginInfo - AMS7 - AMS8, VersionInfo - AMS8, ListIcon 2.1 - AMS8, ProgressEx - AMS8, SPLAX - AMS8, MemoryEx - AMS8, MemoryEx Lua Header Compiler - Info - 20,-, Draw - Info - 5,- NEW

    Comment


    • #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


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

        Comment


        • #5
          Well done, Dean! This is too cool.
          Action Plugins
          AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | PCall | Project | Resize | StatusBar
          Download

          Comment


          • #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 :: Like the Facebook page for up-to-date info regarding plugins!

            My AMS Plugins:
            iEnc - AMS7, Object - AMS7 - AMS8, PluginInfo - AMS7 - AMS8, VersionInfo - AMS8, ListIcon 2.1 - AMS8, ProgressEx - AMS8, SPLAX - AMS8, MemoryEx - AMS8, MemoryEx Lua Header Compiler - Info - 20,-, Draw - Info - 5,- NEW

            Comment


            • #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


              • #8
                plugin progressex? where is it?

                Comment


                • #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


                  • #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 :: Like the Facebook page for up-to-date info regarding plugins!

                    My AMS Plugins:
                    iEnc - AMS7, Object - AMS7 - AMS8, PluginInfo - AMS7 - AMS8, VersionInfo - AMS8, ListIcon 2.1 - AMS8, ProgressEx - AMS8, SPLAX - AMS8, MemoryEx - AMS8, MemoryEx Lua Header Compiler - Info - 20,-, Draw - Info - 5,- NEW

                    Comment


                    • #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.
                      Action Plugins
                      AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | PCall | Project | Resize | StatusBar
                      Download

                      Comment


                      • #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


                        • #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 :: Like the Facebook page for up-to-date info regarding plugins!

                          My AMS Plugins:
                          iEnc - AMS7, Object - AMS7 - AMS8, PluginInfo - AMS7 - AMS8, VersionInfo - AMS8, ListIcon 2.1 - AMS8, ProgressEx - AMS8, SPLAX - AMS8, MemoryEx - AMS8, MemoryEx Lua Header Compiler - Info - 20,-, Draw - Info - 5,- NEW

                          Comment


                          • #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


                            • #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