Re: dodefault?
- From: Jack Jackson <jjackson@xxxxxxxxxxxxxxxx>
- Date: Wed, 14 Jan 2009 12:35:05 -0800
On Wed, 14 Jan 2009 12:55:56 -0600, "Linn Kubler"
<lkubler@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
I created a class for my treeview that I can drop onto my forms when I need
it, works fine. In adding drag and drop functionality I put code into the
classes dragdrop method. Now I have some steps I'd like performed after the
dragdrop is complete and these steps will vary based on the form used and
some of the other controls on the form. Ok, so I put code in the drag/drop
of the subclass that's on my form. Hope I'm describing that correctly.
When I run the form and perform my drag and drop it doesn't work because the
code in the parent class isn't being executed. Ok, so I put dodefault() in
the subclass method and it still doesn't work. I even put a couple
messagebox()'s in my code to see how far it gets and it still doesn't run
the parent classes code.
What am I doing wrong? I thought the purpose of the dodefault() function
was to run the code of the base class? I am just counting on it being
synchronous so that the base class completes before the subclass code runs.
Any suggestions?
Thanks in advance,
Linn
I am not sure what you mean by "I am just counting on it being
synchronous". The call to DODEFAULT() will execute the code in the
parent class method, so it will occur at whatever point you have the
DODEFAULT() call. Did you pass any parameters needed by the parent
class method in the DODEFAULT() call?
I would put a SET STEP ON in the subclass method and step through to
see what is happening.
.
- Follow-Ups:
- Re: dodefault?
- From: Linn Kubler
- Re: dodefault?
- References:
- dodefault?
- From: Linn Kubler
- dodefault?
- Prev by Date: Re: dodefault?
- Next by Date: Re: dodefault?
- Previous by thread: Re: dodefault?
- Next by thread: Re: dodefault?
- Index(es):
Relevant Pages
|