NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JHojka on January 11, 2012, 10:57:30 AM

Title: How to change the picture used on a button.
Post by: JHojka 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.
Title: Re: How to change the picture used on a button.
Post by: bruce2 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
Title: Re: How to change the picture used on a button.
Post by: JHojka 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.
Title: Re: How to change the picture used on a button.
Post by: Bruce 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
Title: Re: How to change the picture used on a button.
Post by: JHojka 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.