Page 1 of 1
Posted: Sat Jan 11, 2003 9:45 am
by BackupUser
Restored from previous forum. Originally posted by Umrof.
Hallo!
I have a listIconGadget with 1000 entrys. I see entry 1-10. Now I will see entry 600. How can i show the entry automatic. Is there a command for this "Auto-Scrolling" ?
Thanks for your help,
Umrof
Posted: Sat Jan 11, 2003 10:18 am
by BackupUser
Restored from previous forum. Originally posted by tranquil.
what happens if you use SetGadgetState(#ListviewGadgetID,600) ??
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
System: Windows 2000 Server, 512 MB Ram, GeForce4200 TI 128 MB DDR, Hercules Theater 6.1 DTS Sound
System 2: Mobile Pentium 4 2.4GHz 512 MB DDR GeForce4 420-32, Windows XP Home
Posted: Sat Jan 11, 2003 12:32 pm
by BackupUser
Restored from previous forum. Originally posted by Umrof.
When I used SetGadgetState, number 600 is marked, but I can't see it. I see number 1 to 10. I must use the Scrollbar to see it.
But I want to see it automaticaly, when number 600 is marked with SetGadgetState....I will set the state to 600 and the Gadget scrolls to this entry....
Any idea?
Umrof
Posted: Sat Jan 11, 2003 2:46 pm
by BackupUser
Restored from previous forum. Originally posted by horst.
SendMessage_(GadgetID(#ListView),#LVM_ENSUREVISIBLE,index,1)
where #ListView is your gadget number, index = 600
Horst
Posted: Sat Jan 11, 2003 3:43 pm
by BackupUser
Restored from previous forum. Originally posted by Umrof.
Works perfect! Thank you very much!