Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Init does not fire
Message
From
10/10/2007 16:28:54
 
 
To
09/10/2007 17:28:55
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01259860
Message ID:
01260146
Views:
11
It goes in the init of the group. It explicitly calls the parent class's init() (in place of your dodefault()) which I thought was the problem? The default init() of the parent class was not firing? I must have misunderstood...



>Thanks Tracy -
>Um . . . It's not clear where I should put your suggested code. It is not the parent's init that I am having trouble with. It is the init of one of the buttons in the group. The init for the group does fire.
>
>>does it fire if you call it with [parentclass]::init() instead of dodefault()? (Substitute [parentclass] (leave out the brackets too) with the actual parent class name which you can grab from inside the button's init and clicking on the 'view parent code' button.
>>
>>
>>>I have a custom button group on a modal form with a private datasession. The button group is subclassed from the standard button group and uses subclassed buttons. For some reason the init event of the buttons do not fire. All of the init events enclude dodefault() in their code. This problem does not exist with a standard button group.
>>>
>>>Any ideas on what I've missed?
>>>
>>>Thanks
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform