Re: [perl-win32-gui] Tables, grids, etc.
Bryan wrote: Hi. A while back someone asked about the possibility of displaying data in a table or grid format. I was wondering if any information on that had surfaced since the post? I saw mention in the archives of a GridLayout module, anyone know where I can find some more info on that? I'm working on a program that requires that format of data display and I'm stumped as to how to go about doing it. Any info on the topic would be appriciated. Thanks. hi Bryan, I'm afraid there's no such "native" control in the Win32 environment. my best guess is to use a multicolumn ListView, with a DialogBox to edit an entry's fields... another chance would be that I write a custom control in VC++, but you need a huge amount of patience :-) there's also a very remote possibility that I'll look into integrating ActiveX controls (eg. VisualBasic's ones); but as of now, it is beyond my horizon. bye, Aldo Calpini [EMAIL PROTECTED]
RE: [perl-win32-gui] Tables, grids, etc.
Hi Mike, Where's your GridLayout module? Thanks, Phil Larson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Kangas Sent: Tuesday, April 13, 1999 10:05 AM To: [EMAIL PROTECTED] Subject: Re: [perl-win32-gui] Tables, grids, etc. Here is a GridLayout module that I based on Java's GridLayout Manager. This only goes on top of Win32::GUI. So there are two things to consider. That is declare the 'widget' width and height before declaring its placement with the '-left' and '-top' AND make up for when declaring the GridLayout::new the parmaters are. $grid = GridLayout::new(3,4,400,300,5,0); 3 - columns 4 - rows 400 - window width 300 - window height 5 - xPadding( space between widget and cell border ) 0 - yPadding sample declaration --- $win-AddLabel( -name = "label1", -width = $grid-width(35), -height = $grid-height(11), -left = $grid-column(1, "l"), # 1st column, left aligned -top = $grid-row(1, "t"), # 1st row, top aligned -text = "Label 1", ); i have had to 'play' with the widget sizes to get things exactly where i want them but this module at least does a good job of putting things pretty close to where I want them right away which makes the 'futsing' a lot easier. Hope someone finds it useful... Any ?'s -- [EMAIL PROTECTED] Later all, Mike Kangas Bryan wrote: Hi. A while back someone asked about the possibility of displaying data in a table or grid format. I was wondering if any information on that had surfaced since the post? I saw mention in the archives of a GridLayout module, anyone know where I can find some more info on that? I'm working on a program that requires that format of data display and I'm stumped as to how to go about doing it. Any info on the topic would be appriciated. Thanks. -Bryan
RE: [perl-win32-gui] Tables, grids, etc.
Never mind, I saw both your's and Aldo's post. Thanks to both, Best wishes to you Aldo, Phil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Philip A. Larson Sent: Wednesday, April 14, 1999 12:12 AM To: [EMAIL PROTECTED] Subject: RE: [perl-win32-gui] Tables, grids, etc. Hi Mike, Where's your GridLayout module? Thanks, Phil Larson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Kangas Sent: Tuesday, April 13, 1999 10:05 AM To: [EMAIL PROTECTED] Subject: Re: [perl-win32-gui] Tables, grids, etc. Here is a GridLayout module that I based on Java's GridLayout Manager. This only goes on top of Win32::GUI. So there are two things to consider. That is declare the 'widget' width and height before declaring its placement with the '-left' and '-top' AND make up for when declaring the GridLayout::new the parmaters are. $grid = GridLayout::new(3,4,400,300,5,0); 3 - columns 4 - rows 400 - window width 300 - window height 5 - xPadding( space between widget and cell border ) 0 - yPadding sample declaration --- $win-AddLabel( -name = "label1", -width = $grid-width(35), -height = $grid-height(11), -left = $grid-column(1, "l"), # 1st column, left aligned -top = $grid-row(1, "t"), # 1st row, top aligned -text = "Label 1", ); i have had to 'play' with the widget sizes to get things exactly where i want them but this module at least does a good job of putting things pretty close to where I want them right away which makes the 'futsing' a lot easier. Hope someone finds it useful... Any ?'s -- [EMAIL PROTECTED] Later all, Mike Kangas Bryan wrote: Hi. A while back someone asked about the possibility of displaying data in a table or grid format. I was wondering if any information on that had surfaced since the post? I saw mention in the archives of a GridLayout module, anyone know where I can find some more info on that? I'm working on a program that requires that format of data display and I'm stumped as to how to go about doing it. Any info on the topic would be appriciated. Thanks. -Bryan