SlideShare a Scribd company logo
1 of 1
Download to read offline
ວິທະຍາໄລສອນພິທັກລາວ ອຈ ພອນປະເສີດ ຜົນດາລາ
1
ພາກປະຕິບັດ 6
1. ສ້າງ Project ໃໝ່ ແລ້ວອອກແບບດັ່ງນີ້
2. ສ້າງ Function ດັ່ງນີ້
var resoult:String="ກີລາທີ່ ເຈົ້າມ ັກແມ່ນ:"
public fun Confirm(view:View){
if(chbFootball.isChecked){
resoult +=" ບານເຕະ"
}
if(chbVolleyball.isChecked){
resoult +=" ບານສົ່ງ"
}
if(chbBadminton.isChecked){
resoult +=" ຕີດອກ"
}
if(chbPingpong.isChecked){
resoult +=" ປິ່ ງປ່ອງ"
}
tvResoult.text=resoult
}
====================

More Related Content

More from Phonepaseuth Phonhdala

ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນPhonepaseuth Phonhdala
 
ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)Phonepaseuth Phonhdala
 
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonPhonepaseuth Phonhdala
 
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່Phonepaseuth Phonhdala
 
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipseຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipsePhonepaseuth Phonhdala
 
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນPhonepaseuth Phonhdala
 
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSP
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSPບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSP
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSPPhonepaseuth Phonhdala
 
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSP
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSPບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSP
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSPPhonepaseuth Phonhdala
 
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSP
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSPບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSP
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSPPhonepaseuth Phonhdala
 
ບົດທີ 2 ສາຍສັນຍານ ແລະ Wireless
ບົດທີ 2 ສາຍສັນຍານ ແລະ Wirelessບົດທີ 2 ສາຍສັນຍານ ແລະ Wireless
ບົດທີ 2 ສາຍສັນຍານ ແລະ WirelessPhonepaseuth Phonhdala
 

More from Phonepaseuth Phonhdala (20)

Lab 3 date picker dialog
Lab 3 date picker dialogLab 3 date picker dialog
Lab 3 date picker dialog
 
Lab 2 time picker dialog
Lab 2 time picker dialogLab 2 time picker dialog
Lab 2 time picker dialog
 
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
ການເພີ່ມ, ແກ້ໄຂ, ລຶບ ຂໍ້ມູນ
 
ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)ການກະກຽມຂໍ້ມູນ (Prepare data)
ການກະກຽມຂໍ້ມູນ (Prepare data)
 
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
ພາກປະຕິບັດ 9 (Lab 9) ຈັດການຖານຂໍ້ມູນ
 
ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)ພາກປະຕິບັດ 8 (Lab 8)
ພາກປະຕິບັດ 8 (Lab 8)
 
ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)ພາກປະຕິບັດ 7 (Lab 7)
ພາກປະຕິບັດ 7 (Lab 7)
 
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButtonພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
ພາກປະຕິບັດ 5 (Lab 5) ການນຳໃຊ້ RadioButton
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter1
Chapter1Chapter1
Chapter1
 
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
ພາກປະຕິບັດ 4 (Lab 4) ການເປິດActivity ໃໝ່
 
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipseຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
ຕິດຕັ້ງ Tomcat (xampp) ໃນ eclipse
 
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
ບົດທີ 7 ການຈັດການຖານຂໍ້ມູນ
 
ບົດທີ 6 Client/Server
ບົດທີ 6 Client/Serverບົດທີ 6 Client/Server
ບົດທີ 6 Client/Server
 
ບົດທີ 5 Condition and Loop
ບົດທີ 5 Condition and Loopບົດທີ 5 Condition and Loop
ບົດທີ 5 Condition and Loop
 
ບົດທີ 4 String Method
ບົດທີ 4 String Methodບົດທີ 4 String Method
ບົດທີ 4 String Method
 
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSP
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSPບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSP
ບົດທີ 3 ເລີ່ມຕົ້ນຂຽນ JSP
 
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSP
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSPບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSP
ບົດທີ 1 ຄວາມຮູ້ພື້ນຖານກ່ຽວກັບ JSP
 
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSP
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSPບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSP
ບົດທີ 2 ກຽມເຄື່ອງມືສຳລັບຂຽນ JSP
 
ບົດທີ 2 ສາຍສັນຍານ ແລະ Wireless
ບົດທີ 2 ສາຍສັນຍານ ແລະ Wirelessບົດທີ 2 ສາຍສັນຍານ ແລະ Wireless
ບົດທີ 2 ສາຍສັນຍານ ແລະ Wireless
 

ພາກປະຕິບັດ 6 (Lab 6) ການໃຊ້ CheckBox

  • 1. ວິທະຍາໄລສອນພິທັກລາວ ອຈ ພອນປະເສີດ ຜົນດາລາ 1 ພາກປະຕິບັດ 6 1. ສ້າງ Project ໃໝ່ ແລ້ວອອກແບບດັ່ງນີ້ 2. ສ້າງ Function ດັ່ງນີ້ var resoult:String="ກີລາທີ່ ເຈົ້າມ ັກແມ່ນ:" public fun Confirm(view:View){ if(chbFootball.isChecked){ resoult +=" ບານເຕະ" } if(chbVolleyball.isChecked){ resoult +=" ບານສົ່ງ" } if(chbBadminton.isChecked){ resoult +=" ຕີດອກ" } if(chbPingpong.isChecked){ resoult +=" ປິ່ ງປ່ອງ" } tvResoult.text=resoult } ====================