Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects don't show up on class
Message
 
À
26/03/1998 12:24:05
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00087339
Message ID:
00087350
Vues:
32
>I have a class that is based on a form. The form has two objects. A label and an image.
>
>At the beginning of my program I create an instance of the form:
>
>oDisplayMessage = CREATEOBJECT("DisplayMessage")
>
>At some point in the program, I assign a value to the label and show the form:
>
>oDisplayMessage.lblMessage.Caption = "Checking Number"
>oDisplayMessage.Show()
>
>The form is displayed, but there is noting in it, no label or image. Both visible properties are set to .T.
>
>Does anybody have an idea of what is happening?
>
>Ed

Edward, can you check _screen.activeform in the Debugger to see what is actual status of those form controls at the runtime. Do they have .picture and .label property assigned in the form class? If they are initially empty, check also form.lockscreen property status.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform