View Full Version : cWebColumnButton

Tom Murphy
27-Mar-2014, 03:11 AM

I can get the cWebColumnButton to work as a single or multiple in data aware grids but only as a single in manually loaded grids.

When using the psButtonCaption it's all fine but when using OnDefineButtons and AddButton I only get one button with no label.


And the code is?

Object oColumn is a cWebColumnButton
Set piWidth To 80

// OnDefineButtons:
Procedure OnDefineButtons
Send AddButton "E" "Edit" ""
Send AddButton "D" "Deactivate" ""
End_Procedure // OnDefineButtons
End_Object // oColumn

Question is the column value important in OnManualLoadData?

Also the example in the help for cWebColumnButton sets the pbRender to false???

Richard Hogg
27-Mar-2014, 07:24 PM
Hi Tom,

I think your problem is caused because Acca Dacca isn't at the top of the list :cool:

Harm Wibier
28-Mar-2014, 09:11 AM
Hi Tom,

Did you set pbDynamic? Are you calling LoadGridRow to fill the structure?


Tom Murphy
29-Mar-2014, 06:56 AM
Hi Harm

Thanks - that was it, I needed both to get it work. I was using the Demo Manual Grid web view, maybe it should be updated to use LoadGridRow??