Обсуждение: Re: 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)
=0 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
> &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 really 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@email.it]
> Sent: 22 August 2002 09:29
> To: Dave Page
> Cc: pgadmin-hackers
> Subject: RE: [pgadmin-hackers] idea for comboimage
>
>
> 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
----
Prendi GRATIS l'email universale che... risparmia: clicca qui
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