HankFay
2013-06-01, 18:26
Scenario: I am using the newly available activate() (thanks!) which happens when a section is being made the .activesection. I have the section set to collapsable = .F. The reason being that I want sections to be expandable only under certain conditions, which I am testing in the Activate delegate.
What happens: in runtime mode, the section expands when the header is clicked, regardless of what I've tried.
issue nodefault, but of course that only works in classes, and the lianja objects are base classes -- VFP did, fwiw, allow nodefault to prevent the current action in base classes
return .F. -- no reason this should have worked, but had to try
issue lianja.get("sectionname").collapse() -- I figured it was too early for it to work.
Question: is there a way to do this, or am in the land of ER?
thanks,
Hank
What happens: in runtime mode, the section expands when the header is clicked, regardless of what I've tried.
issue nodefault, but of course that only works in classes, and the lianja objects are base classes -- VFP did, fwiw, allow nodefault to prevent the current action in base classes
return .F. -- no reason this should have worked, but had to try
issue lianja.get("sectionname").collapse() -- I figured it was too early for it to work.
Question: is there a way to do this, or am in the land of ER?
thanks,
Hank