Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

changing text of button nested in DW

43 views
Skip to first unread message

Le Dave

unread,
Sep 23, 2003, 10:54:24 AM9/23/03
to
Hi,

I have a DW grid style with a nested button in the detail band.
I try to modify the text of the button for 1 row (can do it for all rows).
I have tried many dot stuff without success, it GPFs on runtime:

//OK for all rows
dw_1.object.col_button.text = "Hello"

// Runtime error on all these:
dw_1.object.col_button[2] = "Hi"
dw_1.object.col_button[2].text = "Hi"
dw_1.object.col_button[2].object.text = "Hi"
dw_1.object.col_button[2].data.text = "Hi"
dw_1.object.col_button[2].dwo.text = "Hi"
dw_1.object.col_button[2].dwobject.text = "Hi"
dw_1.object.col_button[2].button.property.text = "Hi"

It apparently doesn't like the row [] thing.

I welcome any other idea...

It's PB 6.5.1.

-- David -/.

0 new messages