I think the only way is to use some place holder (e.g. $$$) to be replaced
by the rght label in the button_onBeforeHtmlOutput event.
A much more elegant way would be to have two buttons and make the unwanted
one diappear in
button_onBeforeDispaly by 'return SKIP'.
Aby
TeamND
> -----Original Message-----
> From: Ray [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 22, 1999 11:15 AM
> To: [EMAIL PROTECTED]
> Subject: [ND] DisplayFormatStringList Button Property
>
>
>
> Does anyone know how to change the DisplayFormatStringList
> button property
> dynamically? E.g., I have a page that when first loaded,
> displays all the members of
> my application, and has a button whose
> DisplayFormatStringList property value is
> "Show Inactive Members". The onWebEvent() for the button
> then includes dynamic
> criteria to retrieve only those members who are inactive, and
> the page is reloaded.
> When reloaded, I want to change the DisplayFormatStringList
> property value for the
> button to "Show All Members, which reverts to using the same
> criteria that was
> used when the page was first loaded to retrieve all members.
> Doing so will allow me
> to use the same button for both queries.
> ______________________________________________________________
> ___________
>
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to:
> http://www.netdynamics.com/support/visitdevfor.> html
>
> For dire
> need help, email: [EMAIL PROTECTED]
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]