Search found 68 matches

by mtecedor
Thu Jun 03, 2010 2:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fieldtext behavior
Replies: 2
Views: 2945

Re: Fieldtext behavior

Thanks FourthWorld, that works, I didn't even know those functions existed

Marta
by mtecedor
Wed Jun 02, 2010 2:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fieldtext behavior
Replies: 2
Views: 2945

Fieldtext behavior

Hi again, I am getting a weird behaviour in one of my text fields and I don't know why. I have tried everything (or that's what I think) and I am going a bit insane. So, I have this field, and I want that when the end user click on the field the first time, the original message (something like "type...
by mtecedor
Sun May 30, 2010 2:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster performance?
Replies: 5
Views: 4233

Re: faster performance?

Klaus, Putting the code on OpenCard definetely makes a difference. Thanks a lot. And your code looks much more simpler and elegant than mine, but what I don't understand is why with your code words highlighted in green are not bolded. The line of code is there, but it does not work. case "0,255,0" -...
by mtecedor
Sat May 29, 2010 5:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster performance?
Replies: 5
Views: 4233

Re: faster performance?

Sure! Here it is: on preOpenCard put empty into field "output" of card "Paraphrasing" of stack "Estratego" repeat with i = 1 to the number of chars of field "Text2" of card "Text" of stack "Estratego" put the backgroundcolor of char i of field "Text2" of card "Text" of stack "Estratego" into tColor ...
by mtecedor
Sat May 29, 2010 5:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: faster performance?
Replies: 5
Views: 4233

faster performance?

Hi again, I would like to know if there is any trick to make the transition from one card to another faster. The thing is that since I added some code on OpenCard, it takes few second more to open this card. The code involves going over the chars of a field text in the previous card, copying some of...
by mtecedor
Wed May 26, 2010 2:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Paragraphs and sentences
Replies: 10
Views: 7334

Re: Paragraphs and sentences

Craig, I thought that it was giving me the number of lines because I set the itemdel. If that number is not the number of sentences, then I don't understand what it is. Because definitely is not the number of lines (I have around 100) neither the number of paragraphs (the text only have 5 + two line...
by mtecedor
Tue May 25, 2010 11:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Paragraphs and sentences
Replies: 10
Views: 7334

Re: Paragraphs and sentences

Hi Bernd, Craig, Thanks a lot for your help. I finally figure out (or that's what I think) what's going on. My paragraphs are delimited by return, but I was thinking in a "normal" way of understanding lines, and it seems that is not the case in revolution. 26 are the number of sentences in the textf...
by mtecedor
Tue May 25, 2010 6:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Paragraphs and sentences
Replies: 10
Views: 7334

Paragraphs and sentences

Hi All, I am stuck in the first stepts of something that should be fairly easy but I cannot find the appropriate way to do it. I have a textfield containing five paragraphs. I need the application to go over that textfield and copy the first sentence of each paragraph in five empty textfields. My fi...
by mtecedor
Sat May 22, 2010 3:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Re: Resizing field, graphic and group together

WAW!!!

That really made it. Thanks a lot, Bernd. As I said, I was not even gonna try it

Marta
by mtecedor
Wed May 19, 2010 11:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Re: Resizing field, graphic and group together

Hi Bern, I am still trying to understand some parts of the code, but the good news is that it seems to work just the way I want it. The only minor detail, that I am not sure if I can or even I want to fix, is that it allows the user to move the field horizontally by pressing the space key, but as so...
by mtecedor
Tue May 18, 2010 3:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Re: Resizing field, graphic and group together

Hi Bern, Thanks for your answer. Let's see if I can explain better what I need. So, I have this field inside a rectangular graphic, and I need them to become bigger as the user enters text, but I also need to limit how big and how small the field can be. This is my code as right now: on rawKeyUp the...
by mtecedor
Sat May 15, 2010 3:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Field size

Hi again, I keep working with the size of the field and I need some help. My field can be bigger than 150. The problem is that this does not allow the user to "move" within the field and make some changes in, let's say, the first line of the field. Adittionally, it seems that, despite the message, i...
by mtecedor
Mon May 10, 2010 1:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Re: Resizing field, graphic and group together

Hi Bern,

Thanks a lot. That is exactly what I need. I am not working anymore with the resizable oval, but the field text does exactly what I want :)

Marta
by mtecedor
Sat May 08, 2010 11:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Terminology
Replies: 9
Views: 6519

Re: Terminology

Thanks Curry,
WordLib helps a lot
For what I see it only works with Studio or Enterprise, so I will have to ask my professor permission to install it into the lab computers.

I will let you know :)
Marta
by mtecedor
Sat May 08, 2010 11:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Resizing field, graphic and group together
Replies: 10
Views: 7359

Resizing field, graphic and group together

Hi All, I am back again with the resizing questions. This time I am resizing a field, a graphic and a group at the same time. This is the basic idea: I have a field with a height of 44, a graphic with a height of 58. Both of them belong to a group with a height of 66. When the end-user types into th...