Register     Login

Search

By Yann Duran on Friday, October 21, 2011 11:33 PM
Have you ever wanted to be able to change the image that gets displayed for the built-in Save, or Refresh command in the screen ribbon, but you didn't want to have to install a shell extension, or a theme extension?

Maybe you have just ONE screen that needs a different image. Or maybe you'd like to change the image for ALL screens. Well, after Pavan Kumar asked the question in this post, I did some digging & found that it is indeed possible to do this. I had two goes at it before I found the solution, after wrongly suggesting that it may only be possible in a theme extension.

You'll need to manually edit the project's lsml file, so the usual caveat about making sure you back it up before you touch it applies. This tip applies to LightSwitch 2011, I haven't tried it with LS 2012 yet.

For any screen that you want to change the image for, you'll need to find the following line...
By Yann Duran on Tuesday, October 18, 2011 1:18 PM

Luminous LightSwitch Types updated today.

This extension now consists of four custom LightSwitch business types:

  • a Password type - that hides the characters being typed, as well as validating several optional conditions

  • a Link type - that allows you to enter/edit a URL, as well as launch a browser with it

  • a Percent type - that stores the value as a decimal, but displays it as a percentage

  • an ISBN type - that validates both ISBN-10 & ISBN-13 numbers

Home   |   Blogs   |   Books   |   Extensions   |   Donations   |   About LightSwitch   |   About Me
Privacy Statement    |   Terms Of Use

Copyright 2011 by Yann Duran