Page 1 of 1
Delete data of all fields in a special group?
Posted: Thu Apr 12, 2012 4:05 pm
by 3d-swiss
Hello again,
I like to have a very quick way to 'put empty' in all fields of a special group:
Code: Select all
put empty into all fields of group "InputFields" -- Perhaps this is possible in the future
How can it solved with todays LiveCode?
Thanks for reading.
Jens
Re: Delete data of all fields in a special group?
Posted: Thu Apr 12, 2012 4:18 pm
by jmburnod
Hi,
Try this
Code: Select all
on mouseUp
put the num of flds of group "MyGroup" into nbF
repeat with i = 1 to nbF
put "" into fld i of group "MyGroup"
wait 1 milliseconds
end repeat
end mouseUp
Best
Jean-Marc
Re: Delete data of all fields in a special group?
Posted: Thu Apr 12, 2012 4:36 pm
by 3d-swiss
Hello Jean-Marc,
thanks. Work perfect.
I missed that information in the Dictonary. There is no entry about 'field of group', is it?
Greetings from Switzerland
Jens.
[Case closed]
Re: Delete data of all fields in a special group?
Posted: Thu Apr 12, 2012 4:43 pm
by jmburnod
Hi Jens,
I missed that information in the Dictonary. There is no entry about 'field of group', is it?
Yes. You're right.
You can look at the lessons space on the runrev site.
Best from Geneva in Switzerland
Jean-Marc
Re: Delete data of all fields in a special group?
Posted: Thu Apr 12, 2012 5:17 pm
by Klaus
Hi Jens,
3d-swiss wrote:...I missed that information in the Dictonary. There is no entry about 'field of group', is it?
no there isn't, but don't be so "pingelig"!
