--- In [email protected], "Sheri" <[EMAIL PROTECTED]> wrote:

> I neglected to mention the ini file format sets horizontal and
> vertical offsets. Apparently they are not accounted for by
> win.getrect. I found that it works if I name those in NewProperties
> (same offset figures that are in the ini file with RightCaption)
> 
> local myrec=win.getrect(bname)
> cl.NewProperties(bname, "Format1=Position: Floating HOffset: -40
> VOffset: 32")
> win.setrect(bname, myrec)
> 
> in order to use cl.setrect it needs:
> cl.setrect(bname, word(myrec, 1, " "), word(myrec, 2, " "),
> word(myrec, 3, " "), word(myrec, 4, " "))
> 
> No need to close and reshow the bar with either of the setrect
> alternatives.
> 

Its not doing what I hoped. The ini file has a ContextIf that ties the
bar to a specific active program/window. If (after the bar has been
made floating) I move it using its Drag item, then activate another
window, the bar's current postition is not retained when the original
window is reactivated. It is still "floating" but its returned to the
original position.

Regards,
Sheri

Reply via email to