Click here to Skip to main content
15,891,136 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionPRINT A DATAGRID WHITH VB.NET Pin
Member 1163064821-Apr-15 9:41
Member 1163064821-Apr-15 9:41 
AnswerRe: PRINT A DATAGRID WHITH VB.NET Pin
Eddy Vluggen21-Apr-15 10:04
professionalEddy Vluggen21-Apr-15 10:04 
GeneralRe: PRINT A DATAGRID WHITH VB.NET Pin
Member 1163064821-Apr-15 11:04
Member 1163064821-Apr-15 11:04 
GeneralRe: PRINT A DATAGRID WHITH VB.NET Pin
Eddy Vluggen21-Apr-15 11:27
professionalEddy Vluggen21-Apr-15 11:27 
QuestionHighlight text only in a listview subitem Pin
iWonderHow7-Apr-15 21:49
iWonderHow7-Apr-15 21:49 
AnswerRe: Highlight text only in a listview subitem Pin
Eddy Vluggen8-Apr-15 0:28
professionalEddy Vluggen8-Apr-15 0:28 
GeneralRe: Highlight text only in a listview subitem Pin
iWonderHow8-Apr-15 21:58
iWonderHow8-Apr-15 21:58 
AnswerRe: Highlight text only in a listview subitem Pin
Brisingr Aerowing8-Jun-15 16:29
professionalBrisingr Aerowing8-Jun-15 16:29 
GeneralRe: Highlight text only in a listview subitem Pin
iWonderHow8-Jun-15 22:24
iWonderHow8-Jun-15 22:24 
GeneralRe: Highlight text only in a listview subitem Pin
Brisingr Aerowing9-Jun-15 0:56
professionalBrisingr Aerowing9-Jun-15 0:56 
QuestionThe name does not exist in the current context Pin
Member 1148634727-Feb-15 15:53
Member 1148634727-Feb-15 15:53 
AnswerRe: The name does not exist in the current context Pin
Richard MacCutchan27-Feb-15 22:26
mveRichard MacCutchan27-Feb-15 22:26 
AnswerRe: The name does not exist in the current context Pin
Afzaal Ahmad Zeeshan1-Apr-15 1:20
professionalAfzaal Ahmad Zeeshan1-Apr-15 1:20 
QuestionJoystick Windows Forms User Control Pin
Abinonos15-Feb-15 9:37
Abinonos15-Feb-15 9:37 
AnswerRe: Joystick Windows Forms User Control Pin
Gerry Schmitz1-Apr-15 0:39
mveGerry Schmitz1-Apr-15 0:39 
QuestionGridView checkbox cell Pin
Wild Thing11-Feb-15 23:00
Wild Thing11-Feb-15 23:00 
QuestionRe: GridView checkbox cell Pin
Richard MacCutchan12-Feb-15 1:05
mveRichard MacCutchan12-Feb-15 1:05 
AnswerRe: GridView checkbox cell Pin
Wild Thing12-Feb-15 2:57
Wild Thing12-Feb-15 2:57 
ok, here is my intitialization:
C#
   foreach (Linie lrow in ud.Linien)
   {
       LLinGrid.Rows.Add();

       DataGridViewRow gr = LLinGrid.Rows[LLinGrid.NewRowIndex - 1];

       gr.Cells["global"].Value = Convert.ToString(lrow.Global);
       gr.Cells["ust"].Value = Convert.ToString(lrow.Ust);
       gr.Cells["kennung"].Value = Convert.ToString(lrow.Kennung);

       if ((lrow.Kennung & 0x80) != 0)
           gr.Cells["isuz"].Value = true;    // set and shown correctly !
       if ((lrow.Kennung & 0x40) != 0)
           gr.Cells["aktiv"].Value = true;   // set and shown correctly !

       gr.Cells["dir"].Value   = Convert.ToString(lrow.Dir);

       gr.Cells["xmit"].Value = true; // Debugger says : true, but shown as unchecked
}


if I move the "xmit" column from position 1 to >2, it works. I tried:
C#
LLinGrid.ClearSelection();
LLinGrid.Rows[0].Cells[1].Selected = true;  // select next cell
LLinGrid.Invalidate();
LLinGrid.InvalidateCell(LLinGrid.Rows[0].Cells[0]);
LLinGrid.Show();
LLinGrid.UpdateCellValue(0, 0);

All of those didn't show the desired result. The value for the checkbox in the first column stays unchecked until I move to the next cell.

this happens only in the first row; follwing rows are correct.
GeneralRe: GridView checkbox cell Pin
Wild Thing12-Feb-15 22:31
Wild Thing12-Feb-15 22:31 
QuestionAny tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
vizimuchi11-Feb-15 8:29
vizimuchi11-Feb-15 8:29 
AnswerRe: Any tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
Richard MacCutchan11-Feb-15 21:49
mveRichard MacCutchan11-Feb-15 21:49 
AnswerRe: Any tips on how to create a UI like blizzard/origin/steam game clients using WinForms? Pin
den2k8812-Feb-15 2:01
professionalden2k8812-Feb-15 2:01 
Questionunsure of controls to use Pin
minnie mouse5-Jan-15 11:14
minnie mouse5-Jan-15 11:14 
AnswerRe: unsure of controls to use Pin
Richard MacCutchan5-Jan-15 22:54
mveRichard MacCutchan5-Jan-15 22:54 
QuestionInternship Management System Pin
Member 112919486-Dec-14 22:37
Member 112919486-Dec-14 22:37 

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.