Search found 19 matches

by bamakojeff
Tue Mar 12, 2024 12:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: background color of text with metadata
Replies: 35
Views: 2526

background color of text with metadata

I am using set the backgroundcolor of char X to Y of fld "Z" to "color" to highlight text in a field. But if I add metadata to the text, then the background color has "gaps" in it - lines one pixel wide where the new background color is not set. This happens whether you use htmltext in the field and...
by bamakojeff
Thu Dec 15, 2022 3:08 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dgVisibleLines for "normal" fields
Replies: 17
Views: 5917

Re: dgVisibleLines for "normal" fields

Thank you Klaus, for the technical info as well as the etiquette info. My apologies for being brusque. I've been coding for 40 years, but am entirely new to livecode. It's been a long time since I joined a new forum, and I'd forgotten my manners. :-) I know about the "visible" property, but didn't k...
by bamakojeff
Thu Dec 15, 2022 4:54 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dgVisibleLines for "normal" fields
Replies: 17
Views: 5917

Re: dgVisibleLines for "normal" fields

Thank you. But I want to know WHICH lines are visible. Your code tells me how many lines can be seen in the viewport, but not which lines. I want to know that lines 3 to 5 are visible or that line 7 is visible. The dgVisibleLines property of a datagrid gives you this information. It returns a comma ...
by bamakojeff
Wed Dec 14, 2022 9:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dgVisibleLines for "normal" fields
Replies: 17
Views: 5917

dgVisibleLines for "normal" fields

Do fields in livecode have any way to tell which lines are visible in the viewport? Like the dgVisibleLines property for a datagrid.

I mean lines here as the livecode chunk objects, text separated by a return. "Lines" as in 'the number of lines in fld "X"'.

Go to advanced search