၁။ Focus မွတ္စု
၁။ ဒီဇိုင္းလုပ္တဲ႔အခ်ိန္မွာ Focus လုပ္ခ်င္ရင္ TabIndex ကို 1 ထားေပးရမယ္။
၂။ form load စစခ်င္းမွာ Focus() method ကို သံုးလို႔ မရဘူး။
၃။ form Load မွာ Focus လိုခ်င္ရင္ object.TabIndex=1 သံုးေရးေပးရမယ္။
၄။ focus လုပ္လို႔ ရမရ စစ္ေဆးဖို႔ object.CanFocus = True, False
If TextBox1.CanFocus Then
MessageBox.Show("can foucus")
TextBox1.Focus()
Else
MessageBox.Show("can't foucs")
TextBox1.TabIndex = 1
End If
ကၽြန္ေတာ္ ေလ႔လာမိတာေလးေတြ ကို ကၽြန္ေတာ္႔လို စတင္ေလ႔လာကာစ လူငယ္ေတြ အတြက္ တင္ေပးလိုက္ပါတယ္။ ပိုေကာင္းတဲ႔ ကုဒ္ေလးေတြ ရွိရင္ ျပန္လည္မွ်ေဝေပးၾကပါခင္ဗ်ာ။