Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Menu Bars and Tool Bars

 [1/8] from: behrangsa::yahoo::com at: 11-Jan-2004 3:20


Hi I'm a Java developer and a REBOL beginner. I just wanted to know how can I add menu bars and tool bars to a REBOL view. Thanks.

 [2/8] from: greggirwin:mindspring at: 11-Jan-2004 8:56


Hi Behrang, BS> I'm a Java developer and a REBOL beginner. I just BS> wanted to know how can I add menu bars and tool bars BS> to a REBOL view. VID doesn't have menu or toolbar styles built in, though some people have developed their own. VID was meant for making it easy to build simple UIs, so there are things missing that people sometimes expect to be there. Some new styles will be added in View 1.3, but nobody can say, yet, exactly which ones. -- Gregg

 [3/8] from: antonr:iinet:au at: 12-Jan-2004 3:13


Carl wants to add a scrollable area style (that is, an area + scroller(s). He said that for sure. I am working on a scroll-area style. If it becomes good enough then it may be the official one. Anton.

 [4/8] from: antonr:iinet:au at: 12-Jan-2004 3:33


If you take your View Desktop to Rebol.com/sites/DocKimbel's: folder "DocKimbel's" http://rebol.dhs.org/index.r icon site info {Home of mySQL scheme, Win95 skin, Vector Balls demo, ...} You can menus implemented in the "Win95 skin" demo. It works on Rebol/View 1.2.1 but I saw an error in a quite recent beta. I think, as a rebol beginner, it's going to be difficult to understand, but, I'll let you have a look first. Anton.

 [5/8] from: behrangsa::yahoo at: 11-Jan-2004 9:36


Both Rebol and IE say that they cannot open that link you provided. It looks to be dead. Thanks. --- Anton Rolls <[antonr--iinet--net--au]> wrote:

 [6/8] from: juan-carlos:miranda:wanadoo at: 11-Jan-2004 19:05


Go to the rebsite called DocKimbel (without the 's) (http://rebol.softinnov.org/index.r) This one should work. :) Behrang Saeedzadeh wrote:

 [7/8] from: nitsch-lists:netcologne at: 12-Jan-2004 11:11


Hi Behrang, Am Sonntag 11 Januar 2004 12:20 schrieb Behrang Saeedzadeh:
> Hi > > I'm a Java developer and a REBOL beginner. I just > wanted to know how can I add menu bars and tool bars > to a REBOL view. > > Thanks. >
This looks ugly, but quick to code and works like menues and toolbars. (if you want submenues, your script is to long ;) [REBOL [ Title: "toolbarmenu" ] view layout[ across ;menues choice "*files*" "open" "close" "magic" "quit"[ do pick[ [alert "open"] [alert "close"] [alert "three wishes. only three!"] [quit] ] -1 + index? find face/data value ] choice "*find*" "find" "find next"[ do pick [ [alert "find"] [alert "find next"] ] -1 + index? find face/data value ] return ;toolbar btn "pressme"[alert "pressme was pressed"] btn "press me to"[alert "now all pressed?"] return area "here would be some data" ]] ;-volker

 [8/8] from: cybarite:sympatico:ca at: 12-Jan-2004 7:31


There were two bits of work to make a Win95 look and feel One by Frank at his FX5 site. I think his code is now "offline". And the other by Doc Kimble. Here is the quote from the REBOL site http://www.rebol.com/pre-view.html {Windows 95 Skin Size: 28 KB (multiple files) We were totally blown away when Doc Kimble sent us this program! It uses REBOL/View's GUI stylesheet mechanism to create an amazing new GUI skin that looks and feels like Windows 95. You can use this skin to make your REBOL applications have that traditional corporate look. It defines several new REBOL styles, including menus, tab panels, and more.} I started to put some of the both of these in the %vid-usage.r pages but have to find the updated copy of Doc's script to solve this error: {** Script Error: Invalid path value: 1 ** Where: view ** Near: pos: face/size - face/pane/1/size - }