Skip to content

Commit

Permalink
Commented unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prince committed May 14, 2024
1 parent a0ff3df commit f24097d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions Project/Sources/Classes/Entry.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -571,31 +571,31 @@ Function addFileEntry($DataSourceFormula : 4D.Function; $LabelText : Text; $Mand
/////////////////////////////////////////////////////////////////////////////////


Function __addInput($EntryInput : cs.EntryInput)
This.__EntryInputCollection.push($EntryInput)
//Function __addInput($EntryInput : cs.EntryInput)
//This.__EntryInputCollection.push($EntryInput)

Function __newGetInput($AcceptButtonText : Text; $CancelButtonText : Text)->$Accepted : Boolean
This.Form.InitializationFormulaCollection:=[]
This.Form.ValidationFormulasObject:={}
//Function __newGetInput($AcceptButtonText : Text; $CancelButtonText : Text)->$Accepted : Boolean
//This.Form.InitializationFormulaCollection:=[]
//This.Form.ValidationFormulasObject:={}

var $EntryInput : cs.EntryInput
For each ($EntryInput; This.__EntryInputCollection)
This.Form.InitializationFormulaCollection.push($EntryInput.InitializationFormula)

If (($EntryInput.LabelText || "")#"")

End if

This.Form.ValidationFormulasObject[$EntryInput.FormObjectName]:=$EntryInput.ValidationFormula

This._addFormObject($EntryInput.FormObjectName; $EntryInput.FormObject; 0; 0; 0; 0)
This._Objects[$EntryInput.FormObjectName]:=$EntryInput.FormObject


End for each
//var $EntryInput : cs.EntryInput
//For each ($EntryInput; This.__EntryInputCollection)
//This.Form.InitializationFormulaCollection.push($EntryInput.InitializationFormula)

return This.getInput($AcceptButtonText; $CancelButtonText)
EntryClassLoad
//If (($EntryInput.LabelText || "")#"")

//End if

//This.Form.ValidationFormulasObject[$EntryInput.FormObjectName]:=$EntryInput.ValidationFormula

//This._addFormObject($EntryInput.FormObjectName; $EntryInput.FormObject; 0; 0; 0; 0)
//This._Objects[$EntryInput.FormObjectName]:=$EntryInput.FormObject


//End for each

//return This.getInput($AcceptButtonText; $CancelButtonText)
//EntryClassLoad


Function _addFormObject($FormObjectName : Text; $FormObject : Object; $Top : Integer; $Left : Integer; $Height : Integer; $Width : Integer)
Expand Down

0 comments on commit f24097d

Please sign in to comment.