Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
PHPmaster PHPmaster is offline
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>

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 10:36 PM.


no new posts