Page 1 of 1
List separated by lines in a Scrolling List Field
Posted: Fri Sep 13, 2013 9:20 pm
by Mag
Someone know if is there a way to have the items in a list separated by lines in a Scrolling List Field?

Re: List separated by lines in a Scrolling List Field
Posted: Fri Sep 13, 2013 9:50 pm
by magice
The simple way, would be to just change the font to underlined in the property inspector.
Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 12:43 am
by Mag
Hi magice,
thank you for your reply, unfortunately don't seems to fit my needs. What I would like to do is mimic this kind of list (see attachment, no need to scroll or put icons if necessary)
Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 2:26 am
by dunbarx
Mag.
This is a job for a datagrid form. Ever used those?
Craig Newman
Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 3:05 am
by Dixie
Craig... Not necessarily a job for a datagrid...
Have a look at the attached...I have not included putting an icon in front of the text but you should see how it would be easy to add that when you look at the script and how the group is built in the application browser...
Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 4:53 am
by dunbarx
Hey Dixie.
The OP wanted a scrolling field with visible lines and icons in sync. Seems to me that a DG does that out of the box.
Craig
Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 4:05 pm
by Mag
Dixie wrote:Craig... Not necessarily a job for a datagrid...
Have a look at the attached...I have not included putting an icon in front of the text but you should see how it would be easy to add that when you look at the script and how the group is built in the application browser...
Hi Dixie, great stack indeed. Unfortunately I tend to avoid to use native controls when I can because they add complexity in the code.
dunbarx wrote:Mag.
This is a job for a datagrid form. Ever used those?
Thanks dunbarx. Not used yet, I know that I have to use them, my concern is the duty of the DG set in a complex way to manage your icons and behaviors. So for this project I would like to use something of simple and easy to learn quickly (it's for a quick tutorial).
I used a scrolling list field with large font size and set this properties:
Code: Select all
set the textHeight of field "myField" to "86"
set the leftMargin of field "myField" to "30" (this can be set also in Inspector)
set the textShift of word 1 to - 1 field "myField" to "-30"
Now would be great to mimic buncing but I know that it's almost impossible...

Re: List separated by lines in a Scrolling List Field
Posted: Sat Sep 14, 2013 10:51 pm
by [-hh]
..........
Re: List separated by lines in a Scrolling List Field
Posted: Sun Sep 15, 2013 1:10 pm
by Mag
Thank you so much, really interesting stack.
I have a problem trying to center the image because it tend to go too high, actually stays of the baseline of the text so it's ok, but wanting to put a bigger picture would be better if you could turn it down a bit '. However, are just details...