I just figured out the difference between returnInField and closeField. closeField does what I want it to do. It allows me to use the tab key and return key.
When the error message is keyed off (i.e. no2 is greater than no1) the system puts me back to the first data entry item in the system, not the data entry for field no1 (which is the sixth data entry item in the system).
I'm sure that the issues that I'm having trying to create this data entry screen are not unique. But I wish that there was a New York users group because I'm sure that if I sit down with someone I could go through all of this in less than an hour.
Peter
I feel like a fool...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: I feel like a fool...
There are many, many messages. Think of what goes on when you go to click a mouse in a button:
The mouse moves. (mouseMove)
It enters the button. (mouseEnter,mouseMove)
It lives in the button (mouseWithin)
You click down (mouseDown)
You hold down,even if only for the usual instant. (mouseStillDown)
You release the click (mouseUp)
You are still in the button (mouseWithin)
You exit the button (mouseMove,mouseLeave)
You move away (mouseMove)
More messages than you thought?
The only way to learn is to play. Try doing things in different ways. In fact, the dictionary is pretty complete and helpful, and do not fail to read about the "see also" stuff for each entry. They are related, and frequently are more suited to your needs. For example, read about the difference between "closeField" and "exitField". I live in New York City. I used to chair the NY Hypercard user group. I would be glad to attend an LC group.
Craig Newman
The mouse moves. (mouseMove)
It enters the button. (mouseEnter,mouseMove)
It lives in the button (mouseWithin)
You click down (mouseDown)
You hold down,even if only for the usual instant. (mouseStillDown)
You release the click (mouseUp)
You are still in the button (mouseWithin)
You exit the button (mouseMove,mouseLeave)
You move away (mouseMove)
More messages than you thought?
The only way to learn is to play. Try doing things in different ways. In fact, the dictionary is pretty complete and helpful, and do not fail to read about the "see also" stuff for each entry. They are related, and frequently are more suited to your needs. For example, read about the difference between "closeField" and "exitField". I live in New York City. I used to chair the NY Hypercard user group. I would be glad to attend an LC group.
Craig Newman
Re: I feel like a fool...
Peter-
The "put" command is the assignment operator, and works much the same way assignment operators work in any other language, i.e.,
x = 3
myVariable = fieldOne.text
Part of its power comes from the fact that you can use expressions on either side of the clause separator:
put the label of button "myComboBox" after word 3 of field "LotsaText"
put SomeFunction(withParameters) into someArray[someElement]
The "put" command is the assignment operator, and works much the same way assignment operators work in any other language, i.e.,
x = 3
myVariable = fieldOne.text
Part of its power comes from the fact that you can use expressions on either side of the clause separator:
put the label of button "myComboBox" after word 3 of field "LotsaText"
put SomeFunction(withParameters) into someArray[someElement]