Skip to main content

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty
:( you said it: Just to an image and a click ahead (or Double).

No Controls into Controls. AcuCobol is limitated to do that kind of things.

You depend on your imagination.

Regards - CB52

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty
I created a bitmap strip with 2 bitmaps. One bitmap looks like a checked check-box and one is unchecked. Then I used the msg-bitmap-clicked to change my data and change the bitmap. I looks like the cell has a check-box, but it really doesn't.

If the user types something in that field, I set the event-action-fail so it will act like a check box.

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty
If you need more flexibility within grids, use a third party Active-X or .NET grid control.

Rob

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty
If you need more flexibility within grids, use a third party Active-X or .NET grid control.

Rob

[Migrated content. Thread originally posted on 12 December 2005]

I thought we were able to add check-boxes, combo-boxes, etc to grids; however, I do not find any samples or documentation on it. All I found was the ability to add a bitmap and capture click events on the bitmap.

What I need is a way to capture a double click or put a check box in a cell to use as a toggle for one of my entry fields in the grid.

A combo-box would be nice too on some of my other fields.

Any ideas ?

Patty
I found that problem some weeks ago, what i do is to create a mini-window with a listbox under the exact cell in certain columns when begin-entry occurs, of course filling the listbox with the values that can be used in that cell. It looks like a combo box (you must to take care of the vscroll and hscroll pos values to get the mini-window in the exact cell)