Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A little competition :-)
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00729533
Message ID:
00729568
Views:
12
Hi, Mark!

>>
The name of the property should be something meaningful to you and whoever has to maintain your code should you pass it on to someone else.
<<

That was my idea!


>>
I would call it lUseFormEditStatus.
<<

Sounds not so good <s>, because this property says to the Enabled state of the button:
- If property = .T. -> button is enabled/disabled when ThisForm.lEditMode is enabled/disabled (e.g. a "save" button or a "revert" button)!
- If property = .F. -> button is disabled/enabled when ThisForm.lEditMode is enabled/disabled(e.g. a "edit" button or a "next" button)!
- If property = .NULL. -> no dependency between Button.Enabled and ThisForm.lEditMode!

Now the question again: What is a good name <vbg>?


>>
You are missing the ENDCASE. I would have code more like:
<<

Oooops - you're right!
SeBaFlu
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform