AW: [Fxruby-users] mdichild doesnt show up
Status: Inactive
Brought to you by:
lyle
|
From: Recheis M. <Mei...@av...> - 2003-09-09 12:25:17
|
ok, i found out;
one must specify a size. i generally am not very pleased, that the =
mdichildwindow doesn't resize itself according to the content size.
hi,=20
i am very mad that i can not make this work though i have much fxruby =
experiance allready.=20
now i try to calm down and write a message=20
#-------=20
require 'fox'=20
include Fox=20
app =3D FXApp.new("", "")=20
window =3D FXMainWindow.new(app, '...', nil, nil, DECOR_ALL, 0, 0, 200, =
100)=20
client=3DFXMDIClient.new window, LAYOUT_FILL_X|LAYOUT_FILL_Y=20
child=3DFXMDIChild.new client, 'child' , nil, nil, 0, 0, 50, 50
client.setActiveChild child=20
# child.restore=20
app.create=20
window.show(0)=20
app.run=20
# ----=20
i expect the mdi child to show up now. but is doesn't=20
what s missing?=20
i don't understand the concept of the mdi client fully. what's the mdi =
menu for?=20
it seems to be okay to omit it. is it required? if so i don't understand =
why it is an extra class.=20
how do i get the mdi thing working?=20
- Henon=20
|