Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadOnly and ProgrammaticChange. Bug or ???
Message
From
15/04/2003 05:37:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ReadOnly and ProgrammaticChange. Bug or ???
Miscellaneous
Thread ID:
00777603
Message ID:
00777603
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform