ListView question

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by redacid.

Hi,

I just got my first Programm with a Listview to work.

But I have one question (atm...):

is it possible to move the bar (the selected ListView-Element)
within my program?

If you select an item of the List with a mouse-click it will be
be highlighted. But I want to highlight an item without a mouse-click.

Is this possible?

Windows Version 2.70.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by redacid.

no one? *sniff* :(
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by VPureBasic.
Hi,

I just got my first Programm with a Listview to work.

But I have one question (atm...):

is it possible to move the bar (the selected ListView-Element)
within my program?

If you select an item of the List with a mouse-click it will be
be highlighted. But I want to highlight an item without a mouse-click.

Is this possible?

Windows Version 2.70.

Hi,

Just Use the Function SetGadgetState( #Gadget,#Item )

Roger
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by redacid.

oh, man...

I can`t believe that the solution is *so* simple...
in fact it was too simple and obvious for me :)

Thank you very much!!!!
Post Reply