Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: Rebol View - standard text-list
Pages: [1] Print
Author Topic: Rebol View - standard text-list  (Read 662 times)
jfdutcher
Jr. Member
**
Offline Offline

Posts: 95


View Profile
Rebol View - standard text-list
« on: February 24, 2007, 05:47:16 PM »

Does anyone have any idea how to prevent, or immediately reverse,  the 'hi-liting'
of the selected row after it has been clicked by the cursor in a standard View text-list?
Logged
DideC
Newbie
*
Offline Offline

Posts: 36


View Profile
Re: Rebol View - standard text-list
« Reply #1 on: February 25, 2007, 06:00:15 AM »

Picked values are stored in the 'picked member of the face object.
So you can clear it after you have done what you need to do.
Code:
view layout [
    text-list "a" "b" "c" "d" [
        ; here you do what you have to do with the picked value. Ie:
        print pick face/picked 1
        ; then you clear the list
        clear face/picked
        show face
    ]
]
Logged
jfdutcher
Jr. Member
**
Offline Offline

Posts: 95


View Profile
Re: Rebol View - standard text-list Thanks, it works very nicely
« Reply #2 on: February 25, 2007, 02:22:41 PM »

Thanks, it works very nicely....

John D.
Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: Rebol View - standard text-list
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 07:19:04 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2311 Posts in 595 Topics by 4139 Members
Latest Member: DietaVato

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc