Some question

I am making a program and get some trouble here

  1. how do I close all opened child window in mdi form?
  2. I cannot disable menu_item, perhaps I use .enable false the wrong
    way?

hi hendra

On 18/09/2010 03:09, hendra kusuma wrote:

  1. how do I close all opened child window in mdi form?

Untested, but maybe something like

while child = mdi_parent.active_child
child.close
end

  1. I cannot disable menu_item, perhaps I use .enable false the wrong way?

MenuBar#enable(menu_item_id, false)

hth
alex