Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

Not setting the Focus on Mentioned Control

$
0
0
I am unable to set the focus on mentioned code with the following. Is there any error in this code ?

Code:

        MasterId = fgData.TextMatrix(fgData.Row, 3)
        AccountType = fgData.TextMatrix(fgData.Row, 2)
        frmCashReceipt.txtName.Text = fgData.TextMatrix(fgData.Row, 1)
        Call GetAddress(MasterId)
        frmCashReceipt.txtAddress.Text = PartyAddress
        frmCashReceipt.txtName.SetFocus

Please help

Viewing all articles
Browse latest Browse all 21243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>