NetTalk Central

Author Topic: How to change the picture used on a button.  (Read 4209 times)

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
How to change the picture used on a button.
« on: January 11, 2012, 10:57:30 AM »
I added a button on a form. I want to assign a new picture or icon. I checked the use java script style buttons and then put 'ui-icon-info' in the desktop icon area. I do not get the proper icon loaded. Am I inserting the icon name wrong. Should I use '.ui-icon-info' or should I enter this without the quotes.

Jeff Hojka
Marathon Software Co.

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: How to change the picture used on a button.
« Reply #1 on: January 11, 2012, 12:35:54 PM »
Use quotes, but just the last part of the name. Ie not 'ui-icon-info', just 'info'.

Cheers
Bruce

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
Re: How to change the picture used on a button.
« Reply #2 on: January 11, 2012, 01:25:46 PM »
I tried this and it worked for a moment until I added a on_click procedure. Then the icon no longer is showing.

Jeff Hojka
Marathon Software Co.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: How to change the picture used on a button.
« Reply #3 on: January 12, 2012, 05:17:33 AM »
I think a screen-shot of your settings, or better yet an example, will help duplicate the effect, and hence give you a more accurate answer.

cheers
Bruce

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
Re: How to change the picture used on a button.
« Reply #4 on: January 12, 2012, 06:31:02 AM »
I deleted the button and then added the button. This fixed the issue. I had changed a lot of settings over time and I am sure I must have set something wrong.

Jeff Hojka
Marathon software Co.