User Tools

Site Tools


restrict_define_section_use_constraints_.htm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
restrict_define_section_use_constraints_.htm [2021/04/15 15:57] – external edit 127.0.0.1restrict_define_section_use_constraints_.htm [2022/04/28 02:17] – Code Format carlbarnes
Line 22: Line 22:
 **Example:** **Example:**
  
-**#CODE(ChangeControlSize,'Change control size')** +<code> 
- +#CODE(ChangeControlSize,'Change control size'
-** ****#RESTRICT** +#RESTRICT 
- +   #CASE(%ControlType) 
-**    #CASE(%ControlType)** +   #OF('LIST'
- +   #OROF('BUTTON'
-**    #OF('LIST')** +     #REJECT 
- +   #ELSE 
-**    #OROF('BUTTON')** +     #ACCEPT 
- +   #ENDCASE 
-**      #REJECT** + #ENDRESTRICT 
- + #PROMPT('Control to change',CONTROL),%MyField,REQ 
-**    #ELSE** + #PROMPT('New Width',@n04),%NewWidth 
- + #PROMPT('New Height',@n04),%NewHeight 
-**      #ACCEPT** + %MyField{PROP:Width} = %NewWidth 
- + %MyField{PROP:Height} = %NewHeight 
-**    #ENDCASE** +</code>
- +
-**  #ENDRESTRICT** +
- +
-**  #PROMPT('Control to change',CONTROL),%MyField,REQ** +
- +
-**  #PROMPT('New Width',@n04),%NewWidth** +
- +
-**  #PROMPT('New Height',@n04),%NewHeight** +
- +
-**%MyField{PROP:Width} = %NewWidth** +
- +
-**%MyField{PROP:Height} = %NewHeight**+
  
 **See Also:     **[[ accept  section valid for use .htm|#ACCEPT]] ,[[ reject  section invalid for use .htm|#REJECT]] **See Also:     **[[ accept  section valid for use .htm|#ACCEPT]] ,[[ reject  section invalid for use .htm|#REJECT]]
  
restrict_define_section_use_constraints_.htm.txt · Last modified: 2022/04/28 02:32 by carlbarnes