[perl-win32-gui-users] tabstrip

2008-06-09 Thread Brian Rowlands (Greymouth High School)
Hi I've created a tabstrip and want to add a button to a tab but seem unable to fathom out the precise syntax. Can someone guide me please? I have: $tabs = $main->AddTabStrip ( -name => "tab", -left => 150, -top => 10, -width => 700, -height=> $height - 200, ); $tabs->InsertItem( -name=> "st

Re: [perl-win32-gui-users] richedit formatting

2008-06-04 Thread Brian Rowlands (Greymouth High School)
MAIL PROTECTED] Sent: Tuesday, 3 June 2008 11:15 p.m. To: Brian Rowlands (Greymouth High School) Subject: Re: [perl-win32-gui-users] richedit formatting On Tue, Jun 3, 2008 at 6:32 AM, Brian Rowlands (Greymouth High School) <[EMAIL PROTECTED]> wrote: > Is that the solution? If so, how

[perl-win32-gui-users] richedit formatting

2008-06-03 Thread Brian Rowlands (Greymouth High School)
Hi Another day and another question. Hope some one can shed some light on a niggling problem I'm trying to layout text in a RichEdit window and find that the layout with tabs doesn't give me nice neat columns of text. My thoughts are to use a mono spaced font (using Windows XP). Is that the solu

[perl-win32-gui-users] DateTime format

2008-06-01 Thread Brian Rowlands (Greymouth High School)
Hi I've put a Win32::GUI::DateTime control on a GUI application I'm putting together but I'm a bit stuck on how to use SetFormat(). Can someone point me to a reference that outlines the various format strings that can be used to present the date? In particular, I'd like to have the date presente

Re: [perl-win32-gui-users] Window doesn't appear until codehas finished

2008-04-23 Thread Brian Rowlands (Greymouth High School)
lto:[EMAIL PROTECTED] On Behalf Of Brian Rowlands (Greymouth High School) Sent: Wednesday, April 23, 2008 4:06 PM To: perl-win32-gui-users@lists.sourceforge.net Subject: [perl-win32-gui-users] Window doesn't appear until code has finished I'm writi

[perl-win32-gui-users] Window doesn't appear until code has finished

2008-04-23 Thread Brian Rowlands (Greymouth High School)
I'm writing a login gui in perl and I've got a mental block: I've created my gui: my $main = Win32::GUI::Window->new( -name => 'Main', -width => 600, -height => 400, -text => 'GHS Login', -sizable=> 0, -hasminimize => 0, -hasmaximize=>

[perl-win32-gui-users] Adminmisc and perl 5.10

2008-03-25 Thread Brian Rowlands (Greymouth High School)
Hi Folks I'm writing a login script for my school network and was planning on using adminmisc by Dave Roth as I need to use impersonation. Sadly, I can't find a perl 5:10 version and I'm not skilled enough to create one [ never done such before ]. Can anyone point me to a 5.10 version or offer ano

[perl-win32-gui-users] Adding a bitmap to a label

2007-10-16 Thread Brian Rowlands (Greymouth High School)
Hi there I'm resubmitting a variation on my previous cry for help (to which I got no answers sadly) but narrowed down to a specific point now. I've a win32 gui created using The GUI Loft and it has a label which I want to put a bmp on using perl. However, I can't find a way to put this image on

[perl-win32-gui-users] Putting a bitmap on a label

2007-10-14 Thread Brian Rowlands (Greymouth High School)
Hi I'm wanting to take an icon out of a SQLite database and paste it on a label in a Win32 GUI I've built using The GUI Loft. Sample code: # suck icon from SQLite database: my @array; my $dbh = DBI-> connect("dbi:SQLite:dbname=$datafile","","",{});# database handle my $sql = "SELECT icon FROM

[perl-win32-gui-users] Listview mental block

2007-09-19 Thread Brian Rowlands (Greymouth High School)
Hi all Enjoy reading all the help emails generated by this group so thought I'd ask for some help please with listview. I've used TheLoft to create a gui interface for a program I'm writing. A button I click is meant to read a selected line from a listview pane and display the results in a selecti

[perl-win32-gui-users] Radio Buttons

2007-06-13 Thread Brian Rowlands (Greymouth High School)
Hi folks I've a design with 8 radio buttons named rb7, rb8, ... rb14. What I want to do is determine which one has the focus. Can someone pease help me find an efficient way to do this please? Appreciate any help you can offer. Thanks Brian Rowlands We must accept finite disappointment, but we m

[perl-win32-gui-users] Tabstrip and clusters issue

2007-06-10 Thread Brian Rowlands (Greymouth High School)
Hi I have a tabstrip with several tabs and a cluster that should appear on tab index 3 only. When the gui runs the the cluster shows on index 0 which is the default tab on opening whereas it should be invisible on that tab. If I click on tab index 4, say, tab index 4 appears correctly and when I g

[perl-win32-gui-users] Deprecated Constants

2007-06-05 Thread Brian Rowlands (Greymouth High School)
Hi nice people I've written my first GUI using The GUI Loft and all works fine except I get the following warnings: 'use Win32::GUI;' is currently exporting constants into the callers scope. This functionality is deprecated. Use 'use Win32::GUI();' or list your required exports explicitly instead

[perl-win32-gui-users] Clusters

2007-06-04 Thread Brian Rowlands (Greymouth High School)
Hi folks I'm absolutely new to The Loft software but I've been playing with the product to design a screen for use in administration on my school network. One issue I have is over clusters and how they appear to work and I'm wondering if anyone can offer some "Pearls of Wisdom" - forgive the pun.