Add a logical property and flip it value when button is cliicked. In the Refresh() check the property value and ruon appropriate code.
Does anyone know if its possible to programmatically change the code that executes when a control's refresh event fires?
>
>I have a custom class line shape that contains code to set the height and position when it is refreshed. These parameters are based on values contained in the table. I'd like to programmatically change the field pointer
>from the table to instead be a UDF and then back at the click of a button.
>
>Any suggestions?
>
>- Don
--sb--