User Tools

Site Tools


accept_section_valid_for_use_.htm

Differences

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

Link to this comparison view

accept_section_valid_for_use_.htm [2021/04/15 15:56] – external edit 127.0.0.1accept_section_valid_for_use_.htm [2022/04/28 02:29] (current) – Code Format 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]] ,[[ reject  section invalid for use .htm|#REJECT]] **See Also:     **[[ restrict  define section use constraints .htm|#RESTRICT]] ,[[ reject  section invalid for use .htm|#REJECT]]
  
accept_section_valid_for_use_.htm.txt · Last modified: 2022/04/28 02:29 by carlbarnes