2 simple questions

using 4.1.3:

  1. When I uncheck the ‘editable’ property for a DATE field the field is still editable! Is this a bug. Uncjecking ‘editable’ for text fields greys them out as you would expect.

  2. How do I word wrap text labels on buttons (ie I want the text on multiple lines within the button)

Thanks
Al.

Not sure about 1, but for 2 you should use HTML. So something like

First line Second line

should work on a button.

Hi,

  1. readonly means you can not type a date anymore, but you can use the button
    to disable the button use disable in a method :
elements.order_date.enabled = false;
  1. Use html in the text property of the button :
<html>Line 1
Line 2

Regards,

Hans

Edit :

=> unselecting the field property editable sets the textfield part of a datefield to readonly, but does not disable the button.

=> using ```
elements.order_date.readoOnly = true;


=> using ```
elements.order_date.enabled = false;
``` does that to but also grays-out the field. You can't even select/copy the content of the field.