PDA

View Full Version : Edit Mode and Done/Cancel Buttons



HankFay
2013-06-27, 00:43
When I set a section (form) into edit mode, Cancel and Done buttons appear on the header. I can see situations where they would be handy (although having them in Mac order, with Cancel on the left could be confusing for Windows users), however in this situation I would rather they did not appear (I'm using a custom section menu in all sections to control program actions).

I've set OK/Cancel Buttons to .F. in the section dialog, but they still appear (Win8 and CentOS 6.4, RC5.8).

Is this an infelicity, or is it by-design, and if the latter, is there a way to make them not appear in edit mode?

thanks,

Hank

barrymavin
2013-06-27, 01:30
Not currently as there would be no known way to exit edit mode. It would need a new attribute for devs that "know what they are doing" so they don't get stuck in edit mode.

HankFay
2013-06-27, 09:57
Not currently as there would be no known way to exit edit mode. It would need a new attribute for devs that "know what they are doing" so they don't get stuck in edit mode.

something like:

lianja.get("mysection").edit(0) && which works -- must have been implemented when you created the set/get on edit -- although the set for the property doesn't seem to work.

thanks,

Hank