facebook

How to link buttons to webpages? – set btn Link prop to URL

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #309512 Reply

    ericmahlon
    Member

    Is there a way to do this?

    For example, I have a button named “website”, so that when users click on the button, it takes them directly to my website.

    #309602 Reply

    wayne
    Moderator

    Try setting the value of the Link property of your button to your desired URL. I believe this should work.

    Wayne
    Genuitec MobiOne Team

    #310122 Reply

    core-dump
    Member

    Manually typing in the URL works, pasting (CTRL-V) a URL into the link property field doesn’t tho.
    Would be nice if this could be fixed in a future release.

    #310132 Reply

    wayne
    Moderator

    core-dump:

    I just confirmed that I am able to copy-paste URLs into a Button’s Link property field. Can you describe what happens when you paste a URL with ctrl-V?

    Does the URL text appear in the link but is not saved? If yes, try hitting Enter immediately after the paste operation. If that works, let me know since the value should auto-commit immediately after loosing focus.

    Wayne
    Genuitec Mobile Team

    #311157 Reply

    asiangod143
    Member

    Yes, i also having the same problem , i had input the correct link under the PROPERTY tab for the button, but in the TEST CENTER, it only loaded the html file that was generated by the program, and would not take the link that was input within the PROPERTY TAB, so i have to manually type in the address, but there’s no point in that.. so Wayne.. is it a bug ?

    #311158 Reply

    wayne
    Moderator

    I’m trying to understand what might be happening in your mobione instance.

    Did you input an absolute URL (e.g., http://google.com/index.html) or a relative URL (e.g., helloworld.html) for the Link property?

    If you were specifying an absolute URL for the Link property please try this 1 minute test and let me know your outcome:
    1) launch design center
    2) drop a Push Button on the design
    – the properties editor will appear
    3) in the Link properties type http://google.com <return key>
    4) hit the Run button (green >)
    – save the design file
    – the Test Center should startup your UI visible
    5) select the button in the Test Center
    – the Test Center emulator should load the google home page

    Wayne
    Genuitec Mobile Team

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to link buttons to webpages? – set btn Link prop to URL

You must be logged in to post in the forum log in