Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read-Only form is not read-only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00081516
Message ID:
00081769
Vues:
33
>Jose,
>
>>When I log in (ProjMgr application) as BRO (read-only access to Users Form) and open the Users Form the "New" button is enabled (wrong) and the "Delete"button is disabled (Right). After clicking on the "Properties" page and back in the "List" page, the "Delete"button is enabled (Wrong). Can anybody try to reproduce this ?>
>
>You're right! This has been fixed in the latest (and unreleased) version of the framework that will be released in March.
>
>Regards,

Another one for the next version.

In cBizObjMaintenanceForm.pgfBizObj.Page1.cmdNew.Init() method, you must check if the Enabled property is not already set to .F.. So, when a form is read-only Enabled property is already set to .F. and then you reset it to .T..

So I changed to :

DODEFAULT()
IF This.Enabled
This.Enabled = ThisForm.lAllowNew
ENDIF
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform