Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Detect screen object
Versions des environnements
If am using the following command to place an image on the main foxpro screen.
_SCREEN.AddObject('IoIMAGE','IMAGE')
_screen.ioimage.picture = "touch.gif"
_screen.ioimage.stretch = 1
_screen.ioimage.width = 200
_screen.ioimage.height = 200
_screen.ioimage.visible = .t.
_screen.ioimage.left = (_screen.Width-_screen.ioimage.width)/2
_screen.ioimage.top = (_screen.height-_screen.ioimage.height)/2
When I am running the application uncompiled, i get an error as the first line brings up an
error as it aleady exisits. How can I tell the system to only run the command if iomage does not exist.
brian
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement