Electronics Lab Philippines

change backcolor of Label depending on data received from serial port.

Offline orlyver

  • **
  • 47
  • 0
Gaya nung subject mga master.

Pano ko mapapaiba yung color ni label according sa data na nareceive.

Example. Serial port received "Red"

Dapat si label1.backcolor ay magiging RED.

Kapag naman received ay "Blue"

label1.backcolor = color.blue

Hindi ko po kasi alam imanipulate ung mga strings na dumadating sa Serial port

Paturo naman po. Maraming salamat!