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

[REBOL] first time poster w/ questions.

From: jeremiah::whitehatsec::com at: 12-Dec-2001 16:37

Hello, list... been lurking for couple of weeks now while trying get a feel for Rebol. I must say so far, I really like it... makes a ton of things really fast and easy. Hopefully I can create some cool stuff.... anyway... While coding a few mini-projects, Ive run into a few problems that I havent been able to find answer to elsewhere. Their prolly pretty easy, just cant find the right documentation. 1) In a GUI interface, lets say I have a button.. main: layout [ button "The Answer" ] and I want the button when clicked to add a text field to the window. similar to. field "Text Here" so far it seems I have to predefine everything I want to display. But what if I dont know till later how many text fields I need until the GUI is operating? Any way to dynamically add VID objects? 2) Lets say I have a window thats 200x100. main: layout [ size 200x100 ] Now I want to add a bunch of text or fields and other stuff vertically, but there isnt enough space and it bleeds off the edges. main: layout [ size 200x100 vh2 "Testing Text" field "A text field" vh2 "Testing Text" vh2 "Testing Text" field "A text field" vh2 "Testing Text" ] Questions is, how do I get the window itself to scroll either vertically or horizontally so I dont have to alter the window size? I really appreciate any help. Thanks, Jeremiah Grossman