Bob,
I can't think of any specific examples out there but I have done similar
in the past and IIRC the trick was to, in the Validate method:
ctrl = self.GetWindow() # Get the control to validate
dlg = ctrl.GetParent() # Get the dialogue it is a part of
option = dlg.SomeOtherControl.GetValueOrSelection()
Then validate based on option, note that depending on the layout of your
dialogue you may have to do more than one GetParent and you will need to
know, (or check for the presence of), the name of the control that you
are deciding how to validate, etc.
Hope that is some help.
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.
---
This email has been checked for viruses by AVG.
http://www.avg.com