11// %attributes = {"invisible":true}
2- // This method returns TRUE if the area is NOT enterable
3- C_BOOLEAN:C305 ($1 ;$manageFocus )
2+ // This method returns TRUE if the area is NOT enterable
3+ C_BOOLEAN:C305 ($1 ; $manageFocus )
44C_BOOLEAN:C305 ($0 )
55C_BOOLEAN:C305 ($protected )
6- C_LONGINT:C283 ($protectedDoc ;$protectedSel )
6+ C_LONGINT:C283 ($protectedDoc ; $protectedSel )
77
88$protected := False:C215 // NOT protected by default
99
@@ -23,26 +23,26 @@ If (Not:C34($protected)) // still not protected ?
2323 $protected := Not:C34 (Form:C1466 .enterable )
2424 End if
2525
26- If (Not:C34 ($protected )) // still not protected ?
26+ If (Not:C34 ($protected )) && ( Form :C1466 . selection # Null:C1517) // still not protected ? // ACI0103861
2727
28- WP GET ATTRIBUTES :C1345 (Form:C1466 .selection .owner ;wk protection enabled:K81:307 ;$protectedDoc ) // 1 protection enabled, 0 protection disabled
29- WP GET ATTRIBUTES :C1345 (Form:C1466 .selection ;wk protected:K81:306 ;$protectedSel ) // 1 protected, 0 not protected, wk mixed= semi protected
28+ WP Get attributes :C1345 (Form:C1466 .selection .owner ; wk protection enabled:K81:307 ; $protectedDoc ) // 1 protection enabled, 0 protection disabled
29+ WP Get attributes :C1345 (Form:C1466 .selection ; wk protected:K81:306 ; $protectedSel ) // 1 protected, 0 not protected, wk mixed= semi protected
3030 $protected := (($protectedDoc# 0) & ($protectedSel# 0))
3131
32- // If (Not($protected)) // still not protected ?
32+ // If (Not($protected)) // still not protected ?
3333
34- // $actionInfo:=Get action info(wk border style) // works for text as for pictures !
34+ // $actionInfo:=Get action info(wk border style) // works for text as for pictures !
3535
36- // If (OB Is defined($actionInfo;"enabled")) //action is defined in the process
37- // $protected:=Not($actionInfo.enabled)
38- // End if
36+ // If (OB Is defined($actionInfo;"enabled")) //action is defined in the process
37+ // $protected:=Not($actionInfo.enabled)
38+ // End if
3939
40- // //If (Not($protected)) // still not protected ?
41- // //If (Not($protected)) // still not protected ?
42- // //End if
43- // //End if
40+ // //If (Not($protected)) // still not protected ?
41+ // //If (Not($protected)) // still not protected ?
42+ // //End if
43+ // //End if
4444
45- // End if
45+ // End if
4646 End if
4747End if
4848
0 commit comments