M0E Lnx ha scritto:
> Modified it and this time it does work
>
> PUBLIC SUB lbTmZone_KeyPress()
>
> DIM i AS Integer
>
>
> IF Key.text > "z" OR Key.text < " " THEN RETURN ' not searchable
>
> i = lbTmZone.Index
> DO
> INC i
> IF i >= lbTmZone.Count THEN i = 0 'back
Modified it and this time it does work
PUBLIC SUB lbTmZone_KeyPress()
DIM i AS Integer
IF Key.text > "z" OR Key.text < " " THEN RETURN ' not searchable
i = lbTmZone.Index
DO
INC i
IF i >= lbTmZone.Count THEN i = 0 'back to top
IF i = lbTmZone.Index TH
I can see in my head how this *should* work... but I tried it in my
project and it doesn't
On Thu, Oct 9, 2008 at 1:17 AM, Doriano Blengino
<[EMAIL PROTECTED]> wrote:
> M0E Lnx ha scritto:
>> is there a way to code it in my key_release event?
>>
>> On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini
M0E Lnx ha scritto:
> is there a way to code it in my key_release event?
>
> On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini
> <[EMAIL PROTECTED]> wrote:
>
>> On mardi 07 octobre 2008, M0E Lnx wrote:
>>
>>> I have a really long list in a lisbox. I'd like to make it so when I
>>> press "s" o
is there a way to code it in my key_release event?
On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini
<[EMAIL PROTECTED]> wrote:
> On mardi 07 octobre 2008, M0E Lnx wrote:
>> I have a really long list in a lisbox. I'd like to make it so when I
>> press "s" on the keyboard, it jumps to the first item
On mardi 07 octobre 2008, M0E Lnx wrote:
> I have a really long list in a lisbox. I'd like to make it so when I
> press "s" on the keyboard, it jumps to the first item whose text
> starts with an "s" or any other letter for that matter.
>
> Can someone suggest a way to do this?
>
Yes, Qt does that
I have a really long list in a lisbox. I'd like to make it so when I
press "s" on the keyboard, it jumps to the first item whose text
starts with an "s" or any other letter for that matter.
Can someone suggest a way to do this?
-