sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    WxFormBuilder

    Scheduled Pinned Locked Moved Developers' Forum
    11 Posts 4 Posters 1.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dan RathbunD Offline
      Dan Rathbun
      last edited by

      IF you use wx, then any user of your plugin must have wxSU installed.

      Better to use the API builtin UI::WebDialog class.

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • honoluludesktopH Offline
        honoluludesktop
        last edited by

        Hi Dan, and others, I have looked at that api page, but so far, it remains "Greek" to me. Do you know of any plugins (simple is best for me) on this site that use the UI::WebDialog Class, so that I can look at it as an example?

        1 Reply Last reply Reply Quote 0
        • B Offline
          bizello
          last edited by

          Hi Dan,
          Yes, wx is required and this is write at code's beggining. May be a problem the user needs installing it before.
          Other ask, wxFormBuilder shows code in C++, Python and XRC. Is it works in ruby? Sorry this ask, but I'm a designer that wants programming.
          Another thing... wx creates very rows of code. Is possible have a .rb file with only the dialog's code? How can I call a function inside a file from other file? For example: I have functions inside a func.rb file, wich they are called and used by the main routine inside a main.rb file. Is it possible?
          As honoluludesktop, I would like to see a plugin made with UI::Webdialog. I've tried to use it but I didn't do work.
          One example with an elaborated dialog window (radio, pulldow box, text, etc) and how send data to plugin's code, could be very good to learn.
          Thanks for help.

          Sérgio A.Bizello

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            RUBY RESOURCES

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • Dan RathbunD Offline
              Dan Rathbun
              last edited by

              @honoluludesktop said:

              Do you know of any plugins (simple is best for me) on this site that use the UI::WebDialog Class, so that I can look at it as an example?

              There is a simple example in ThomThom's (PDF) booklet...

              WebDialogs - The Lost Manual
              by Thomas Thomassen
              http://forums.sketchucation.com/download/file.php?id=36664

              I'm not here much anymore.

              1 Reply Last reply Reply Quote 0
              • honoluludesktopH Offline
                honoluludesktop
                last edited by

                Dan, thanks for the link. Appears to be too deep for me.

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  To build WebDialogs, you need some HTML, CSS and JS knowledge. Have a look at some beginner tutorials for those.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bizello
                    last edited by

                    Hi guys,

                    Dan, very thanks for the link. The PDF file is excelent. Show how to do, step by step.
                    I did my first Webdialog works. Very simple, but works.
                    Thanks to thomthom again (is not first time he help me) by the "Lost Manual".
                    Course I'll have to learn JS.
                    Now... back to work...
                    Thank you a lot.

                    Sérgio A.Bizello

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      I can strongly recommend the usage of Javascript frameworks that takes care of many of the cross platform issues - as well as simplifying many of the common tasks.
                      My personal favourite is jQuery.

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • Dan RathbunD Offline
                        Dan Rathbun
                        last edited by

                        @bizello said:

                        ... I'll have to learn JS.

                        JScript User's Guide (Windows Scripting - JScript)

                        JScript Language Reference (Windows Scripting - JScript)

                        I'm not here much anymore.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement