Dim i As Integer If Label2.Text = i < 300 AndAlso i > 100 Then Label2.ForeColor = Color.Red End If
مبتدئ كتب : كود : Dim i As Integer If Label2.Text = i < 300 AndAlso i > 100 Then Label2.ForeColor = Color.Red End If
Dim i As IntegerIf Label2.Text = i And i < 300 And i > 100 Then Label2.ForeColor = Color.Red End If
سعود كتب :هل تريد ان تتحقق من اداة التسمية ام من المتغير i
Easy 4ever كتب :أفصل Label2.Text = i عن i < 300 بكلمة And هذا الكود بعد التعديل PHP كود : Dim i As IntegerIf Label2.Text = i And i < 300 And i > 100 Then Label2.ForeColor = Color.Red End If ملاحظة لاتنسى إضافة قيمة لمتغير i
if val(label1.text) >=100 and val(label1.text) <= 300 then your code here end if
سعود كتب : كود : if val(label1.text) >=100 and val(label1.text) <= 300 then your code here end if