r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!RebGUI] A lightweight alternative to VID

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
[7911x2]
Instead of ... unview/only face/parent-face/parent-face ... why not 

unview/ony find-window face

?
Ashley hasn't been on line here since xmas eve ... is he on a rather 
extended holiday??
Pekr
29-Jan-2009
[7913]
Graham - do you change button colors? E.g. if I set button blue in 
dialect, I actually get 3 color - normal state, over state, pressed 
state. But those colors are like color wheel - totally unrelated 
:-) I wonder if color related code reflects changed button color?
Graham
29-Jan-2009
[7914]
I do change button colors ... but I haven't noticed anything odd
Pekr
29-Jan-2009
[7915x2]
display "test" [button blue "Hello"] do-events
button is blue. But with over effect, going to green (default?), 
and with press, going pink :-)
Graham
29-Jan-2009
[7917x4]
not for me
what version are  you using?
Oh ... latest version huh?  I'm not using that one.
Of course using find-window is not as efficient.
Pekr
29-Jan-2009
[7921]
version 118
Graham
29-Jan-2009
[7922]
go back to earlier version
Pekr
29-Jan-2009
[7923]
I have report from bobik, that 117 is even worse in that regard ...
Graham
29-Jan-2009
[7924]
Try 116 then .. or whereever it was before Ashley used the new color 
scheme.
Graham
12-Feb-2009
[7925x2]
We have arrow key navigation of tables.  How can we get the enter 
key to do the action?
Hmm.  Perhaps the latest build does do this.
Graham
25-Mar-2009
[7927]
Anyone using the RebGUI tree widget?  I'd like to use it ... but 
I don't see a way to have a hidden field that could be used to retrieve 
a db record
Ashley
29-Mar-2009
[7928]
Pekr/Graham (re group-box resize overlap convo from 13-Jan) ... it's 
a limitation not a bug. The #H and #W directives assume they are 
by themselves in a given row/column.


Instead of ... unview/only face/parent-face/parent-face ... why not 
unview/ony find-window face
 ... performance over coding efficiency.  


Ashley hasn't been on line here since xmas eve ... is he on a rather 
extended holiday

 ... the GFC has forced me to allocate considerable resources elsewhere, 
 but I'm back for the time being.


button is blue. But with over effect, going to green (default?), 
and with press, going pink

 ... the over (theme light) and press (state light) colors are global. 
 118 fixes the problem whereby these states lost your original color 
 override.


We have arrow key navigation of tables.  How can we get the enter 
key to do the action?
 ... add 'table to behaviors/action-on-enter
Pekr
29-Mar-2009
[7929]
thanks ...
Graham
29-Mar-2009
[7930x3]
Ashley, you're alive!!
Any ideas on enhancing the tree widget to have a hidden field we 
can use to access db records?
ie. a db key
Ashley
29-Mar-2009
[7933]
Example usage?
Graham
29-Mar-2009
[7934x4]
forinstance .. in a table, i usually have a hidden field size .001 
so it won't display
i can then update that row based upon that db key.
options [ "key" left .001 ..... ]
that could be a 30 char long uuid and it won't show
Ashley
29-Mar-2009
[7938]
Something like:


 tree data ["Pets" ID-10  ["Cat" ID-11 "Dog" ID-12]] options [value]

which returns the value instead of the display string?
Graham
29-Mar-2009
[7939x2]
returns both?
but only one is displayed in the tree
Ashley
29-Mar-2009
[7941]
Both is good. That's a fairly simple change to tree.r ... if I find 
some time over the week I'll do it.
Graham
29-Mar-2009
[7942]
thanks
Graham
30-Mar-2009
[7943x3]
This is an odd one


display/dialog "test" [ edit-list "1" data [1 2 3]  return text "some 
space"] do-events

click on the edit-list, and tab out .. the window disappears
Doesn't happen with drop-list, and doesn't happen with display/parent
There's another thing with edit-list.  Unlike a drop-list, you can 
tab into it, and use the down arrow to cause the list to drop, but 
you can't use the keyboard to select a value.  You have to switch 
to using the mouse.
Graham
4-Apr-2009
[7946x2]
Any chance of navigating the tree with the cursor keys?
And selecting a particular leaf programmatically?