World: r3wp
[!RebGUI] A lightweight alternative to VID
older newer | first last |
Pekr 13-Jan-2009 [7862x2] | How to easily set auto resizing, for simple scenario as - window, two group boxes, in each of them area. I try with various LVHW combinations, but can't it get working, group-boxes are overlapping with simple #HW: display "just a try" [group-box "1" 100x50 #HW data [] group-box "2" 100x50 #HW data []] do-events |
it works, if I change panel 2 to #HX, but then it does not resize .... | |
Graham 13-Jan-2009 [7864] | Looks like a resizing bug. |
Kai 18-Jan-2009 [7865x2] | Ashley - how do I overcome this problem: I need to reduce the record block prior to db-inserting it because it contains sub-blocks. I would like to use 'next inside for autoincs, however..... |
oops - group is one off | |
Graham 22-Jan-2009 [7867] | I've got about 300 different screens in my application ( apparently someone counted ) ...which is a bit of a cognitive load on the users :( |
Henrik 22-Jan-2009 [7868] | Graham, how long does your app take to load and how are the screens initially set up? |
Graham 22-Jan-2009 [7869x8] | I am trying to use the function keys to replace a mouse click on the "Save" button. But the function keys are global .... so if one defines it to have a specific action for one screen, there's bound to be a problem where the wrong definition arises. |
How long ... not too long. Never timed it. | |
Screens are all created dynamically. | |
So, what I need to do is make the F keys stick to a particular screen, rather than being global. | |
the parameters that are available are face and event | |
So, how can I use the face to identify the particular screen ... without too much work! | |
http://demo-client.s3.amazonaws.com/synapse.exe | |
I ditched the Windows installer and my app now does the installation of all the accessory programs viz. ghostscript, gsview, imagemagick, jarnal etc | |
Reichart 22-Jan-2009 [7877] | which is a bit of a cognitive load on the users :( Yes, Qtask has the same problem... Having looked at many applications that have LOTS of tabs, medical, legal, etc. I don't know yet what way around it there is. One idea I have is that you come in to a mostly blank set of screens, with a few tabs, and a button that brings up a dialog. It is a giant menu of things you can ask to be on the screen. You pick from this, and at LEAST then everything that is there you put there. Also, you can turn everything on quickly as a feature. And you will always know if you don't see it, it is probably on that menu of things. |
Graham 22-Jan-2009 [7878x9] | Don't understand. |
I guess I can use the text content of the face to work out where I am .. and hope I have unique text strings. | |
I do hide buttons etc .. which only appear based on choices the user makes | |
Trying to simplify what the user can see ... to reduce the possible actions the user can take. | |
ie. less is more sort of thing | |
Or, I colour code buttons .. making the most likely selected button green ... so the users can work using their hind brains | |
the occipital cortex sits above the brain stem and cerebellum | |
One of the possible solutions I wondered about is to create multiple different applications somehow sharing the data ... like an IOS desktop | |
This is what MS has done by creating the control panel .. did Gnome copy this? | |
Henrik 22-Jan-2009 [7887] | I couldn't get Synapse to run, but was wondering if soft keys is the answer. If you've used an HP48 or similar calculator, it has 6 F-keys which are assigned to different operations depending on which screen is shown. |
Graham 22-Jan-2009 [7888x3] | Nope, never used an HP48 |
which problem did you get with Synapse?? | |
But that is what I am trying to do .. assign diferent ops based on the current screen. | |
Henrik 22-Jan-2009 [7891] | It seemed to install fine and Cheyenne is running. But I was not allowed to connect to it. |
Graham 22-Jan-2009 [7892x2] | oh .. don't use localhost |
Cheyenne is just there for displayiing timelines. | |
Henrik 22-Jan-2009 [7894] | Graham, I think a lot of measuring devices use this technique with soft keys. If you have a device with a fixed set of blank keys next to the display, they would likely work as softkeys. |
Graham 22-Jan-2009 [7895] | The trick then is to define them per screen. |
Henrik 22-Jan-2009 [7896] | yes... I have an app that works in a similar way. the answer was to construct a dialect that describes each screen with well-defined parts. |
Graham 22-Jan-2009 [7897] | hmm.. I didn't do that ... so I guess I just have to use the window title. |
Henrik 22-Jan-2009 [7898] | yes... not possible to slap on a dialect if your app is that complex. |
Pekr 22-Jan-2009 [7899x2] | Graham - not sure about RebGUI, but VID generates face structures at the end anyway. So - I am not sure you can easily make F keys local to certain screen. Well, maybe you can, but you would have to look how RebGUI handles events underneath. What I disliked about some tab styles was that all your tabs are always instantiated, whereas I wanted load-as-selected behaviour. That could help a bit in your situation. |
With one of my apps, I used win32 wrapper to get-window-text function, and I set window's text title. Not sure you can change title when you select different tab? What about setting one global variable for such purpose, which you would set each time when entering new screen? Maybe lot's of work to do it now, as you have 300 screens already, but :-) | |
DideC 22-Jan-2009 [7901] | In VID you can handle F keys by window with the event handler of the window. Hope that what you call a screen is a window :-\ |
Graham 22-Jan-2009 [7902x3] | Pekr, you can create empty tabs, and then replace the tab contents dynamically. |
Didier, I'll have to look at Rebgui to see if it can do this .. but at present I can use the window text. | |
Of course, if a window always had an "OK" button function, a "Cancel" function and a "Save" function, this would make things somewhat easier. | |
Graham 23-Jan-2009 [7905] | So, I think I need to alter the display function to create default handlers for the function keys |
Pekr 23-Jan-2009 [7906x2] | Graham - there are some aproaches out there. Some apps choose some pre-app-run dialog box, which let's you select, where you want to go. I am not much comfort with it, e.g. Open Office 3.0 starts that way. Othere do use different aproch, e.g. - on the left side, you have icon-list element, which can be even tabbed. That defines your right pane content http://www.megaleecher.net/uploads/spybot_search_and_destroy.jpg You can have many icons, on many tabs, so many options of how to organise your content pane .... |
Graham - where's you green color? :-) I can't almost read your name on my notebook's LCD now ... | |
Graham 23-Jan-2009 [7908x2] | I'm feeling a little off colour today |
Just wondering if Vid+ addresses this sort of issue too? | |
Pekr 23-Jan-2009 [7910] | it is imo not question of particular GUI system, but the question of widgets available. That is why I also wanted split-screen, resizable. But - those issues are not RebGUI related, so we are most probably chatting in wrong group ... |
Graham 29-Jan-2009 [7911] | Instead of ... unview/only face/parent-face/parent-face ... why not unview/ony find-window face ? |
older newer | first last |