Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CANCEL Button code never executes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01296297
Message ID:
01296441
Vues:
7
>I understand what you are saying, Naomi. It seems that way. This is already a separate button; I thought it was because the button was a sub-classed button that that might be why it didn't work, so I just got a plain commandbutton and placed it there with all the necessary code.
>
>Again, the code fires, if there has been any change to the data, but if there is no change to the data and I click on the CANCEL button, the code does not ever fire. I set the ENABLED property to .T. upon clicking on my EDIT button. Notice below code:
>
>
>WITH ThisForm
>   .lEditing = .T.
>   .lblModeStatus.Caption = "EDIT MODE"	&& Tells user what mode he is in.
>   .Enable_Page1()
>   .CancelButton.Enabled = .T.
>ENDWITH
>
That's weird. In your new button put messagebox('I am clicked!) at the top of the click event. Do you see it when you click on the button without making changes?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform