Can we assign a handle to a cell of an updatable browse widget in progress 4gl? I tried using get-browse-column but it only works for the first data of the column.
Asked
Active
Viewed 53 times
-1
-
Please explain what you're trying to do. Why do you want to assign a handle to a browse-column? – Mike Fechner Apr 10 '23 at 13:58
-
I want to change the background color of a particular cell of an updatable browse widget under some condition using handle. so, I want to assign a cell to a handle. – Abhinit Kumar Das Apr 11 '23 at 04:15
1 Answers
1
Something like this should do the trick ("z" is the browse handle):
function getBrowseColumnByName returns handle ( z as handle, n as character ):
define variable c as handle no-undo.
c = z:first-column.
do while valid-handle( c ):
if c:name = n then
leave.
else
c = c:next-column.
end.
return c.
end.

Tom Bascom
- 13,405
- 2
- 27
- 33
-
Thank You so much for ur response but this code assigns column to a handle. I want to assign a handle to a particular cell of an updatable browse widget . – Abhinit Kumar Das Apr 11 '23 at 04:17