Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how do you add new item to databound combobox vb.net Pin
Dave Kreskowiak24-Feb-07 12:25
mveDave Kreskowiak24-Feb-07 12:25 
Questionhow do you add new item to databound combobox vb.net Pin
rctriplane23-Feb-07 18:15
rctriplane23-Feb-07 18:15 
QuestionDatagridviewCheckBoxColumn Pin
vnilo23-Feb-07 12:58
vnilo23-Feb-07 12:58 
AnswerRe: DatagridviewCheckBoxColumn Pin
Dave Kreskowiak24-Feb-07 12:27
mveDave Kreskowiak24-Feb-07 12:27 
QuestionRe: DatagridviewCheckBoxColumn Pin
vnilo27-Feb-07 2:03
vnilo27-Feb-07 2:03 
AnswerRe: DatagridviewCheckBoxColumn Pin
Dave Kreskowiak27-Feb-07 2:38
mveDave Kreskowiak27-Feb-07 2:38 
GeneralRe: DatagridviewCheckBoxColumn Pin
vnilo27-Feb-07 2:49
vnilo27-Feb-07 2:49 
JokeRe: DatagridviewCheckBoxColumn Pin
Dave Kreskowiak27-Feb-07 14:20
mveDave Kreskowiak27-Feb-07 14:20 
vnilo wrote:
how to show a text aside the check box, well, the answer is that it is not possible.


Cool it. I just asked you a question about why you're doing this. There may be an alternative solution to the problem.

It's not impossible, just not doable using the standard controls. You'll have to create your own DataGridViewCheckBoxColumn class to add Text support to it. You'll need to replace the painting code with your own implementation, and possibly add some new properties to control how you want the cells painted, like checkbox on the left of the text, or on the right, among others...

You can check out this[^] example for a start. You'll notice that doing something like this can be very tedious and difficult to get every detail in the drawing code correct.


Dave Kreskowiak
Microsoft MVP - Visual Basic


QuestionMy web browser Pin
c3p0b223-Feb-07 11:37
c3p0b223-Feb-07 11:37 
AnswerRe: My web browser Pin
JUNEYT3-Mar-07 4:00
JUNEYT3-Mar-07 4:00 
QuestionReport designer question Pin
dptalt23-Feb-07 9:08
dptalt23-Feb-07 9:08 
Questionformat date Pin
jds120723-Feb-07 8:34
jds120723-Feb-07 8:34 
AnswerRe: format date Pin
Marcus J. Smith23-Feb-07 8:44
professionalMarcus J. Smith23-Feb-07 8:44 
GeneralRe: format date Pin
jds120723-Feb-07 8:53
jds120723-Feb-07 8:53 
GeneralRe: format date Pin
Marcus J. Smith23-Feb-07 8:57
professionalMarcus J. Smith23-Feb-07 8:57 
AnswerRe: format date Pin
Marcus J. Smith23-Feb-07 9:01
professionalMarcus J. Smith23-Feb-07 9:01 
GeneralRe: format date Pin
jds120723-Feb-07 9:10
jds120723-Feb-07 9:10 
GeneralRe: format date Pin
Marcus J. Smith23-Feb-07 9:16
professionalMarcus J. Smith23-Feb-07 9:16 
GeneralRe: format date Pin
jds120723-Feb-07 9:19
jds120723-Feb-07 9:19 
GeneralRe: format date Pin
Marcus J. Smith23-Feb-07 9:26
professionalMarcus J. Smith23-Feb-07 9:26 
GeneralRe: format date Pin
jds120723-Feb-07 9:53
jds120723-Feb-07 9:53 
GeneralRe: format date Pin
Marcus J. Smith23-Feb-07 10:04
professionalMarcus J. Smith23-Feb-07 10:04 
GeneralRe: format date Pin
Dave Kreskowiak23-Feb-07 10:27
mveDave Kreskowiak23-Feb-07 10:27 
QuestionCaret Size Pin
Anybloodyid23-Feb-07 7:54
Anybloodyid23-Feb-07 7:54 
AnswerRe: Caret Size Pin
Dave Kreskowiak23-Feb-07 10:25
mveDave Kreskowiak23-Feb-07 10:25 

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.