Click here to Skip to main content
15,900,378 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Isolating text within a text box Pin
NotPolitcallyCorrect21-Jan-17 15:13
NotPolitcallyCorrect21-Jan-17 15:13 
Questionvb.net 2010 code check if values exist Pin
dcof19-Jan-17 12:00
dcof19-Jan-17 12:00 
AnswerRe: vb.net 2010 code check if values exist Pin
NotPolitcallyCorrect19-Jan-17 13:38
NotPolitcallyCorrect19-Jan-17 13:38 
AnswerRe: vb.net 2010 code check if values exist Pin
Richard Deeming20-Jan-17 2:04
mveRichard Deeming20-Jan-17 2:04 
Questionvb.net menu strip Pin
Member 1295543917-Jan-17 19:32
Member 1295543917-Jan-17 19:32 
QuestionRe: vb.net menu strip Pin
Richard MacCutchan17-Jan-17 22:23
mveRichard MacCutchan17-Jan-17 22:23 
AnswerRe: vb.net menu strip Pin
Dave Kreskowiak18-Jan-17 4:18
mveDave Kreskowiak18-Jan-17 4:18 
Questiondynamically generated custom class datagridview cellmousedoubleclick event Pin
Yiğit Sertaç Subaşı17-Jan-17 2:28
Yiğit Sertaç Subaşı17-Jan-17 2:28 
i have a app and in this app have a class inherits from datagridview. basically i try to create a datagridview with specific properties and it will be generated automatically as a control of a panel. after program starts, datagridview is created and retrieves some data from database. so far everythings ok.

VB
Public Class grid
    Inherits DataGridView
    Private _dgv As New DataGridView
   
    Public Property Dgv
        Set(value)
            _dgv = value

        End Set
        Get
            Return _dgv
        End Get
    End Property

    Public Sub New()

    End Sub
    Public Sub New(panel As Panel)
        _dgv.Name = "dgv"
        _dgv.Parent = panel
        _dgv.AllowUserToAddRows = False
        _dgv.AllowUserToDeleteRows = False
        _dgv.ReadOnly = True
        _dgv.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter
        _dgv.Dock = DockStyle.Fill
        _dgv.SelectionMode = DataGridViewSelectionMode.FullRowSelect
        _dgv.DefaultCellStyle.SelectionBackColor = Color.LightGray
        _dgv.DefaultCellStyle.SelectionForeColor = Color.Black
        _dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill
        _dgv.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter

       End Sub

End Class


using panel.controls.add(grid) routine for loading datagridview to panel.

my question is after datagridview generated how to triger cellmousedoubleclick event?

using vb.net 2012.

thanks in advance.
AnswerRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Eddy Vluggen17-Jan-17 4:32
professionalEddy Vluggen17-Jan-17 4:32 
AnswerRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Yiğit Sertaç Subaşı18-Jan-17 0:03
Yiğit Sertaç Subaşı18-Jan-17 0:03 
GeneralRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Eddy Vluggen18-Jan-17 4:41
professionalEddy Vluggen18-Jan-17 4:41 
GeneralRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Yiğit Sertaç Subaşı19-Jan-17 6:04
Yiğit Sertaç Subaşı19-Jan-17 6:04 
GeneralRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Eddy Vluggen19-Jan-17 8:45
professionalEddy Vluggen19-Jan-17 8:45 
Question7 zip the folder part by part using vbscript Pin
Member 126754616-Jan-17 20:14
Member 126754616-Jan-17 20:14 
AnswerRe: 7 zip the folder part by part using vbscript Pin
Eddy Vluggen17-Jan-17 4:30
professionalEddy Vluggen17-Jan-17 4:30 
QuestionHow to embed Excel in web browser in vb .net Pin
Member 887818616-Jan-17 2:27
Member 887818616-Jan-17 2:27 
AnswerRe: How to embed Excel in web browser in vb .net Pin
Eddy Vluggen16-Jan-17 2:31
professionalEddy Vluggen16-Jan-17 2:31 
QuestionMessage Closed Pin
15-Jan-17 4:41
Live for Coding15-Jan-17 4:41 
AnswerRe: How to get JSON data into array Pin
Richard MacCutchan15-Jan-17 22:59
mveRichard MacCutchan15-Jan-17 22:59 
QuestionExcel open as ADODB.Connection Pin
hansoctantan12-Jan-17 2:24
professionalhansoctantan12-Jan-17 2:24 
AnswerRe: Excel open as ADODB.Connection Pin
Dave Kreskowiak12-Jan-17 2:45
mveDave Kreskowiak12-Jan-17 2:45 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan12-Jan-17 2:57
professionalhansoctantan12-Jan-17 2:57 
GeneralRe: Excel open as ADODB.Connection Pin
Dave Kreskowiak12-Jan-17 6:33
mveDave Kreskowiak12-Jan-17 6:33 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan13-Jan-17 2:24
professionalhansoctantan13-Jan-17 2:24 
GeneralRe: Excel open as ADODB.Connection Pin
Eddy Vluggen13-Jan-17 2:51
professionalEddy Vluggen13-Jan-17 2:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.