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

[REBOL] Field bug ? (was Re: Pairs in fields...)

From: carl::cybercraft::co::nz at: 15-Oct-2002 10:09

Hi Anton, Thanks - I remember seeing it now. And it's showed me that the problem I was having had nothing to do with my script - as it's in yours too. The problem's with field itself. Enter the following at the console... test-lo: layout [ field "aaa" 60 field "bbb" 60 ] view/offset layout [ button "Test" [view/new test-lo] ] 20x200 click on the "Test" button and then add some text to the first field untill it scrolls the "aaa" out of view. Then, without pressing Enter, close the window and click on the "Test" button to open it again. After I do that the "bbb" in the second field is no longer visable. This is with...
>> about
REBOL/View 1.2.1.1.1 21-Jun-2001 Is it the same with the new beta Views? Carl. On 15-Oct-02, Anton wrote:
> Yes, my pair edit doesn't use the control key > though, it just uses double-click and single-click > to switch modes (typing and dragging). > Do this to see an example: > http://www.lexicon.net/anton/rebol/gui/demo-pair-edit.r > or you can go there via the Desktop: > REBOL.com/Sites/Anton/gui/demo-pair-edit.r > Anton. >> I think Anton did something like this. Perhaps it is on his >> rebsite. >> Regards, >> Brett. >> ----- Original Message ----- >> From: "Carl Read" <[carl--cybercraft--co--nz]> >> To: "REBOL List" <[rebol-list--rebol--com]> >> Sent: Saturday, October 12, 2002 11:47 PM >> Subject: [REBOL] Pairs in fields... >> Hi all, >> I've a layout that requires you to enter pairs into fields and I >> thought it'd be good if the x and y values could be increased and >> decreased by pressing Ctrl and the cursor keys, while still >> allowing normal editing. However, my attempts at working out a >> feel for this have so far failed, I not being able to prevent it >> from effecting other fields. Any suggestions for how to go about >> this? >> -- >> Carl Read
-- Carl Read