Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: attempting to recreate an app in REBOL...
Pages: [1] Print
Author Topic: attempting to recreate an app in REBOL...  (Read 454 times)
Thør
Newbie
*
Offline Offline

Posts: 46


View Profile
attempting to recreate an app in REBOL...
« on: May 15, 2006, 04:27:36 AM »

Hi!

I'm attempting to recreate a VB app on REBOL. The VB app contains a tree-like menu on the left side, and on the right side, the app contains the result of whatever was chosen.

Could someone please post a link or sample code on how to do this? Thank you very much.

Logged
CarlRead
Full Member
***
Offline Offline

Posts: 105


View Profile
Re: attempting to recreate an app in REBOL...
« Reply #1 on: May 15, 2006, 06:09:46 AM »

View doesn't have a built-in tree-like menu - the closest style being the TEXT-LIST.  (There's bound to be a few tree-like styles made though - a search of http://www.rebol.org/ should find some.)

Doing what you want using TEXT-LIST would require something like this (for a flat list)...
Code:
menu: ["aaa" "bbb" "ccc"]
view layout [
    across
    text-list 100x100 data menu [
        results/text: first face/picked
        show results
    ]
    results: area 100x100
]

Hopefully that'll get you started.
Logged

- Carl Read
Thør
Newbie
*
Offline Offline

Posts: 46


View Profile
Re: attempting to recreate an app in REBOL...
« Reply #2 on: May 15, 2006, 07:12:43 AM »

Thanks for your reply. 

Will search some more... Cheesy
Logged
Pages: [1] Print 
Rebol Talk Forum  |  REBOL Discussions  |  REBOL View  |  Topic: attempting to recreate an app in REBOL...
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 07, 2008, 01:44:43 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2240 Posts in 584 Topics by 2210 Members
Latest Member: Wqmsewzb

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

RT design by Defiant Pc