Piotr
What is the interface requirement, maybe we can provide a better
option?
Rob Sleath
CPD
-- Please post in newsgroup, not via email --
Using Open or OpenWithParm will produce the expected response window
behavior, and it will still have the frame as its parent.
Piotr Zielinski wrote in message ...
Hope you understood my problem.
PZ
// Script to open window
IF NOT ib_window_opened THEN
OpenSheet( ... )
ib_window_opened = TRUE
END IF
// end of script
When a sheet is closed, set the boolean to FALSE so that a sheet can be
opened again.
Piotr Zielinski <ziel...@ii.pw.edu.pl> wrote in article
<LyVAppl$9GA...@forums.powersoft.com>...
In your frame menu:
Instance variables:
menu im_items[]
boolean ib_enabled[]
Function mf_DisableAll(boolean ab_disable):
menu lm_empty[]
boolean lb_empty[]
integer i, li_max
if ab_disable then
im_items = lm_empty
ib_enabled = lb_empty
li_max = this.mf_GetItems(this)
else
li_max = UpperBound(im_items)
end if
for i=1 to li_max
if ab_disable then
im_items[i].enabled = FALSE
else
im_items[i].enabled = ib_enabled[i]
end if
next
Function integer mf_GetItems(menu am_menu)
integer i, li_max, li_next
li_next = UpperBound(im_items)
li_max = UpperBound(am_menu.Item)
for i=1 to li_max
li_next++
im_items[li_next] = am_menu.Item[i]
ib_enabled[li_next] = am_menu.Item[i].enabled
if UpperBound(am_menu.Item[i].Item) > 0 then
li_next = mf_GetItems(am_menu.Item[i])
end if
next
return li_next
HTH
Simon
Piotr Zielinski wrote in message ...