Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What the f... is this now
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048571
Message ID:
01049607
Vues:
17
>
> I can't follow the whole thread (more than 50 messages). have you found the caused yet?
>

Njet!

And I don't think there is anything that could be found. I can tell You in short what happens:

I query two Icons (large and Small). Then I try do do something with their handle, but a command like
? loLarge.Handle
causes the error "Unknown name". However in the debugger, pointing the mouse over it, properly shows the handle.

OK. Could be anything wrong, handle destroyed or something like that (I checked it does not get destroyed).

But now I did one thing

in a new PRG I created a class
define class ABC as custom
   
    PROCEDURE GetHandle(toPicture as Object) as integer
        return toPicture.Handle
    ENDPROC

enddefine
Not really much logic in there. More a waste of time and resources BUT

if I do
oX = newObject("ABC", "DEF.PRG")
? oX.GetHandle( loLarge )

? loLarge.Handle
The first one works, the second causes an error

You might like to have a look at message #1048975 There You'll find a link to the latest IconBuddy.vcx with two testprograms and a short description

You will like this ;-)
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform