When you edit a contact in the Contacts application and select a field, the selected TextField is raised with a shadow. I tried different properties with the MBS plugin, but I get no result.
Christian has an example but it relies on the Paint event of the window. Unfortunately, I can’t use the Paint event, because my TextField is above a Rectangle control.
So, is there a way to add a shadow to a TextField ?
Not using the native textfield. You’re going to have to draw it in some manner. I would probably try placing the control on a canvas and seeing if I could “fake” the shadow in that way. don’t know. Never tried. You’re going to have to let go of your rectangle nevertheless.