Bild aktiv - Variable

Bild aktiv - Variable

Hallo, ich möchte mit dem zenon Editor die Bild aktiv-Variablen auslesen. Dazu verwende ich folgenden Code: For j = 0 To thisProject.DynPictures.Count - 1 MsgBox thisProject.DynPictures.Item(j).DynProperties("PicActivVar") Next j Wenn für das jeweilige Bild keine Bild aktiv - Variable gesetzt ist wird die (leere) Messagebox angezeigt. Falls jedoch eine Bild aktiv - Variable gesetzt ist bricht das Makro mit dem Error Code 438 (Object doesn't support this porperty or method) ab. Weiß jemand woran das liegen könnte? Danke! Thomas

This is a migrated post! Originally posted on 27.10.2016 by user thomas.stadler. Please be aware that information can be outdated.