From: Piske, Harald <Harald.P<iske@bo...> - 2002-04-05 05:52:53
Dude ... you call &settings from an event handler and $Window2->Dialog();
from &settings. That's asking for trouble. Define all your windows and
widgets somewhere. Then call
once and only once from the main thread. There has been a recent posting on
how to handle more than one window with still just one Dialog() call.
Remember, as long as one event handler (like your Settings_Click) is avtive,
no other event can get handled. Which may be the reason why your window
freezes - since you call Dialog() inside the event handler, that handler
routine never returns control to the first Dialog() call. I'm not sure if
that's really what happens, I don't have the time to test it.
>> and (i think this is the last one) is it possible to make the widgets
>> like in tk?
>dunno what it means...
sticky mainly refers to which sides the widgets should "stick" to when
resized. so if i have a listview which is -sticky => 'ew' then when it gets
resized it should stretch to fit across the screen (as in east and west,
left and right) but the vertical size would stay relative to how much the
window was resized. i hope thats a good enough explanation.
Get latest updates about Open Source Projects, Conferences and News.