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

World: r3wp

[!REBOL3 GUI]

Graham
4-Sep-2010
[3085]
It's also a lot wider than that of RebGUI's
Henrik
4-Sep-2010
[3086]
http://rebol.hmkdesign.dk/files/r3/gui/123.png
http://rebol.hmkdesign.dk/files/r3/gui/124.png

Any questions? :-)
Steeve
4-Sep-2010
[3087]
but it's even larger like that, It mostly takes the whole screen.
Graham
4-Sep-2010
[3088]
is the light source coming from the left ?
Henrik
4-Sep-2010
[3089x2]
logically it shouldn't, but the vertical scroller doesn't work very 
well with the light coming from above.
http://rebol.hmkdesign.dk/files/r3/gui/164.png


The vertical scroller looks like that, because it works nicely with 
the bottom right corner, but there are still issues to figure out.
Graham
4-Sep-2010
[3091]
Again the scroller looks out of proportion to the text.
Henrik
4-Sep-2010
[3092]
all adjustable, so it doesn't make much sense to worry about that 
now.
Graham
4-Sep-2010
[3093x2]
I can't sleep seeing those scrollers!
the scroller handle looks as though it is illuminated from a different 
side to the scroller ??
Henrik
4-Sep-2010
[3095x2]
no, all parts of the scoller share the same gradient
but... all this needs to be reimplemented. it's from the first skin 
I did for VID3.4.
Graham
4-Sep-2010
[3097]
so what are you calling this one?  R3GUI ?
Henrik
4-Sep-2010
[3098]
yes
Henrik
6-Sep-2010
[3099]
ok, is there any interest in reviewing the dialog and validation 
system? I expect to start implementing these things soon, so they 
better be right.
Gregg
6-Sep-2010
[3100]
I have interest but little time right now Henrik. What do I need 
to set up here to review and comment?
Henrik
7-Sep-2010
[3101]
Generally, always use this (please download as it's on a low bandwidth 
connection):

http://rebol.hmkdesign.dk/files/r3/gui/r3-gui.r3

For validation, a proposal was written:


http://rebol.hmkdesign.dk/files/r3/gui/docs/validation-proposal.html

This has been translated into a prototype:

http://rebol.hmkdesign.dk/files/r3/gui/validation.r3


and then a set of notes on how the prototype works has been written:


http://rebol.hmkdesign.dk/files/r3/gui/docs/validation-prototype.html
Graham
7-Sep-2010
[3102]
Umm.. isn' t this just vid-ext-kit stuff?
Henrik
8-Sep-2010
[3103]
no? none of it is. it's written from scratch.
Graham
8-Sep-2010
[3104]
it looks very similar to the vid ext kit design
Henrik
8-Sep-2010
[3105]
there are ideas from it, but the implementation is different
Pekr
8-Sep-2010
[3106x2]
hmm, just reading the beginning of the doc - validator-indicator 
- I hope that noone of those things gets in our own way of doing 
things, and is not pushed on the user?
I mean - the display of the indicator ...
Henrik
8-Sep-2010
[3108x2]
Pekr, I'm not sure what you mean. You need to indicate validation 
somehow.
and building it into the style we need to validate is as far as I 
can tell, a whole lot more work.
Graham
8-Sep-2010
[3110]
pekr, it's optional
Pekr
8-Sep-2010
[3111]
No, quite the opposite - I feared that all styles will contain that, 
if not, then it is ok ...
Henrik
8-Sep-2010
[3112]
yes, validation is a simple indicator style. the "catch" is that 
you need to place it one place to the right of the style to validate. 
Carl also talked about doing the validation action itself as a reactor, 
but the role of reactors is still not clearly defined to me.
Graham
8-Sep-2010
[3113x2]
Well, I think an alternative might be to change the color of the 
field instead ..
instead of having a dedicated icon
Pekr
8-Sep-2010
[3115]
Probably a bit different topic, albeit related - in one DOS app generator 
I worked with, there was a possibility to e.g.:

- init form values (e.g. when you create new record)

- set 'update trigger - you could have multiple update actions (it 
was quite primitive, but sufficient - operators like +, -, replace), 
so e.g. entering some value into 'amount field, could trigger an 
update into other field on the form, or later during the commit, 
to even a different table.

- getting/setting values of the form/panel is surely going to come 
IIRC
Graham
8-Sep-2010
[3116]
AFAIR in dbase I used to change the field colours depending on validation
Pekr
8-Sep-2010
[3117]
but the role of reactors is still not clearly defined to me
 - you have Carl on your GUI world, no - so just ask him :-)
Henrik
8-Sep-2010
[3118]
graham, that's not a good alternative:

1. you create multiple ways of indicating validation

2. you may not be validating a field, but an entire panel or any 
other style

3. you still need to alter the style itself, which will be a ton 
of work.
Pekr
8-Sep-2010
[3119]
Graham - it might not be only field, but also other styles, but it 
might be one of the options  :-)
Graham
8-Sep-2010
[3120]
give me an example where field validation is insufficient
Henrik
8-Sep-2010
[3121]
Pekr:


- init already happens on window open. you can specifically validate 
and display init symbols in the indicators.
- possible to do with attach or set reactor
- panel validation already works
Pekr
8-Sep-2010
[3122]
Henrik - the proposal does not need to alter the style, right? That 
is indeed good. But - I still have to think about the form design 
- do I have to count for the space for the validator? I talk about 
some alignment stuff ...
Henrik
8-Sep-2010
[3123x3]
Pekr, correct. What you need to do is attach an option for how you 
want to validate. Then you need to place the validation-indicator. 
Then the rest is supposed to take care of itself, auto-updating, 
etc.
count for space: well, it should not be necessary as it simply is 
another style that you place after the style to validate:

panel 2 [
	field validate-indicator
	field validate-indicator
	field validate-indicator
]

like that.
graham, not insufficient. inconsistent.
Graham
8-Sep-2010
[3126]
The issue I have with validation icons is that it makes the whole 
display much busier
Henrik
8-Sep-2010
[3127x3]
that's a small problem compared to working validation into each style
if your form is very large you will appreciate the need for consistency 
as you only have to check for red Xes to see where the problem is, 
and the validation system also automatically focuses the first problem.
also fields will eventually become sub-fields in tight panels, where 
the fields themselves may not be incorrect, but the overall value 
combination may be wrong, such as that for a date field and that 
can be for multiple different reasons. this is why the valid-indicator 
would contain a tool-tip to describe the problem. you would be eventually 
able to click on it, to get an overview or deeper help on how to 
solve the issue via the help system (not yet written).
Pekr
8-Sep-2010
[3130]
Henrik - any progress on new styles, integration of resizing model 
into current system, etc.? You surely can't do business apss with 
just buttons and fields being the only styles available? :-) What 
is currently being done in the R3GUI area? (as View transition to 
Extension has mostly finished?)
Robert
8-Sep-2010
[3131x4]
Now we need to get R3-GUI to work again with the new hostkit. Will 
be finished this week.
We work on business apps (that's always our main focus). These have 
highest priority.
buidl & deployment system is currently done so we can do large scale 
projects.
call/wait is something we will need.