Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
QuestionHow to create Control array? Pin
12Code10-Apr-09 19:21
12Code10-Apr-09 19:21 
AnswerRe: How to create Control array? Pin
a.hamidy10-Apr-09 20:06
a.hamidy10-Apr-09 20:06 
QuestionHow to create banner maker windows application. Pin
Ch.Gayatri Subudhi10-Apr-09 19:01
Ch.Gayatri Subudhi10-Apr-09 19:01 
AnswerRe: How to create banner maker windows application. Pin
Eddy Vluggen11-Apr-09 0:20
professionalEddy Vluggen11-Apr-09 0:20 
AnswerRe: How to create banner maker windows application. Pin
Ch.Gayatri Subudhi11-Apr-09 2:16
Ch.Gayatri Subudhi11-Apr-09 2:16 
GeneralRe: How to create banner maker windows application. Pin
Henry Minute11-Apr-09 2:42
Henry Minute11-Apr-09 2:42 
QuestionTab Form Pin
Sajjad Leo10-Apr-09 18:43
Sajjad Leo10-Apr-09 18:43 
AnswerRe: Tab Form Pin
a.hamidy10-Apr-09 20:16
a.hamidy10-Apr-09 20:16 
write following to your form load and tabControl selectedIndexChange Event.

void setFocus(byte selectedIndex)<br />
{<br />
 switch (selectedIndex)<br />
 {<br />
  case 0:<br />
   //focus control that u want<br />
   txt1.Focus();<br />
   break;<br />
  case 1:<br />
   //focus control that u want<br />
   cmb1.Focus();<br />
   break;<br />
  }<br />
}<br />
void TabControl1SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
 setFocus((byte)tabControl1.SelectedIndex);<br />
}<br />
void Frm_Form7Load(object sender, EventArgs e)<br />
{<br />
 //setFocus(0); If by default first tab is selected <br />
 setFocus((byte)tabControl1.SelectedIndex);			<br />
}

set the control TabIndex to 0 and you can also set the TabControl TabStop to false.
AnswerRe: Tab Form Pin
dybs10-Apr-09 20:17
dybs10-Apr-09 20:17 
AnswerRe: Tab Form Pin
riced10-Apr-09 22:51
riced10-Apr-09 22:51 
QuestionSimple Question - Loading Form Pin
viciouskinid10-Apr-09 17:05
viciouskinid10-Apr-09 17:05 
AnswerRe: Simple Question - Loading Form Pin
Mycroft Holmes10-Apr-09 22:28
professionalMycroft Holmes10-Apr-09 22:28 
Questionimport excel to gridview Pin
orked mohamed10-Apr-09 10:52
orked mohamed10-Apr-09 10:52 
QuestionXML document repair? Pin
jharker198710-Apr-09 10:26
jharker198710-Apr-09 10:26 
QuestionSIP server Pin
yogesh_softworld12310-Apr-09 8:55
yogesh_softworld12310-Apr-09 8:55 
QuestionHow to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Supra210-Apr-09 8:12
Supra210-Apr-09 8:12 
AnswerRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Henry Minute10-Apr-09 8:27
Henry Minute10-Apr-09 8:27 
GeneralRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Supra210-Apr-09 19:56
Supra210-Apr-09 19:56 
GeneralRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Henry Minute11-Apr-09 0:29
Henry Minute11-Apr-09 0:29 
AnswerRe: How to handle OnMouseMove (NC_MOUSEMOVE) using C#? Pin
Colin Angus Mackay10-Apr-09 8:31
Colin Angus Mackay10-Apr-09 8:31 
QuestionCan someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 7:49
stonebergftw10-Apr-09 7:49 
AnswerRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:00
Colin Angus Mackay10-Apr-09 8:00 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 8:12
stonebergftw10-Apr-09 8:12 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
Colin Angus Mackay10-Apr-09 8:25
Colin Angus Mackay10-Apr-09 8:25 
GeneralRe: Can someone please tell me what is wrong with this List function? Pin
stonebergftw10-Apr-09 8:37
stonebergftw10-Apr-09 8: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.