World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Volker 30-Oct-2005 [2219] | Thanks :) |
OneTom 30-Oct-2005 [2220] | i programmed turbovision and delphi earlier, so its the usual "overriding a virtual method trick" |
Volker 30-Oct-2005 [2221x2] | Yes. |
Only that you have to copy the overridden method in rebol. | |
OneTom 30-Oct-2005 [2223] | okay, i will do it then, but i will refer to you as the parent of the idea doing this like that ;) |
Volker 30-Oct-2005 [2224x2] | and to avoid clashing (subclassing some levels deep, at every level old-engage: :engage) i prefix with area^ |
Me? That file must have been wanderd in accidentally.. *whistle* | |
OneTom 30-Oct-2005 [2226] | i hope, we can discuss it w ashley himself this week. hes gonna back from holiday this week |
Volker 30-Oct-2005 [2227x2] | small update, fucusses face now. you can type, but mouse-clicking gives alert. to show it really uses the original engage. |
Good, i have a little fix to areas down-arrow. | |
OneTom 30-Oct-2005 [2229] | aaand where is it? i downloaded the file mentioned above but no difference |
Volker 30-Oct-2005 [2230x3] | then i forget uploading. oops. |
one moment, seems i got up/down, short test. | |
should be there. | |
OneTom 30-Oct-2005 [2233x2] | great! thanks a lot! |
u can see the result soon at qtask/contractors/csveditor.r, i hope | |
Volker 30-Oct-2005 [2235] | good. Hurry! ;) |
OneTom 30-Oct-2005 [2236x2] | : ) btw, why do u write 'word = obj/func instead of obj/func = 'word ? |
just to make sure that the operator wont get a wrong operand? | |
Volker 30-Oct-2005 [2238x3] | often usefull to save parens. usually the function has arguments. like this 'word = pick here 3 |
so i put the more probable single-token-value left. | |
but also a c-convention, where you have this if (a = 4 ) //bang.. instead if (4 = a) //compiler reclaims. | |
OneTom 30-Oct-2005 [2241] | thought of that, yea |
Graham 30-Oct-2005 [2242] | I had to remove your patches to the editor as it caused display problems when changing the text in an area. |
OneTom 30-Oct-2005 [2243] | whos patches? |
Graham 30-Oct-2005 [2244] | Volkers. |
Volker 30-Oct-2005 [2245] | oops. good to know. |
Graham 30-Oct-2005 [2246x3] | When I did a show-text areawidget, it would end up displaying not at the top, but near the bottom in some cases. |
Had to switch to using MS Word to edit text using Benjamin's com library. | |
I think the problem is something to do with the slider not being initialised correctly. | |
OneTom 30-Oct-2005 [2249] | y |
Volker 30-Oct-2005 [2250] | show-text sets a text? 'redraw contains some adjustments which i disabled when face is focused. if that stuff is in show-text it should work? |
OneTom 30-Oct-2005 [2251] | oops.. i should turn off altme popup |
Graham 30-Oct-2005 [2252] | well I found it didn't work for me afterall :( |
Volker 30-Oct-2005 [2253x4] | realized that. Start to talk about fixing it. If that is the only problem. But then, Ashlay will come back. |
http://polly.rebol.it/test/test/rebgui/../../test/nextgen/../rebgui/rebgui-widgets.r area: make rebface [ Problem is the face/text-y. if that is different than current size-text, its adjusted. if you add a line, size-text changes. if size-text changes, next show jumps. | |
My first workaround checks if face is focused and does nothing then. but when you put something in face, this code should be activated on show. | |
Is it worth working on that, or can you live with current behavior? | |
OneTom 30-Oct-2005 [2257x2] | hmm.. ive tried to use this rebgui stuff for the 1st time for a real problem, but it look buggy. a table cant be focused by tab (in spite of append ctx-rebgui/edit/tabbed 'table), a row in a table cant b focused by the program in an obvious way. the dropdown list doesnt rolls up after dropping down and it doesnt drops down if i click on its text. |
am i just unlucky? | |
Volker 30-Oct-2005 [2259] | Graham: fixed it in another way after understanding more code. Now at end of engage face/text-y: second size-text face ; only needed on real change, but.. |
Graham 30-Oct-2005 [2260x2] | Which files have you altered? |
rebgui-widgets.r and also rebgui-edit.r ? | |
Volker 31-Oct-2005 [2262] | Yes. But needed is only the line in rebgui-edit.r |
Graham 31-Oct-2005 [2263x2] | I'm not clear on this. |
using the original files from rebgui, I need to only make one change in rebgui-edit.r ? | |
Volker 31-Oct-2005 [2265x2] | Hmm, maybe i changed something else too. IIRC there was some problem with offset-to-caret somewhere. The fix to my fix is that one line, and defixing my change in %rebgui-widgets.r |
Yes, another change in edit too, the 0x2 + ;? heuristic patch | |
Graham 31-Oct-2005 [2267x2] | gee... I'm confused. I put that line in the engage function after the switch and nothing happens. |
do you have the complete files available with your fixes? | |
older newer | first last |