Hello everybody.it is the first time that I am visiting this website. I am a student and I have a project about graphics like drawing lines ,etc. i have created a class named clobjet.added to that, 2 classes (cllgn and clarc) which implement the first. how do I know if one which is an clobjet is a cllgn or clarc. I am trying to use this code but it doesn't work.
private coll as collection
Private Myline as cllgn
Private Myarc as clarc
private Myobj as clobj
for each Myobj in coll
Select Case MyObj.NameObj
Case "Ligne"
Set Myobj = Myline
Case "Polygone"
Set MyObj = Myarc
End Select
next
Please, Help me. thank you so much.
private coll as collection
Private Myline as cllgn
Private Myarc as clarc
private Myobj as clobj
for each Myobj in coll
Select Case MyObj.NameObj
Case "Ligne"
Set Myobj = Myline
Case "Polygone"
Set MyObj = Myarc
End Select
next
Please, Help me. thank you so much.