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

[REBOL] Re: [View // Face] Event redirection within face hierachies

From: reblist::codeconscious::com at: 20-Jun-2004 13:44

I don't think you can redirect/modify a value having the Event! type, but I also don't think you need to for this application. I'd hazzard a guess that you can do the things you described right now, but can not say whether the technology involved or your design is suitable/reliable enough for such a high saftey related item as you have described (esp. if the pilot needs to use the application in-flight). There is a demo draw program ("paint" ?) by frank that shows how lines can be dynamically drawn. You might be able to make a single face that incorporates the drawing functionality you need. Check out the Detect function of the Feel Object in View. It has the ability to receive events, handle them, pass them through and/or drop them. Also check out the Insert-event-func function which has the same properties as Detect but sits at the application level. See ( do http://www.codeconscious.com/rebsite/view-notes.r ; "global level events"). Look into iterated face (or what I've called "calculated panes" in that rebsite link above). These may provide a different sort of flexibility for your application, don't assume all the iterations have to appear linearly. Below is a compressed script that demo's a dial based on an iterated face. Cheers, Brett. #{ 789CAD57DB6E1B37107DD67EC5C42FB9C0BAD84D1B74D324702A0376D1368513 342D043D504BCA62BD4B2E48AE25D5E8BFF70CB92B4B561EDA5886BC5A91C3E1 70E6CC99E1D5F9FB0F3FD324EB9D3561615D4E47EF9D0A812E8491A55A1F65BD B1082AA7D351FFA7C6F44F47A39759EFB7C6D5D663F468AC2A6B7C7090216148 07C5AF92E6A250E4C3BA5403A8F8D156953221A7BBACD7FBB45024B528A9B04D 2969A6A87656360556355E9B6B1A5F9D7D26359FAB2210B42D94A3B080F234BB B3851FD0D8F2A8B7B46475D02FCAD22EA33106A2CA079E2F6C550BA7BD3564E7 50A7B0AF51731D3C2425A63DDE30A344B12051C322BC0CFEC9A659C6A7D07FAB 61253CF4C15559AF1646F5E78D29FA7C909C8473D812BE59E19FAE9D58D35287 4594EDBDA6FED7FF250597F1CC1AC6F3A131C44EC8C958A392C0C7609DB85634 B70EDE54FD429445534637D5F04FF00388D5C1DFAF7131AAAF1E6F20AFE790B2 4F487862B7B0A983431C9D95E651254D22A4B42484B429C33439F7D1C643C1E7 8532742949030B388676C704401BCFFE8B50E1310A3661CA0761608869AA9972 49019C8E9C699C8ADE253DC7F7BDA45A690697088CE290E23178BCE9AC013BB1 6DEFD82D131EE8C5BD03CD4A5BDCBC8B681922EC3489F69968DF340A3A552B58 A3A954E63A2CB665E33C6B620C6B13B577B3C35CA77746E0D0232F3AF95E1C96 22881C5A877B7A5BA99953E266D89AA3D360B2A8B36B636816070F1AE4310799 1DD405BADD8EA3AC77928CC43C74F1F520C4443D1CC6E0F4AC09CA83341CB058 5B237912F800817ACE016F0BCDB997564726E00D2EC703BA4AFBFDDAE2240DB3 51DADC8A128E7E962C82C6B43A4A2E90572CDA922278CA075BD771DB6DCB9F1F 0E57D1496549938750828D3FBCD98BEE741F62F730B1F3395C986F8348EE4A14 B6E4DAF3ED68103F3CD9C0959350D5D316607805D14A4910A00A0CA0EB72BD8F 5E61D63481FD4CFED7CAB5330C4B9AF0734AA3699729F17C2991DF5114898FB7 34E253BE7DC3316DF53CD96C1D455E7CC901D97D1A6C1FEA74FB5471DF6E1768 9BEC893B75AB1CCEFE60622B47E24327744E0F43E09746075432ED238C0EC1DC A8A10A85554371F24C2A5995B851F1D18F49F674665734611AC9E9E464F58A1E 00619A8E98F5A63457AA3C44418D64A01179A7365532B17C2C94A903F00BBB3C 4801734A3AB1EC4A18FBE1EE47C00E7559A325924C1340F14CA170272B5295F3 C4CB0C3D6343CC312DB494CA305DCD41390B259F0FE88CFB1C063C810AAC0B0D 5CBD66C85656EAF97A9BA9DA968775A3A769414A779FBAFDECEC2FE695996246 49269B2428622DA7BB33B4574EA60AA641788560BDACB4958833B6281A70A224 6B361BE6B19F3BA68F171FF0BCB81C9F27CD682075D2CD66FCD1FF9336235BE6 7624D9B9A5EBFEA28E36E720F294FD446F3A63522A460631848E4148DDDC6768 FA99A309BDD592D1B842C2FB6686A20F27543A158058DC86ABADF77514DDAD7E C3BD81359D6E1141ECB9D01EA2233439BD7CD95AD0155FB3A99E92AB669F4E40 2DFD6FBE1BA1801AFCFCBE250D78EB466D713087990BD8138E165AE78D9ADE43 CA4A87DDB057FBF30577BC1A9545FEDF753BABA67BF57B7A384E6A9334467603 0104372628D897FBDD67F1E201C634E1F941F235E9DDC9D74B54FA94B24BF410 CCCEB1C8C44DC9DE5F4F045D9DC7AB8B6501FAF0FBF9554A081FDB7291D20FBD 3CCA39DFAD3C1295215A94BAB849EAFC31DDA8F5CC0AC7CC5937019DA8AE500E 8EE32DA5DD6C5DA7944E4BBE98D0311B375D03CB7D4D3AB3822EA5D3FA74E8B8 4F7A4D2DADB39C49202D15848EE46670E42A755362669BB0A57B3B755FEFF68D 6D46A2F996B6A293112E53FC60C90883F6F6C300C33F3E8F8BF76B1A6B5F97C8 4DB6CE174E29F34895D9AD56CBA1514B2AD73627E8E6C3E3AC41AD021DFD626F 1561C811E38251018C0B671B23A30D85760590C177665138EBFDC3BB263DF899 9AAEFF2895F5500E0242727421CA704413FE9AB21FA5ED273465FF02C6217DE7 10100000 }