M
Michel Racicot
I need to evaluate an object that is assigned to a variable that is being
reused later on... how can I do that?
In the following exemple, I want to continue evaluating the "Input" variable
marked with **** even if it's being reused later for NO_SEM
In Delphi, I only had to resolve the object to it's pointer state and then
watch the pointer resolution in the evaluator... how can I do that in
VB.NET?!
'MT_TSN montant
TD = New HtmlTableCell
Input = AddDummyInput("MT_TSN", RowNumber.ToString,
Row("MT_TSN"), Me) ' ***************
If IsEarning AndAlso (IsBankHoliday OrElse (appStat =
"5" AndAlso CdSup = "8")) Then
Input.ReadOnlyField = True
End If
TD.Controls.Add(Input)
TR.Cells.Add(TD)
'NO_SEM
If PayrollContext.IsWeekEntry = True Then
Input = AddDummyInput("NO_SEM", RowNumber.ToString,
Row("NO_SEM"), False, True, Me)
Input.OnChange = "initBankDate(this.id,this.value);"
TD = New HtmlTableCell
TD.Controls.Add(Input)
TR.Cells.Add(TD)
End If
reused later on... how can I do that?
In the following exemple, I want to continue evaluating the "Input" variable
marked with **** even if it's being reused later for NO_SEM
In Delphi, I only had to resolve the object to it's pointer state and then
watch the pointer resolution in the evaluator... how can I do that in
VB.NET?!
'MT_TSN montant
TD = New HtmlTableCell
Input = AddDummyInput("MT_TSN", RowNumber.ToString,
Row("MT_TSN"), Me) ' ***************
If IsEarning AndAlso (IsBankHoliday OrElse (appStat =
"5" AndAlso CdSup = "8")) Then
Input.ReadOnlyField = True
End If
TD.Controls.Add(Input)
TR.Cells.Add(TD)
'NO_SEM
If PayrollContext.IsWeekEntry = True Then
Input = AddDummyInput("NO_SEM", RowNumber.ToString,
Row("NO_SEM"), False, True, Me)
Input.OnChange = "initBankDate(this.id,this.value);"
TD = New HtmlTableCell
TD.Controls.Add(Input)
TR.Cells.Add(TD)
End If