MultiLang Project Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ButtonMaker
    Forum Member
    • Mar 2007
    • 172

    MultiLang Project Question

    I need help to change objects TEXT and TOOLTIP with xml file... this example of Reteset is changing the menubar, (thanks Reteaset by the way for the example)...

    see the attached file please
    thanks for helps
    Attached Files
  • reteset
    Indigo Rose Customer
    • May 2006
    • 1692

    #2
    add these lines to Combo's On Select event
    you will see how it works

    Code:
    Input.SetText("Input1", GetLocale("file"));
    Button.SetText("Button1", GetLocale("file"));
    WinButton.SetText("Plugin1", GetLocale("file"));
    amsplugins.com Is Closed.

    Facebook Page

    Comment

    • ButtonMaker
      Forum Member
      • Mar 2007
      • 172

      #3
      wouuww thanks Reteset :yes

      but i have another question;

      is it possible to set tooltip ?

      Comment

      • ButtonMaker
        Forum Member
        • Mar 2007
        • 172

        #4
        well i tried them both but winbutton doesnt have set properties option !!!

        Code:
        WinButton.SetProperties("Plugin1", {TooltipText = GetLocale("file")});
        Code:
        Plugin.SetProperties("Plugin1", {TooltipText = GetLocale("file")});

        Comment

        • reteset
          Indigo Rose Customer
          • May 2006
          • 1692

          #5
          you can set tooltip text on design time only
          there is no action for set it on runtime

          also there are no actions like these

          WinButton.SetProperties
          Plugin.SetProperties
          amsplugins.com Is Closed.

          Facebook Page

          Comment

          • jackdaniels
            No longer a forum member
            • Mar 2007
            • 533

            #6
            Originally posted by reteset View Post
            you can set tooltip text on design time only
            there is no action for set it on runtime
            I dont agree with that Reteset

            This would set "Button1" s ToolTipText on runtime either on button click or on show
            Code:
            Button.SetProperties("Button1", {TooltipText = GetLocale("file")});

            Comment

            • Imagine Programming
              Indigo Rose Customer
              • Apr 2007
              • 4252

              #7
              Originally posted by jackdaniels View Post
              I dont agree with that Reteset

              This would set "Button1" s ToolTipText on runtime either on button click or on show
              Code:
              Button.SetProperties("Button1", {TooltipText = GetLocale("file")});
              I think he meant the tooltip for the WinButton
              Bas Groothedde
              Imagine Programming :: Blog

              AMS8 Plugins
              IMXLH Compiler

              Comment

              • jackdaniels
                No longer a forum member
                • Mar 2007
                • 533

                #8
                Yes propably... I missunderstood... sorry Reteset :yes

                Comment

                • ButtonMaker
                  Forum Member
                  • Mar 2007
                  • 172

                  #9
                  is there any way to set tooltiptext of winbutton on runtime ?

                  Comment

                  • Imagine Programming
                    Indigo Rose Customer
                    • Apr 2007
                    • 4252

                    #10
                    Originally posted by reteset View Post
                    you can set tooltip text on design time only
                    there is no action for set it on runtime

                    also there are no actions like these

                    WinButton.SetProperties
                    Plugin.SetProperties
                    There's your answer
                    Bas Groothedde
                    Imagine Programming :: Blog

                    AMS8 Plugins
                    IMXLH Compiler

                    Comment

                    • ShadowUK
                      No longer a forum member
                      • Oct 2007
                      • 1322

                      #11
                      Originally posted by ButtonMaker View Post
                      is there any way to set tooltiptext of winbutton on runtime ?
                      Doubt it would work, But try sticking a Hotspot over it.

                      Comment

                      • jackdaniels
                        No longer a forum member
                        • Mar 2007
                        • 533

                        #12
                        Yes hotspot would do what you want :yes

                        Code:
                        Hotspot.SetProperties("Hotspot1", {TooltipText = GetLocale("file")});
                        @ C B programming and webdesign
                        so there is a way

                        Comment

                        • reteset
                          Indigo Rose Customer
                          • May 2006
                          • 1692

                          #13
                          Oh my God
                          it really works , do not trust me again
                          amsplugins.com Is Closed.

                          Facebook Page

                          Comment

                          • Imagine Programming
                            Indigo Rose Customer
                            • Apr 2007
                            • 4252

                            #14
                            Originally posted by jackdaniels View Post
                            Yes hotspot would do what you want :yes

                            Code:
                            Hotspot.SetProperties("Hotspot1", {TooltipText = GetLocale("file")});
                            @ C B programming and webdesign
                            so there is a way
                            lol there you go
                            Bas Groothedde
                            Imagine Programming :: Blog

                            AMS8 Plugins
                            IMXLH Compiler

                            Comment

                            • ButtonMaker
                              Forum Member
                              • Mar 2007
                              • 172

                              #15
                              how can i list languages to menubar ???

                              Comment

                              Working...
                              X