[Fxruby-users] WorkAround :-)!
Status: Inactive
Brought to you by:
lyle
From: Joseph <rub...@te...> - 2004-06-23 01:12:49
|
Hi List. I've found a work-around for my original problem. I was using the SEL_CONFIGURE event to be notified of modifications to the size of the window, so that I would be able to recalculate and reset the size of columns in an FXTable, based on the value of self.width (self here being the parent window, i.e. the main window). The default behavior of FXTable is to resize itself, but without resizing the columns. At the time the main window received the SEL_CONFIGURE notification, its width had not yet been set to the new size of the window. I now discovered that if I hook into the FXTable SEL_CONFIGURE message instead of the main window's SEL_CONFIGURE, then, by the time the FXTable is notified, the self.width value of the parent window (i.e. the main window) has already been set to the new size. Perhaps somewhat coincidental, but it appears to work consistently. One down, many more to go .... Joseph |