Login to Website

Login dengan Facebook

 

Post Reply
Thread Tools
  #1  
Old 20th November 2011
PHPmaster
Ceriwiser
 
Join Date: Nov 2011
Posts: 332
Rep Power: 14
PHPmaster mempunyai hidup yang Normal
Default Bagaimana coding membuat teks ber-underline/bold/italic menggunakan CheckBox pada Vis

Pas Ane pake Visual Basic 6, codingnya gni:

Text1.FontUnderline = Check1



Tapi di sini Ane pengen buat di Visual Basic 2010. Ane nyoba masukkin coding di atas pada Visual Basic 2010, tapi malah error list yang nongol:

'FontUnderline' is not a member of 'Systems.Windows.Forms.Textbox'.



Trus Ane coba ganti codingnya dengan:

TextBox1.Font.Underline=CheckBox1.Checked



Error list lagi yang muncul:

Property access must assign to the property or use its value.





Sebenarnya, gemana sih coding yang benernya? Mohon pencerahannya dari agan-agan sekalian.



</div>

Sponsored Links
Space available
Post Reply

Thread Tools



Switch to Mobile Mode

no new posts