rebolred-lang

Remove button faces


Hi all.
I want to know that how can I remove two button face with a button.

I tried this:

gui: [
  en: button "English" remove [en es]
  es: button "Spanih" remove [en es]
]

And than I have to append new buttons.


Solution

  • You can try this:

    Red [Needs: View]
    view [
        en: button "English" [remove find face/parent/pane en]
        es: button "Spanish" [
            remove find face/parent/pane en
            remove find face/parent/pane es
        ]
    ]