Controls properties description ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Controls properties description ?
Is there a description of every control properties and the way to change them ?
I went to use a Table Field, and have already discovered how to set column widths with for instance "200,10,200,500" but simply experimenting is not convenient. For instance, how do I access each cell, is it possible to insert check boxes into some cells, or graphics, and so on ? The Dictionary does not even list the Table Field.
This may be right under my nose, but I could not see it.
Any help will be greatly appreciated. TIA.
I went to use a Table Field, and have already discovered how to set column widths with for instance "200,10,200,500" but simply experimenting is not convenient. For instance, how do I access each cell, is it possible to insert check boxes into some cells, or graphics, and so on ? The Dictionary does not even list the Table Field.
This may be right under my nose, but I could not see it.
Any help will be greatly appreciated. TIA.
Mitch
http://FontMenu.com
Re: Controls properties description ?
Hi.
Are these two separate question?
Read about "the properties" er, property, in the dictionary.
As for accessing the "cells" in a table field (there aren't any, really, a table field is just a field with tabs embedded) you deal with that as a data gestalt. The table field is arranged like a spreadsheet, that is, tab and return delimited. So if you want to place text in the third cell" of the second row, you would:
on mouseUp
set the itemDel to tab
put "xxx" into item 3 of line 2 of fld "yourTable"
end mouseUp
Now if you want to add the fancy stuff you mentioned, you will need to use a dataGrid of type "form". Good luck with this, as DG's are wonderful, but complex, and require learning a syntax subset of LC.
Craig Newman
Are these two separate question?
Read about "the properties" er, property, in the dictionary.
As for accessing the "cells" in a table field (there aren't any, really, a table field is just a field with tabs embedded) you deal with that as a data gestalt. The table field is arranged like a spreadsheet, that is, tab and return delimited. So if you want to place text in the third cell" of the second row, you would:
on mouseUp
set the itemDel to tab
put "xxx" into item 3 of line 2 of fld "yourTable"
end mouseUp
Now if you want to add the fancy stuff you mentioned, you will need to use a dataGrid of type "form". Good luck with this, as DG's are wonderful, but complex, and require learning a syntax subset of LC.
Craig Newman
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Controls properties description ?
This may not help with your specific need on the table field, but this tool provides a UI for viewing and ediing nearly every property of the selected object:
http://fourthworld.net/revnet/devolutio ... ops.rev.gz
http://fourthworld.net/revnet/devolutio ... ops.rev.gz
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Re: Controls properties description ?
Thank you. I already had found this. My concern is to find a description of existing properties for a particular control. But I guess I will have to figure that out from the inspector.dunbarx wrote:Read about "the properties" er, property, in the dictionary.
Interesting. Where would I be able to learn, then ?Now if you want to add the fancy stuff you mentioned, you will need to use a dataGrid of type "form". Good luck with this, as DG's are wonderful, but complex, and require learning a syntax subset of LC.
Thank you for your example, though.
Mitch
http://FontMenu.com
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Controls properties description ?
In the Dictionary you can choose the object type from the left-hand pane and then sort the results by the Type field to find properties for that object, messages, etc.michel_bujardet wrote:My concern is to find a description of existing properties for a particular control. But I guess I will have to figure that out from the inspector.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Re: Controls properties description ?
Thank you. But I get the following message when opening the stackFourthWorld wrote:This may not help with your specific need on the table field, but this tool provides a UI for viewing and ediing nearly every property of the selected object:
http://fourthworld.net/revnet/devolutio ... ops.rev.gz

Code: Select all
There was an error executing a script in
stack 4wProps. No more information is
available because the stack is password
protected.
[OK]
Mitch
http://FontMenu.com
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Re: Controls properties description ?
OK. So there is the field object, and I gather the properties would be the same for a Table field ?FourthWorld wrote:In the Dictionary you can choose the object type from the left-hand pane and then sort the results by the Type field to find properties for that object, messages, etc.michel_bujardet wrote:My concern is to find a description of existing properties for a particular control. But I guess I will have to figure that out from the inspector.
What about a Data Grid ? It is not there...
Well. I found http://lessons.runrev.com/m/datagrid/l/ ... -with-data
Thank you.
Mitch
http://FontMenu.com