text3.text=text1.text+text2.text
ده كود صح لكن في الاندكس مش عارف اكتبه ازاي
Private Sub Text3_Change(Index As Integer)
text3.text=text1.text+text2.text
ده كود صح لكن في الاندكس مش عارف اكتبه ازاي
Private Sub Text3_Change(Index As Integer)
ارجو الرد سريعا
??????????????
اخي الكريم طلبك مش واضح
اولا هل تقصد اتك عامل مصفوفه Text
وتريد وضع تكست1 وا 2 فيtext3.Text
على كل حال اذا كنت تريد ذلك فتفضل
text3(0).Text = text1.Text + text2.Text
واذا كان ليس هاذا ما تريد فلو ارفقت مثال ليتم التعديل عليه يكون اوضح
Private Sub Text1_Change()
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
Private Sub Text2_Change()
Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
Private Sub Text1_Change()
Text3(0).Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
Private Sub Text2_Change()
Text3(0).Text = Val(Text1.Text) + Val(Text2.Text)
End Sub
ليس كل ما يتمناه المرء يدركه
