Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadOnly and ProgrammaticChange. Bug or ???
Message
De
15/04/2003 05:37:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ReadOnly and ProgrammaticChange. Bug or ???
Divers
Thread ID:
00777603
Message ID:
00777603
Vues:
57
Hi all

I want create a class ( ex. TextBox ) with support of readOnly mode.

#DEFINE ErrCode_ReadOnly NNNN

objectClass.readOnly = .T.

on

objectClass.ProgrammaticChange Event:
IF m.this.readOnly
ERROR ErrCode_ReadOnly &&& ,message ...
nodefault
return .F.
ENDIF

on program code

object.Value = 'something'

All good ? No!

ProgrammaticChange ignore nodefault and RETURN .F !

ProgrammaticChange true name is ProgrammaticChangeAfter ?

I am mistaking? Where ?

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform