Kbase P24985: Overlaying Browse Cells with toggle boxes
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/25/2003 |
|
Status: Unverified
GOAL:
Overlaying Browse Cells with toggle boxes
FACT(s) (Environment):
Progress 8.x
FIX:
In version 8 you are able to overlay a cell of a browse widget with a toggle-box. When you do so you must be careful in the placement of the toggle-box--using just the x and y coordinates of the cell are not enough as they define a position in the browse of the cell.
You must also add the position of the browse in the frame.
For instance:
toggle:x = self:x + browse:x.
toggle:y = self:y + browse:y.
Where self is the cell.
Also please note that when you put up a toggle box in this way, you will want to use the SCROLL-NOTIFY event to recalculate the x and y coordinates when scrolling is going to happen; otherwise the toggle position will not change.