31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
' DisableDuplicateCheckerDoc_InputControls
|
|
' ----------------------------------------------------------------------------
|
|
' Diese Subroutine deaktiviert sämtliche Eingabefelder auf einem Level.
|
|
' Parameter 1 (LEVEL) = Das aktuelle Showlevel übergeben.
|
|
' Parameter 2 (CTRLType)= "Static" deaktiviert pauschal, "dynamic" deaktiviert anhand anderer Laufzeitvariablen.
|
|
'
|
|
' ----------------------------------------------------------------------------
|
|
' Copyright (c) 2021 by Digital Data GmbH
|
|
'
|
|
' Digital Data GmbH • Ludwig-Rinn-Strasse 16 • D-35452 Heuchelheim
|
|
' Tel.: 0641/202360 • E-Mail: info-flow@digitaldata.works
|
|
' ----------------------------------------------------------------------------
|
|
' Creation Date / Author: 01.11.2021 / MK
|
|
' Version Date / Editor: 01.11.2021 / MK
|
|
' Version Number: 1.0.0.0
|
|
|
|
Sub DisableDuplicateCheckerDoc_InputControls(LEVEL,CTRLType)
|
|
|
|
If ((LEVEL = 1) or (LEVEL = "1")) and (CTRLType = "static") Then
|
|
|
|
LEVEL1_CMB_ProductComparisonField.Active = False
|
|
LEVEL1_CHK_ProductIdentAndCharge.Active = False
|
|
|
|
ElseIf ((LEVEL = 2) or (LEVEL = "2")) and (CTRLType = "static") Then
|
|
|
|
LEVEL2_CMB_AccountComparisonField.Active = False
|
|
LEVEL2_CHK_AccountNotOnlyCustomers.Active = False
|
|
|
|
End if
|
|
|
|
End Sub |