| 
      
      
      From: Frazier, J. J. <Joe...@Pe...> - 2001-09-28 11:15:58
      
     | 
| That actually did it!  Thanks.    I have so much time spent on this
application that converting it to use GUILoft would not be an easy
option.   I am however, using GUILoft for all new projects.  By
autofill, I mean that if I have five lines in the Combo which start with
"i", if I put focus on the combobox and press "i", the combobox
populates the first entry which starts with "i".   If I press "i" again,
it populates the second entry with "i".  If, for example I am on the
last entry which starts with "i", and press it again, it populates the
first entry again.  =20
Anyway, Thanks for the help!
Joe Frazier, Jr
Technical Support Engineer
PeopleClick
919-645-2916
joe...@pe...
=20
-----Original Message-----
From: Johan Lindstrom [mailto:jo...@ba...]
Sent: Thursday, September 27, 2001 4:54 PM
To: per...@li...
Subject: Re: [perl-win32-gui-users] Combobox
At 15:52 2001-09-27 -0400, Frazier, Joe Jr wrote:
>What are the options for Combobox?  I have two applications which use a
>combobox.  One created manually and one using GuiLoft.  The one with
>GuiLoft does an an Autofill, however, the one made manually does not.
Eh... what is an Autofill?
>Example:
>
>$Window->AddCombobox(
-snip-
>    -addstyle  =3D> WS_VISIBLE | 2 | WS_VSCROLL,
>);
This looks like it is a combo with style CBS_DROPDOWN (the 2). In The
GUI=20
Loft, that is analogue to setting the Type property to "drop combo".
But from your description of how The Gui Loft version works, the Type=20
property is set to "drop list". The Win32::GUI code would look like
this:
     -addstyle =3D> 0x0003,                #CBS_DROPDOWNLIST
The third type of Combobox is Type: "simple combo", or
     -addstyle =3D> 0x0001,                #CBS_SIMPLE
If anyone is interested, how each type of control in The GUI Loft is=20
created can be viewed in the files in=20
.../PPM/Loft/lib/Win32/GUI/Loft/Control/ in the source distribution:
http://www.bahnhof.se/~johanl/perl/Loft/
In some situations it may be helpful just to be able to see the relevant
constants and stuff, even if you don't put any effort into understanding
the rest of the code.
/J
------ ---- --- -- -- -- -  -   -    -        -
Johan Lindstr=F6m                    Boss Casinos
Sourcerer                     jo...@ba...
                  http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail=20
_______________________________________________
Perl-Win32-GUI-Users mailing list
Per...@li...
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
 |