World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Graham 22-Apr-2007 [6363] | is it feasible to allow one to pick a symbol on the fly rather than defining in symbol.r ? |
Ashley 22-Apr-2007 [6364] | %create-distribution.r should make the widget merge pretty easy. Recent changes hopefully make the %area.r caret error trap redundant (if not, I'll add that in with the next build) What extra refinements do you have for display? |
Graham 22-Apr-2007 [6365x2] | I wasn't clear on how to create borderless windows, so I added an options refinement to allow for that. |
as in Vid | |
Ashley 22-Apr-2007 [6367] | What do you set your options to? |
Graham 22-Apr-2007 [6368x3] | let me have a look |
[no-border] | |
It's just so i can create a clean screen capture with out the borders | |
Ashley 22-Apr-2007 [6371] | re: symbol. You acn do that easily with: symbol "&" font [name: "Wingdings"] symbol 20x20 "&" font [name: "Wingdings"] |
Graham 22-Apr-2007 [6372] | easy enough then |
Ashley 22-Apr-2007 [6373] | Isn't no-title what you're after then? |
Graham 22-Apr-2007 [6374] | is no-title the same as no-border ? |
Ashley 22-Apr-2007 [6375x2] | The following works well enough: display "" [ button [unview] do [face/options: [no-title no-border]] ] |
On windows, no-title replaces the windows title-bar and blue 3 pixel border with a 1 pixel black border. no-border in conjunction with no-title removes the black 1 pixel border. no-border does nothing by itself (at least on my WindowsXP box). | |
Graham 22-Apr-2007 [6377x5] | Except I was displaying a user's template ... |
so, this way I guess I'll have to add to the user's form the do block | |
before I display it. | |
not a biggie. | |
Was there a no-hide refinement in the past ? | |
Ashley 22-Apr-2007 [6382] | Yes, required by the old [rather dysfunctional] modal system. |
Graham 22-Apr-2007 [6383] | I need to clean up my old source then! |
Ashley 22-Apr-2007 [6384x2] | About the only display refinement that's still specific to dialogs is, well, the /dialog! |
The /scroll refinement has also gone as on-scroll lets you trap this at the widget level now. | |
Graham 22-Apr-2007 [6386] | I see that I had an alert based upon your old code but allowing for much more text ...hence the no-hide |
Ashley 22-Apr-2007 [6387] | So that leaves good, sensible refinements (I'd calss the ones that were dropped as "hacks" to get some other functionality working). |
Graham 22-Apr-2007 [6388] | Is there a way I can make it so that escape always closes the current window? Or, do I have to put a widget with escape as the key ? |
Ashley 22-Apr-2007 [6389] | Build#91 uploaded to SVN with inbuilt ESC handling. The processing logic is: 1) If a widget has focus (e.g. an area or field) let it handle the ESC 2) If it's assigned to a widget then do the associated action 3) If a popup (including choose: drop-list, edit-list, menu) is active close it 4) Otherwise, treat the ESC as a close event (i.e. invoke close handler, check for app exit, etc) |
Graham 22-Apr-2007 [6390] | Nice |
Graham 23-Apr-2007 [6391] | Any chance of capturing control and shift Function keys? |
Pekr 23-Apr-2007 [6392x2] | does Alt work? (for menu) |
and I buy a beer to person, who makes ctrl tab, and ctrl shift tab working (tab widget) :-) | |
Graham 23-Apr-2007 [6394] | Also, cursor key to change focus on buttons |
Pekr 23-Apr-2007 [6395] | yes .... |
Graham 23-Apr-2007 [6396] | In the spell checker, the word you were checking used to remain high lighted even if you clicked on one of the suggestions ( I think ). Now it doesn't; |
Ashley 23-Apr-2007 [6397] | Any chance of capturing control and shift Function keys? I certainly don't want to have 36 function key handlers, but enhancing the function key handler spec to support refinements should be easy enough; so: make function! [face] spec becomes: make function! [face /control /shift] spec does Alt work? (for menu) ... see http://www.rebol.com/docs/view-system.html#section-5.9 Short answer, no. But if R3 supports it I will. |
Pekr 23-Apr-2007 [6398] | the same goes probably for ctrl plus tab, no? IIRC it is not captured by Rebol at all ... |
Ashley 23-Apr-2007 [6399] | who makes ctrl tab, and ctrl shift tab working ... easy enough to trap these keystrokes. Figuring out what to do with them then is the tough part! Also, cursor key to change focus on buttons ... yep, keyboard focus control is one of those long-standing issues I'd like resolved. But mouse issues come first for me (i.e. until the focus/caret/mouse system is 100% I'm not interested in enhancing the keyboard focus system beyond basic tab support. |
Pekr 23-Apr-2007 [6400] | Ashley - really? ctrl plus tab is trappable in rebol view engine? |
Ashley 23-Apr-2007 [6401] | word you were checking used to remain high lighted ... by virtue of a focal-face bug. I eventually want to do the highlighting with draw. |
Pekr 23-Apr-2007 [6402] | what to do is easy - at least in Windows (but I would expect mac and linux too), you switch tab focus ... ctrl shift tab goes in reverse order .... |
Ashley 23-Apr-2007 [6403] | Shift-tab (i.e. back tab) already does that. |
Pekr 23-Apr-2007 [6404] | shift tab? for fields etc. |
Ashley 23-Apr-2007 [6405] | really? ctrl plus tab is trappable in rebol view engine ... I think so. I already trap tab (via event/key) and control is just a state (which is trapped elsewhere). No reason they shouldn't work together. |
Pekr 23-Apr-2007 [6406] | but at OS level, when your dialog has tabs, and you want to navigate them using keyboard, you use either accelerator keys (we can have them, but unless rich-text is available, we can't underline accelerator key (the same goes for menu)), you use ctrl tab, ctrl shift tab, to change tabs (talking about tab widget) .... |
Ashley 23-Apr-2007 [6407] | Ah, you're talking about tab-panel tabs and focus ... I was talking about shifting focus with the tab key. Yes, it would be nice if that worked. |
Cyphre 23-Apr-2007 [6408] | ctrl+tab is not trappable in Rebol (under Windows) at the moment. |
Anton 23-Apr-2007 [6409] | Haven't we had this conversation like, 10 times ? |
Pekr 23-Apr-2007 [6410x2] | Anton - yes, and? :-) |
ctrl tab was mentioned "by the way". But other hot keys can be fixed/added. | |
Anton 23-Apr-2007 [6412] | Ok, fair enough. |
older newer | first last |