Edit Box - Set not editable

For general discussion related FlowStone
Post Reply
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Edit Box - Set not editable

Post by Nowhk »

Is there a way to put Edit Boxes devices not editable? I can put the mouse, delete and write what I want. I'd like to avoid this...
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Edit Box - Set not editable

Post by Nubeat7 »

use a label then, or block any mouse action
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Edit Box - Set not editable

Post by Nowhk »

Label has not S pin input. How would you block mouse action? This is not enough:

Immagine.png
Immagine.png (7.19 KiB) Viewed 11239 times
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Edit Box - Set not editable

Post by Nubeat7 »

Nowhk wrote:Label has not S pin input..

just create one with "i" on your keyboard ;)

maybe it would be good to read the manual (page 63)
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Edit Box - Set not editable

Post by Nowhk »

Oh, I can use "I" for every element! Nice ;) Didn't noticed this. Thanks!
Unfortunatly I can't set a background, but I'll use a "back" image behind the label.
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Edit Box - Set not editable

Post by Perfect Human Interface »

Nowhk wrote:Unfortunatly I can't set a background, but I'll use a "back" image behind the label.


Use a "filled rectangle" prim and wire the view from the MGUI and the area (use "view to area") and a "colour" prim to the inputs. Make sure the order of the view connections is correct so that you don't draw the rectangle on top of the text.
Post Reply