Kbase 14140: Overlaying Browse Cells with toggle boxes Version 8 ( v8 )
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Overlaying Browse Cells with toggle boxes Version 8 ( v8 )
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.
Beta Note: scroll-notify is not an available event in the first
phase of Beta--it will be available in Beta 2.
Progress Software Technical Support Note # 14140