Hello Everyone

For reasons unknown to me, the following handler does not increase the height of the window to 538 when it is about to be displayed as a drawer.

        Greg

drawer theStack

on preOpenStack
  if the mode of this stack is 13
  then
    revChangeWindowSize 261,538
    set the scrollbarWidth of fld "Hit List" to 12
  else
    revChangeWindowSize 720,440
    set the scrollbarWidth of fld "Hit List" to 16
    set the loc of this stack to the screenLoc
  end if
  revUpdateGeometry
end preOpenStack

So I have to close it with the desired drawer size instead.

on closeStack
  lock screen
  revChangeWindowSize 261,538
  revUpdateGeometry
  save this stack
end closeStack

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to