[perl-win32-gui-users] Re: displaying an empty Grid?

2003-07-11 Thread tivolinewbie
You are quite right it was the Autosize thing that did it. I removed them all and its working fine now. Great detective job! - Hi, When i try to show a empty grid, i don't have small cells like you. Do you call AutoSize between AddGr

[perl-win32-gui-users] (no subject)

2003-07-11 Thread tivolinewbie
Thanks for your reply. I call Autosize at a few places in the code, so I guess maybe that's the cause, I will have to recheck. By the way I think your attached sample didn't show up in the message, perhaps again its being removed by the listserver. It might be better just to cut and paste it into

[perl-win32-gui-users] Re: RE: using Win32::GUI::Grid

2003-07-11 Thread tivolinewbie
Thanks for your reply. U mentioned an attached file,but I don't see it. I think the listserver stripped away the attached file. Maybe if you can cut and paste it into the message that might work. -- My previous message was unfinished ;o) Th

[perl-win32-gui-users] displaying an empty Grid?

2003-07-08 Thread tivolinewbie
I wonder what the behaviour of the Win32::GUI::Grid should be if you have created a grid and before you do anything with it you just want to set it on $Grid->Show This is what I have observe. WHen I launch my program up, I have to connect to a database, ie. this picture. http://www.geocities.com/c

[perl-win32-gui-users] using Win32::GUI::Grid

2003-07-07 Thread tivolinewbie
Hi Gurus, I am trying to use Grid.pm to display rows after rows of data I retrieve from a DB2 database. The problem is that I don't know how many rows I am going to be displaying ahead of time I need to do it dynamically. So I declare teh grid like this: my $Grid = $W->AddGrid ( -name=

[perl-win32-gui-users] dynamic changing color of item text in a list box?

2003-06-24 Thread tivolinewbie
Is it possible to change the text color of the item in the list box after it has been created? I have tried $ListBox->TextColor(0xff) as a test to no avail. It says this function doesn't exist. Seems weird to me as this sure is a useful function.

[perl-win32-gui-users] $ListBox->Select(0); ... $ListBox->Select(5);

2003-06-24 Thread tivolinewbie
I have created a Listbox with -multisel => 1 Afterwards the listbox is created, I offer the user a checkbox to allow him to select everything in the list box. So suppose the user click on the checkbox, I would to be able to get the listbox to highlight all the items in it. I have tried using $Li

[perl-win32-gui-users] newbie question: Persistent hourglass cursor upon startup

2003-06-24 Thread tivolinewbie
When my Win32::GUI program starts up it has the hourglass cursor, and that cursor won't go away until I hover the cursor over a TabStrip or over the StatusBar (which my apps currently have). Only by hovering over these magical properties will my cursor change to the arrow. I think this is a very

[perl-win32-gui-users] printing content of Listview?

2003-06-23 Thread tivolinewbie
I think I got my listview to work almost like I want it. I now feel a need to be able to print the content of the listview (as it is a report application) to a specified printer or at the minimum the default printer. I remember back in the days when I was programming Visual C++ that there were a

[perl-win32-gui-users] Multiple colours in a Listview items?

2003-06-18 Thread tivolinewbie
WOuld it be possible to have different colour inside a listview items? Lets say I displayed 30 rows of items ina list view, and wanted to have alternative rows to have different colours instead of one colour. How would I go about doing this? By the way what is the strategy for updating a listvi

[perl-win32-gui-users] Refreshing ListView with updated data?

2003-06-18 Thread tivolinewbie
I am having problems with updating a listview. It seems everytime I do a $LV->Hide and subsequently do a $LV->Show the thing act weird. It appears to put in a bunch of new columns headings as a result. That is column headings without any data underneath. The way I am doing it is, I create a Add