Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataGrid binding. Pin
kalla12319-Sep-03 10:01
kalla12319-Sep-03 10:01 
Generaltabcontrol Pin
brain2cpu18-Sep-03 23:49
professionalbrain2cpu18-Sep-03 23:49 
I have to port a MFC app to .NET. The main window is dialog with a big tabcontrol and many tab pages. In C++ every tab page was a dialog, so it has a default push button, in C# only the main form has an accept button. How could I "press" different buttons depending on the active tab page on Enter pressed? The only way I could see is to handle the key(up|down) event, verify if it is Enter (how?) and do something further, but must be something easier Smile | :)
The other problem: I want to set the focus on one tab page component when the page is shown, and keep the current focus no matter how the pages are changed (I mean when switch back). The control.Focus() in the Load method does not work, when should I call Focus?

Thanks
GeneralRe: tabcontrol Pin
NetPointerIN19-Sep-03 7:47
NetPointerIN19-Sep-03 7:47 
GeneralRe: tabcontrol Pin
brain2cpu23-Sep-03 20:08
professionalbrain2cpu23-Sep-03 20:08 
Generalmp3 calculations Pin
Uncle Monkey18-Sep-03 23:29
Uncle Monkey18-Sep-03 23:29 
GeneralRe: mp3 calculations Pin
Julian Bucknall [MSFT]19-Sep-03 6:33
Julian Bucknall [MSFT]19-Sep-03 6:33 
GeneralRe: mp3 calculations Pin
Uncle Monkey21-Sep-03 22:31
Uncle Monkey21-Sep-03 22:31 
GeneralRe: mp3 calculations Pin
Julian Bucknall [MSFT]22-Sep-03 5:25
Julian Bucknall [MSFT]22-Sep-03 5:25 
GeneralRe: mp3 calculations Pin
Uncle Monkey22-Sep-03 5:32
Uncle Monkey22-Sep-03 5:32 
Generali want to run the sqlserver agent server Pin
meetweb18-Sep-03 20:07
meetweb18-Sep-03 20:07 
GeneralProblem in accessing an unmanaged dll Pin
Rashi_Ajay18-Sep-03 19:34
Rashi_Ajay18-Sep-03 19:34 
GeneralHELP - Following XML Element Heirarchy Pin
Anonymous18-Sep-03 19:00
Anonymous18-Sep-03 19:00 
GeneralRight Click on the internet explorer Pin
Srikar Y18-Sep-03 17:58
Srikar Y18-Sep-03 17:58 
GeneralRe: Right Click on the internet explorer Pin
Blake Coverett20-Sep-03 15:44
Blake Coverett20-Sep-03 15:44 
GeneralProblem with Object Serialization/Deserialization Pin
alreddawg1918-Sep-03 17:42
alreddawg1918-Sep-03 17:42 
Questionneed advice: DirectX 3-D engine (C++) viewable in C# app? Pin
rob knaack18-Sep-03 13:40
rob knaack18-Sep-03 13:40 
QuestionHow can I suppress the Microsoft .NET Security Information message box? Pin
ElizabethC18-Sep-03 13:19
ElizabethC18-Sep-03 13:19 
GeneralSeperator line in Windows Form Pin
pahluwalia18-Sep-03 11:37
pahluwalia18-Sep-03 11:37 
GeneralRe: Seperator line in Windows Form Pin
eggie518-Sep-03 12:08
eggie518-Sep-03 12:08 
GeneralRe: Seperator line in Windows Form Pin
sumeat18-Sep-03 15:09
sumeat18-Sep-03 15:09 
GeneralRe: Seperator line in Windows Form Pin
rak18-Sep-03 22:59
rak18-Sep-03 22:59 
GeneralAccess Token Pin
BobMaier18-Sep-03 10:56
BobMaier18-Sep-03 10:56 
GeneralSave a high color (16 bit ) image as 256 or 16 color (.bmp format) Pin
mr6018-Sep-03 10:19
mr6018-Sep-03 10:19 
GeneralHELP PLEASE!! Pin
frank2118-Sep-03 8:29
frank2118-Sep-03 8:29 
GeneralRe: HELP PLEASE!! Pin
Guillermo Rivero18-Sep-03 11:12
Guillermo Rivero18-Sep-03 11:12 

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.