User Tools

Site Tools


reject_section_invalid_for_use_.htm

Differences

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

Link to this comparison view

reject_section_invalid_for_use_.htm [2021/04/15 15:57] – external edit 127.0.0.1reject_section_invalid_for_use_.htm [2022/04/28 02:30] (current) – Format CODE carlbarnes
Line 12: Line 12:
 **Example:** **Example:**
  
-**#CODE(ChangeControlSize,'Change control size')** +<code> 
- +#CODE(ChangeControlSize,'Change control size'
-**  #WHERE(%EventHandling)** + #WHERE(%EventHandling) 
- + #RESTRICT 
-**  #RESTRICT** +   #CASE(%ControlType) 
- +   #OF 'LIST' 
-**    #CASE(%ControlType)** +   #OROF 'BUTTON' 
- +     #REJECT 
-**    #OF 'LIST'** +   #ELSE 
- +    #ACCEPT 
-**    #OROF 'BUTTON'** +   #ENDCASE 
- + #ENDRESTRICT 
-**     ****#REJECT** + #PROMPT('Control to change',CONTROL),%MyField,REQ 
- + #PROMPT('New Width',@n04),%NewWidth 
-**    #ELSE** + #PROMPT('New Height',@n04),%NewHeight 
- + %MyField{PROP:Width} = %NewWidth 
-**      #ACCEPT** + %MyField{PROP:Height} = %NewHeight 
- +</code>
-**    #ENDCASE** +
- +
-**  #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:     **[[ restrict  define section use constraints .htm|#RESTRICT]] ,[[ accept  section valid for use .htm|#ACCEPT]] **See Also:     **[[ restrict  define section use constraints .htm|#RESTRICT]] ,[[ accept  section valid for use .htm|#ACCEPT]]
  
reject_section_invalid_for_use_.htm.txt · Last modified: 2022/04/28 02:30 by carlbarnes