1. RE: EUCom -- Grid.ew
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 11, 2001
- 376 views
> -----Original Message----- > From: Judith [mailto:camping at txcyber.com] > I've been looking at Matt's EUCom's grid.ew and the related > exw example > in anticipation of adding grid.ew and supporting statements to IDE. > > Question1: May grid reside on TabItem? I've added it there, > but when I > switch tabs, it shows on all the tabs. > Question2: If this is allowed, what do I need to do to show the grid > only on one of the tabs? It should work fine, however, there are a few things to keep in mind. Right now, an ActiveX control is not a win32lib control, meaning that win32lib doesn't know about it, and can't manipulate it directly. Once v.56 is released, it will be easier to add controls to win32lib, and I plan to port ActiveX.ew to win32lib. In order to use an ActiveX control on a tabitem, you'll need to manually set the control (in)visible. Normally, win32lib takes care of this for you. Matt Lewis
2. RE: EUCom -- Grid.ew
- Posted by Judith <camping at txcyber.com> Jun 11, 2001
- 356 views
Thanks for replying Matt, If you mean by adding a setVisible( my_sgrid, False) statement into the onClick routine_id procedue for the TabItems the grid is NOT on, it doesn't work. Judith Matthew Lewis wrote: > > > -----Original Message----- > > From: Judith [mailto:camping at txcyber.com] > > > I've been looking at Matt's EUCom's grid.ew and the related > > exw example > > in anticipation of adding grid.ew and supporting statements to IDE. > > > > Question1: May grid reside on TabItem? I've added it there, > > but when I > > switch tabs, it shows on all the tabs. > > Question2: If this is allowed, what do I need to do to show the grid > > only on one of the tabs? > > It should work fine, however, there are a few things to keep in mind. > Right > now, an ActiveX control is not a win32lib control, meaning that win32lib > doesn't know about it, and can't manipulate it directly. Once v.56 is > released, it will be easier to add controls to win32lib, and I plan to > port > ActiveX.ew to win32lib. > > In order to use an ActiveX control on a tabitem, you'll need to manually > set > the control (in)visible. Normally, win32lib takes care of this for you. > > Matt Lewis > > > >
3. RE: EUCom -- Grid.ew
- Posted by Kat <gertie at PELL.NET> Jun 11, 2001
- 381 views
On 11 Jun 2001, at 8:12, Matthew Lewis wrote: > It should work fine, however, there are a few things to keep in mind. Right > now, an ActiveX control is not a win32lib control, meaning that win32lib > doesn't > know about it, and can't manipulate it directly. Once v.56 is released, it > will > be easier to add controls to win32lib, and I plan to port ActiveX.ew to > win32lib. > > In order to use an ActiveX control on a tabitem, you'll need to manually set > the > control (in)visible. Normally, win32lib takes care of this for you. Please tell me that in the future, to use win32lib, we won't be required to have activex... Kat
4. RE: EUCom -- Grid.ew
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 11, 2001
- 389 views
> -----Original Message----- > From: Kat [mailto:gertie at PELL.NET] > Please tell me that in the future, to use win32lib, we won't be > required to have activex... Absolutely not. But the rest of us will be able to use ActiveX with win32lib. :P Matt Lewis
5. RE: EUCom -- Grid.ew
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 11, 2001
- 373 views
> -----Original Message----- > From: Judith [mailto:camping at txcyber.com] > > Thanks for replying Matt, > > If you mean by adding a setVisible( my_sgrid, False) > statement into the > onClick routine_id procedue for the TabItems the grid is NOT on, it > doesn't work. > > Judith Since it's not a win32lib control (yet), you can't use the win32lib routine. Try using set_visible_ax. setVisible just calls sendMessage, but since win32lib doesn't have the handle to the ActiveX control, it won't work. Matt Lewis