Thinker

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Thinker

Forum for story


    VB-Long Long Long Learning

    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5039
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    VB-Long Long Long Learning Empty VB-Long Long Long Learning

    Post by Aueeins 2011-09-19, 10:19 am

    Private Sub f01Profession_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Try
    Me.Text = mGlobal.setFormTitle("PROFESSION", vppCompanyName, UCase(vpStaffId), UCase(vpStaffName))
    Call pDs01Profession()
    Call pDataBinding()
    Call pRecordCount()
    dgv01Profession.Select()
    Call pLockMenu()
    Catch ex As Exception
    MsgBox("<f01Profession.f01Profession_Load> " & ex.Message)
    End Try
    End Sub

    多了个gv01Profession.Select(),为了把焦点放在dgv上
    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5039
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    VB-Long Long Long Learning Empty Re: VB-Long Long Long Learning

    Post by Aueeins 2011-09-19, 10:30 am

    Me.PTools.Enabled = Not status
    ButtonControl必备
    Aueeins
    Aueeins
    呢喃的歌声


    帖子数 : 205
    积分 : 5039
    威望 : 0
    注册日期 : 2011-09-08
    地点 : SG

    VB-Long Long Long Learning Empty Re: VB-Long Long Long Learning

    Post by Aueeins 2011-09-19, 10:43 am

    urgent ST201109-59
    加一个(MainDetRef C,25) 不可编辑
    进BILLING;BILLING(VIEW)
    同时记得在m02Sales更新新的column
    -ZPatch1

      Current date/time is 2024-05-19, 11:52 pm