Questions tagged [r3-gui]

18 questions
4
votes
1 answer

R3GUI - How to set the size of an 'area'

I've tried: hgroup [label "Note" 64 AFV_Note: area 100x50] That produces the correct width but the height is still too tall. I also tried: hgroup [label "Note" 64 AFV_Note: area options [init-size: 100x50]] That results in an error;…
GordR
  • 91
  • 8
4
votes
1 answer

How to specify in Rebol3 the open/exe action for the R3 script : the R3 exe

related to this question: How do you start a Rebol3 GUI script without the console showing? As I can't quote there because of my low reputation, I opened a new more specific question. How can that be done exactly, or where can I find more details…
AndreasL
  • 41
  • 1
4
votes
1 answer

r3-gui can't input chinese in Pinyin

The sometext field can't input any Chinese characters now: REBOL [ title: "test" ] load-gui view [ sometext: field ]
ttkk1024
  • 41
  • 2
  • 3
3
votes
1 answer

Android encapper for Rebol R3 scripts

Does anyone know how to use Saphirion's Android encap demo? I would like to make a single APK from R3/Droid and a Rebol 3 script. I compared demo-encap.apk (from the above link) and r3-droid.apk but I did not understand the "principle".
JeanLouis
  • 41
  • 1
3
votes
3 answers

REBOL 3 - How to update a layout that has already been viewed?

I'm trying to add a field to a layout after it has been viewed view/no-wait m: [field "hello"] insert tail m 'field insert tail m "hello" update-face m ** Script error: update-face does not allow block! for its face argument I want to update the…
kealist
  • 1,669
  • 12
  • 26
3
votes
1 answer

Rebol 3 - How to create a password text field? (circles or stars instead of text)

In Rebol 2, in order to create a password text field it is possible to write view [ field hide ] How to do it in Rebol 3?
SoleSoul
  • 368
  • 2
  • 14
3
votes
1 answer

Rebol3 - How do you extract all the GUI styles with descriptions in Rebol3 after load-gui is evaluated?

(edited per suggestions) How do you extract all the GUI styles with descriptions in Rebol3 after load-gui is evaluated?
kealist
  • 1,669
  • 12
  • 26
2
votes
2 answers

Text and caret in VID or R3-Gui

A simple example: If I type #"w" in style "area" how do I get an #"z"? (ex. "qwerty ww" -> "qzerty zz")
noein
  • 411
  • 2
  • 10
2
votes
0 answers

Is there a demo for menu or toolbar layout with R3-GUI(Rebol R3 GUI)?

RebGUI can use menu and toolbar layout to complete the complex GUI design. How can r3-gui achieve this goal?
bitbegin
  • 31
  • 3
2
votes
2 answers

Does Rebol 3 R3-GUI field support non-ascii string input?

The sometext field just accepts ASCII characters as input now: REBOL [ title: "test" ] load-gui view [ sometext: field ]
abbypan
  • 158
  • 1
  • 11
2
votes
3 answers

How to get radio button selection in Rebol 3?

How do I get the value a user selects in a radio button group? Here is a simple code, what should I add in order to be able to retrieve the user selection? I couldn't find it in the docs. view [ radio "First" radio "Second" radio…
SoleSoul
  • 368
  • 2
  • 14
2
votes
1 answer

Rebol 3 - R3-GUI - How to access text from an area?

I'm struggling a lot coming from R2 and dealing with faces. get-facet seems extremely unintuitive to me. Let's say I have an area: view [c: area "hello"] print get-facet c 'text-edit get-facet always returns "hello" even if I type something…
kealist
  • 1,669
  • 12
  • 26
1
vote
1 answer

How do you start a Rebol3 GUI script without the console showing?

Currently I start a GUI from the console which involves first loading the GUI with load-gui and then run the script which shows the GUI. How can I start the GUI without a console showing?
HappySpoon
  • 233
  • 2
  • 8
1
vote
1 answer

How do you set initial focus in a layout?

rebol [] view [ f: field "" button "focus" on-action [ focus f ] when [load] on-action [focus f] ] Using the focus button sets the focus correctly but I'd like the focus to set when the panel appears. I'd have thought…
Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
1
vote
2 answers

What is causing a "word not bound to context" error in this script?

I have the following R3-GUI script: Rebol [ file: %context.reb ] either exists? %r3-gui.r3 [do %r3-gui.r3][load-gui] view [ title "First Window" hgroup [ lab: label "fld 1 " fld1: field "Field Data 1" ] button…
Graham Chiu
  • 4,856
  • 1
  • 23
  • 41
1
2