I have created a fake dialog (per Johan C.'s suggestion in a recent thread) and have dis-enabled the other elements on the form:
elements.cmt_auto_renew.enabled = 0
elements.cmt_campaign.enabled = 0
elements.cmt_receipts_total.enabled = 0
elements.cmt_writeoffs_total.enabled = 0
elements.cmt_notes.enabled = 0elements.panel_pledgepay.enabled = 0
elements.schedpay.enabled = 0
elements.schedpay.visible = 0
elements.butt_cancel.enabled = 0
elements.butt_continue.enabled = 0elements.panel_sched.visible = 1
Seems to work well so far except for one thing: scrollbars.
When I say:
elements.panel_pledgepay.enabled = 0
…the scrollbars are still active, even though everything else on that panel is greyed out. This is also true for a field:
elements.cmt_notes.enabled = 0
Thing is, when the user clicks on the scrollbar for the panel, that panel comes to the front, partially obscurring the fake dialog.
Is there a way to defeat the scrollbars methodically? …and…
Is there a reason that scrollbars are not dis-enabled when the object is dis-enabled?
Thank you,
Jim