Skip site navigation (1) Skip section navigation (2)

Re: idea for comboimage

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "frank_lupo" <frank_lupo(at)email(dot)it>
Cc: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: idea for comboimage
Date: 2002-08-22 15:09:54
Message-ID: 03AF4E498C591348A42FC93DEA9661B86713@salem.vale-housing.co.uk (view raw or flat)
Thread:
Lists: pgadmin-hackers
That's good... I'll add it to the To-Do.
 
Regards, Dave.

	-----Original Message-----
	From: frank_lupo [mailto:frank_lupo(at)email(dot)it] 
	Sent: 22 August 2002 13:21
	To: Dave Page
	Cc: pgadmin-hackers
	Subject: Re: [pgadmin-hackers] idea for comboimage
	
	
	> Hmm, still doesn't help. I fiddled around with it and found
that this
	> works a treat:
	> 
	> Option Explicit
	> Private Sub Form_Load()
	> Dim ii As Integer
	> 
	>     ImageCombo1.ComboItems.Clear
	>     For ii = 1 To 10
	>         ImageCombo1.ComboItems.Add ii, "key" & ii, ii &
"pippo", 1
	>     Next
	> End Sub
	> 
	> Private Sub ImageCombo1_KeyPress(KeyAscii As Integer! )
	= D 
	> Dim bInCombo As Boolean
	> Dim ii As Integer
	> Dim lLen As Long
	> Dim szKeyAsciiPress As String
	>         
	>     If KeyAscii <> vbKeyReturn Then
	>         szKeyAsciiPress = LCase(Chr(KeyAscii))
	>         lLen = Len(szKeyAsciiPress)
	>         bInCombo = False
	>         For ii = 1 To ImageCombo1.ComboItems.Count
	>         &! nbsp;&nbs p ;  If
LCase(Left(ImageCombo1.ComboItems(ii).Text, lLen)) =
	> szKeyAsciiPress Then
	>                 bInCombo = True
	>                 ImageCombo1.ComboItems(ii).Selected = True
	>                 Exit For
	>             End If
	>         Next
	>       End If
	> End Sub
	> 
	> What would be real! ly n i ce though, is if the combobox were
unlocked, it
	> did a sort of auto-complete type thing. There are some places
where the
	> box is unlocked to allow the user to type in stuff themselves.
	> 
	> Regards, Dave.
	> 
	> -----Original Message-----
	> From: frank_lupo [mailto:frank_lupo(at)email(dot)it] 
	> Sent: 22 August 2002 09:29
	> To: Dave Page
	> Cc: pgadmin-hackers
	> Subject: RE: [pgadmin-hackers] idea for comboimage
	> 
	> 
	>&nb! sp;if&nbs p ;you modify result timer "Timer - vTimer >
0.6" is not necessary press
	> a key twice
	> 
	> 
	> 
	> Hi  Frank,
	> That  just about fixes it, but I still find that sometimes
(can't see a
	> pattern) I have to press a key twice to get the right  value.
	> Regards, Dave
	> 
	> 
	> Bye !! Frank Lupo (Wolf) !! 
	> ----
	> Prendi GRATIS l'email universale che... risparmia: clicca qui 
	>&nb s p; 
	> Sponsor:
	> Con questo elettrostimolatore in soli 10 minuti potete
esercitare circa
	> 600 volte i vostri addominali. Vieni a Scoprire Ab Gymnic!
	> Clicca qui 
	> 
	> ---------------------------(end of
broadcast)---------------------------
	> TIP 4: Don't 'kill -9' the postmaster
	> 
	 
	 
	 
	Ok. Final solution
	I have found a class http://www.planet-source-code.com/ that it
resolves all problem
	 
	Bye !! Frank Lupo (Wolf) !! 

	----
	Prendi GRATIS l'email universale che... risparmia: clicca qui
<http://www.email.it/cgi-bin/start?sid=3>  
	
	Sponsor:
	Partecipa al QX Concorso e vinci ricchi premi!
	Iscriviti gratis a QX Service e richiedi un artigiano o un
professionista
	per vincere fantastici Premi: Lettori Dvd, Micro Hi-fi e
Radioregistratori
	con CD Philips!
	Clicca qui
<http://adv2.email.it/cgi-bin/foclick.cgi?mid=540&d=22-8>  
	

pgadmin-hackers by date

Next:From: Howard Rule BagcatDate: 2002-08-30 21:35:50
Subject: Re: Welcome to the pgadmin-hackers mailing list!
Previous:From: frank_lupoDate: 2002-08-22 12:21:07
Subject: Re: idea for comboimage

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group