Looking for Header Column Control
Brahmanathaswami
brahma at hindu.org
Thu Nov 29 17:00:23 EST 2012
Aloha, Jacqueline
Well, make a pretty header may be useful for some apps, and yes, the new
text properties are awesome and when some makes a palette control for
using them I'll use it (hehe.. not about to script all that...!)
but the other part of my request was.
"a header control that will allow dynamic resizing of columns in a field
with tab stops and vertical
grid on."
Richard: I'll have to swallow the learning curve on the data grid
later... we are sweating it out here as we are about go live on Dec 3rd
with our completely newly designed, running on RevIgniter site... in 4 days!
So, I went in a different direction:
For now I just made the columns reasonable for the address and info and
the on mousedown on the list pushed the line to another palette/
sub-stack with each column on it's own line
first name
last name
address1
address
etc.
and then the person dealing with these guest book entries (we have a
kiosk computer on our property for visitors that send the data to our
server...) can more easily edit that and when he saves, it updates the
line on the field below which is locked. It's working... so he doesn't
have to resize the columns now, and this actually provides a better UI
for editing "the record"
Om Shanti
Brahmanathaswami
Kauai Aadheenam
On 11/28/12 1:08 PM, J. Landman Gay wrote:
> On 11/28/12 3:53 PM, Richard Gaskin wrote:
>> J. Landman Gay wrote:
>>> This sounds like a good candidate for the new field properties. Make
>>> the
>>> first line of the field the header. Set its backgroundcolor, and if you
>>> want, add some spaceabove and spacebelow. Add a borderwidth if you
>>> want,
>>> or a textstyle. See the release notes for all the cool new paragraph
>>> features you can use. Basically almost all the field-level
>>> properties we
>>> have can now be applied to individual lines.
>>>
>>> That's all you'd need to do. The tabstops will inherit from the field
>>> and everything will scroll normally because it's all one block of text.
>>> The only change you'd need to make would be to remove the first line of
>>> text in your scripts before processing any content.
>>
>> I think I'm missing something: how can we set the first line to NOT
>> scroll as the rest of the field is scrolled?
>
> The original request asked for a custom control that served as a list
> header. It would be a separate group that would have to synch to the
> content field as it scrolled.
>
> The easy solution is to make the first line of the field into the
> header and not worry about synching anything.
>
More information about the use-livecode
mailing list