PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Overridind a method
Overridind a method
Started by Tom Thorward, Oct., 30 2004 9:50 AM - No answer
Connect yourself…
Tom Thorward
#1
Posted on October, 30 2004 - 9:50 AM
I want to override the method _vCheckModification in the CWDForm Class in
order to change the user message generated by this method. I defined a new
subclass "cMyForm" but when I try to define a method with the same name as
_vCheckModification in order to override the original, I get an error
message. I tried defining a new method, "_vCheckModification2" but that
only helps where I can control the call to the method, as from the "Apply"
button on the form. Since _vCheckModification is called from a number of
places in CWDForm, the old message keeps popping up. Do I have to completely
rewrite the class to get around this or is there a way to overwrite
_vCheckModification?
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text