More conveniant label editing

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
bfisher
Posts: 7
Joined: Mon Jan 22, 2007 7:39 pm

More conveniant label editing

Post by bfisher » Sun Feb 18, 2007 10:46 pm

The way things are now, to add a label to your stack, you create the label, and then to add text you must open properties and go to Contents. For something that is a common operation, this is a little slow. A better idea: put an item on the Object menu "Add label." Then it asks to name the label, before creating the field. One step, rather than many.

I'm not sure if I'm the only one who would find this useful, so that's why I've posted it here first. Then I'll bugzilla it as Enhancement Request.

-Ben

P.S. When you drag and drop a label control onto the stack, it is right-aligned and says "Label:" Now if you go Object -> New Control -> Label, the new field is left-aligned and says "Label text." Not that this means anything, I just found it odd.

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Post by Bernard » Tue Feb 20, 2007 11:41 am

Hi Ben,

I agree that changing a label's text is a bit cumbersome.

One thing that I do (especially for labels, but it has wider application), is to select the label, then hit Apple+M to bring up the message box, then just type

Code: Select all

set the text of the selobj to "your name:"
The label will now read "your name:"

If you are not on OS X, I believe there is a comparable key combo to bring up the message box on the other platforms.

Bernard

mfstuart
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 16
Joined: Sun Apr 09, 2006 9:49 pm

Editing the text property of a Text Control

Post by mfstuart » Sat Oct 27, 2007 4:59 am

How about if you just hit the Enter key (while the control is selected) and the control goes into edit mode to edit the Contents of the control. Once you are done editing the control, just press Enter again, and you're done.

Now if you need to add a new line while in edit mode, hit Shift+Enter keys together to add it.

Post Reply