Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

When I am in Debug mode, I want to set the value of the textbox on the dialog form.

What happens the dialog form appears before , even when I am starting debug bug mode.

The values of the textbox in show dialog sub routine they appear to be set in an empty string.

 

How ever this does not occur such that the dialog for populates with aparent values.

When not in tracing mode.

Why do I get this problem?

 

Here is the function===:

 

 

Public Overloads Sub ShowDialog(ByRef objTransoverride As TransOverride.structTransoverride)

'

' Do All the work that you want to i.e. the one that you have written in the Load

'

'

oldPolicyNumber = objTransoverride.PolicyNumber.ToString()

oldTransCode = objTransoverride.TransCodeOrig.ToString()

oldTransEffDate = objTransoverride.TransEffDate.ToString()

txtAccountName.Text = objTransoverride.Account_Name.ToString()

txtPolicyNumber.Text = objTransoverride.PolicyNumber.ToString()

txtPlanYear.Text = objTransoverride.Plan_Year.ToString()

txtUserId.Text = objTransoverride.ModifiedUID.ToString()

txtDate.Text = objTransoverride.ModifiedDate.ToString()

lbRecNum.Text = objTransoverride

lbRecNum.Text = objTransoverride.RowNum.ToString()

DateTimePicker1.Text = objTransoverride.TransEffDate.ToString()

DateTimePicker1.Value = objTransoverride.TransEffDate.ToString()

FillComboBocmbOriginalTransCode, objTransoverride.TransCodeOrig)

FillComboBocmbOverrideAction, objTransoverride.Override_Action)

FillComboBocmbOverrideNR, objTransoverride.Override_New_Renewal)

FillComboBocmbOverrideTransactionCode, objTransoverride.Override_Transaction_Code)

MyBase.ShowDialog()

End Sub

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...