Click here to Skip to main content
15,891,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralMDI child get maximized if any other child is maximized Pin
Rizwan Bashir22-Dec-04 22:32
Rizwan Bashir22-Dec-04 22:32 
GeneralRe: MDI child get maximized if any other child is maximized Pin
Dave Kreskowiak23-Dec-04 16:22
mveDave Kreskowiak23-Dec-04 16:22 
GeneralRe: MDI child get maximized if any other child is maximized Pin
Rizwan Bashir25-Dec-04 21:57
Rizwan Bashir25-Dec-04 21:57 
QuestionSendMessage to the parent of a control? Pin
TAlvord22-Dec-04 9:59
TAlvord22-Dec-04 9:59 
GeneralConnection to database through config file Pin
ccotton33322-Dec-04 9:55
ccotton33322-Dec-04 9:55 
GeneralRe: Connection to database through config file Pin
T Manjaly6-Jan-05 13:50
T Manjaly6-Jan-05 13:50 
GeneralDel row from Datagrid Pin
Paps222-Dec-04 3:18
Paps222-Dec-04 3:18 
GeneralRe: Del row from Datagrid Pin
Dave Kreskowiak22-Dec-04 5:30
mveDave Kreskowiak22-Dec-04 5:30 
Should be easy enough. Handle the DataGrid KeyPress event. When the event fires, you're code show put up a modal dialog box (.ShowDialog()) asking if it's OK or not. If it is OK, set the eventargs parameter to False before your handler exits, otherwise set it to True to stop the keypress from reaching the DataGrid control and having it delete the record.

KeyPress event[^]

RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralPlease this is important - printing!! Pin
Shrex22-Dec-04 3:09
Shrex22-Dec-04 3:09 
GeneralRe: Please this is important - printing!! Pin
Dave Kreskowiak22-Dec-04 5:18
mveDave Kreskowiak22-Dec-04 5:18 
GeneralRe: Please this is important - printing!! Pin
Shrex22-Dec-04 6:50
Shrex22-Dec-04 6:50 
GeneralRe: Please this is important - printing!! Pin
Dave Kreskowiak22-Dec-04 7:16
mveDave Kreskowiak22-Dec-04 7:16 
GeneralRe: Please this is important - printing!! Pin
J4amieC23-Dec-04 0:23
J4amieC23-Dec-04 0:23 
GeneralChange data report to landscape Pin
widhie_prihatna22-Dec-04 1:27
widhie_prihatna22-Dec-04 1:27 
GeneralRe: Change data report to landscape Pin
Dave Kreskowiak22-Dec-04 4:54
mveDave Kreskowiak22-Dec-04 4:54 
GeneralMDICLIENT Pin
Member 125367922-Dec-04 0:00
Member 125367922-Dec-04 0:00 
GeneralMDICLIENT Pin
Member 125367921-Dec-04 23:53
Member 125367921-Dec-04 23:53 
GeneralRe: MDICLIENT Pin
Dave Kreskowiak22-Dec-04 5:35
mveDave Kreskowiak22-Dec-04 5:35 
GeneralRe: MDICLIENT Pin
Anonymous22-Dec-04 17:15
Anonymous22-Dec-04 17:15 
GeneralDemodulating and displaying a FM modulated ECG signal Pin
yeechairen21-Dec-04 20:11
yeechairen21-Dec-04 20:11 
GeneralRe: Demodulating and displaying a FM modulated ECG signal Pin
Dave Kreskowiak22-Dec-04 1:05
mveDave Kreskowiak22-Dec-04 1:05 
GeneralList file on FTP Pin
nitin_ion21-Dec-04 19:30
nitin_ion21-Dec-04 19:30 
GeneralRe: List file on FTP Pin
Dave Kreskowiak22-Dec-04 4:01
mveDave Kreskowiak22-Dec-04 4:01 
GeneralRegEx to parse VB.NET source (STILL NEED ANSWER PLEASE) Pin
cnurse21-Dec-04 14:28
cnurse21-Dec-04 14:28 
GeneralConverting text to date Pin
Member 159547221-Dec-04 10:09
Member 159547221-Dec-04 10:09 

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.