Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect screen object
Message
De
08/03/2005 09:51:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/03/2005 09:44:35
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00993620
Message ID:
00993623
Vues:
15
if not file("touch.gif")
...
or, perhaps more trustworthy:
if adir(TempArray, "touch.gif") = 0
...
>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
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform