मेरे पास एक विंडोज़ फॉर्म एप्लीकेशन है। फॉर्म पर तीन समूह बॉक्स हैं। प्रत्येक समूहबॉक्स में कुछ नियंत्रण होते हैं। कृपया छवि देखें। टैबइंडेक्स सही ढंग से काम नहीं करता
एक समूह बॉक्स "ध्वज" है जिसमें कुछ चेकबॉक्स हैं। "ध्वज" "groupbox1" में अंदर है। मैंने प्रत्येक नियंत्रण के माध्यम से जाने के लिए टैब कुंजी का उपयोग किया लेकिन यह "ध्वज" में चेकबॉक्स के लिए काम नहीं करता है। मैंने प्रत्येक नियंत्रण के लिए उचित टैबिंडेक्स सेट किया था।
यह टेक्स्टबॉक्स और बटन के लिए काम करता है लेकिन चेकबॉक्स।
क्यों? मदद के लिए धन्यवाद।
संपादित
// groupBox2
//
this.groupBox2.Controls.Add(this.pictureBox10);
this.groupBox2.Controls.Add(this.pictureBox9);
this.groupBox2.Controls.Add(this.pictureBox8);
this.groupBox2.Controls.Add(this.pictureBox7);
this.groupBox2.Controls.Add(this.chkStoplight);
this.groupBox2.Controls.Add(this.lblStoplight);
this.groupBox2.Controls.Add(this.chkIsCount);
this.groupBox2.Controls.Add(this.chkExceptionFlag);
this.groupBox2.Controls.Add(this.chkIsActive);
this.groupBox2.Controls.Add(this.lblIsActive);
this.groupBox2.Controls.Add(this.lblExceptionFlag);
this.groupBox3.Controls.Add(this.lblIsCount);
this.groupBox2.Location = new System.Drawing.Point(16, 201);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(321, 70);
this.groupBox2.TabIndex = 10;
this.groupBox2.TabStop = true;
this.groupBox2.Text = "Flags";
//
// chkStoplight
//
this.chkStoplight.AutoSize = true;
this.chkStoplight.Location = new System.Drawing.Point(44, 25);
this.chkStoplight.Name = "chkStoplight";
this.chkStoplight.Size = new System.Drawing.Size(15, 14);
this.chkStoplight.TabIndex = 0;
this.chkStoplight.UseVisualStyleBackColor = true;
In the property, I found TabStop is true for chkStoplight.
कृपया हमें बताएं कि आप लगातार टैब दबाए जाने के बाद कौन सा नियंत्रण सक्रिय हो जाता है –
क्या आप अपना कोड पोस्ट कर सकते हैं? – Dante
कोड टैबिंडेक्स के लिए सिर्फ संख्या है। चेकबॉक्स को छोड़कर सभी नियंत्रण सक्रिय हैं। –