Search found 50 matches

by tellboy
Tue Jan 28, 2014 3:11 pm
Forum: Talking LiveCode
Topic: Alternating Row Colors of a Data Grid
Replies: 13
Views: 1168

Re: Alternating Row Colors of a Data Grid

I will try to describe it again. I want each row of the Data Grid to always be the same colour. The Data Grid has 20 rows Odd rows always white Even rows always blue Text always black The row colour should stay the same Irrespective of the scroll position. So rows 1,3,5,7,9,11,13,15,17,19 will alway...
by tellboy
Tue Jan 28, 2014 1:31 pm
Forum: Talking LiveCode
Topic: Alternating Row Colors of a Data Grid
Replies: 13
Views: 1168

Re: Alternating Row Colors of a Data Grid

Yes, it probably is the background colour but when I tried to fathom the scripting of the Data Grid it seems an image is created for the background colours but I may be wrong. I currently have the default white/blue for each of the rows and when I use the scroll bar the text scrolls. The colours of ...
by tellboy
Tue Jan 28, 2014 12:59 pm
Forum: Talking LiveCode
Topic: Alternating Row Colors of a Data Grid
Replies: 13
Views: 1168

Alternating Row Colors of a Data Grid

When you select “alternating row colours” of a Data Grid and you scroll the Data Grid the colours of the rows alternate as it scrolls.

Does anyone know how to have the alternate row colours but for these colours to remain fixed as the Data Grid Scrolls?

All the best
by tellboy
Wed Oct 23, 2013 12:10 pm
Forum: Mac OS
Topic: OS X Mavericks
Replies: 1
Views: 1086

OS X Mavericks

Just installed Mavericks and now the data grid is not scrolling properly.

Here is an image that occurs when scrolling with the mouse button:
Screen Shot 2013-10-23 at 12.04.06.png
Screen Shot 2013-10-23 at 12.04.06.png (5.51 KiB) Viewed 1086 times

Anyone else having troubles.

Terry
by tellboy
Mon Oct 21, 2013 7:08 pm
Forum: Talking LiveCode
Topic: Constructing a PieChart
Replies: 3
Views: 901

Re: Constructing a PieChart

I have for the moment settled on put round(tValue/tTotalValue * 360) into tArcAngle Then for the next segment add tArcAngle to tStartAngle When I get to the last segment I do: if n = tNumOfSegs then if tStartAngle + tArcAngle < 360 then put 360 - tStartAngle into tArcAngle end if end if So far it se...
by tellboy
Sat Oct 19, 2013 10:26 am
Forum: Talking LiveCode
Topic: Constructing a PieChart
Replies: 3
Views: 901

Constructing a PieChart

How do you resolve the issue of arc angles that do not calculate to an integer. The arc angle of a graphic does not accept anything but integers as can be seen from the image. You can overcome it by using round but that seems to affect the last segment, particularly when it is only a small value. An...
by tellboy
Tue Jul 09, 2013 2:31 pm
Forum: Feature Requests
Topic: Active Topics
Replies: 0
Views: 544

Active Topics

Hi,

Not sure where to ask this question, I suppose here will do.

Can someone advise me what constitutes an "Active Topic"

I like to glance through "Active Topics" to see what is going on but....

Not all posts seem to get into "Active Topics"

Can someone advise please?

Thanks
by tellboy
Sat Jun 22, 2013 8:17 am
Forum: Talking LiveCode
Topic: This might be useful for some (New AGAIN)
Replies: 28
Views: 8112

Re: This might be useful for some (New NEW N E W)

Hi,

This is excellent work.:)

However, there is a slight visual discrepancy. In the sample stack the width of the title bar is slightly more than the width of the section buttons.

All the best

Terry
by tellboy
Fri Jun 21, 2013 12:07 pm
Forum: Talking LiveCode
Topic: DataGrid
Replies: 9
Views: 2140

Re: DataGrid

No need for me to do that as I understand how to script the DataGrid. I was talking about the stack itself, not the lesson. Just to check if you have the same speed problem with this stack (that handles much more records than yours). I apologise, I misunderstood. I have tried this stack and it does...
by tellboy
Fri Jun 21, 2013 9:04 am
Forum: Talking LiveCode
Topic: DataGrid
Replies: 9
Views: 2140

Re: DataGrid

Hi,

No need for me to do that as I understand how to script the DataGrid.

Thanks anyway.

All the best

Terry
by tellboy
Fri Jun 21, 2013 7:54 am
Forum: Talking LiveCode
Topic: DataGrid
Replies: 9
Views: 2140

Re: DataGrid

Yes, I have tried both methods. If I use the dgText method there is a slight but noticeable delay while the data set is loaded by SQLite and the scrolling smoothness does not really improve and if my database increases in size then this delay will only become worse. I think I have bumped up against ...
by tellboy
Thu Jun 20, 2013 7:26 pm
Forum: Talking LiveCode
Topic: DataGrid
Replies: 9
Views: 2140

Re: DataGrid

How can I answer. It is hard to measure but compared to a Cocoa based NSTableView there is no comparison. They scroll smoothly. I know it us unfair to compare them but I am trying to get the best scrolling performance possible. When dragging quickly the scroll button cannot keep up with the cursor a...
by tellboy
Thu Jun 20, 2013 6:54 pm
Forum: Talking LiveCode
Topic: DataGrid
Replies: 9
Views: 2140

DataGrid

Hi, I have a standard DataGrid which is populated from an SQLite database containing approx. 2000 records. The DataGrid has 6 text columns although 2 of those contain numeric data. The DataGrid is populated using the GetDataForLine method. I am using a 2.4gHz Core 2 Duo Macbook Pro using Mountain Li...
by tellboy
Sun Apr 07, 2013 2:23 pm
Forum: Mac OS
Topic: Printing as sheet
Replies: 5
Views: 1979

Re: Printing as sheet

using the wait to give the engine time to catch its breath.. Thanks for the reply, I have amended my script to : answer page setup as sheet wait 0 millisecs with messages open printing with dialog as sheet if the result is "Cancel" then exit mouseUp wait 0 millisecs with messages print cd "barChart...
by tellboy
Sun Apr 07, 2013 10:04 am
Forum: Mac OS
Topic: Printing as sheet
Replies: 5
Views: 1979

Printing as sheet

When I use the following script it takes an age (seconds) for the dialogue boxes to appear: answer page setup as sheet open printing with dialog as sheet if the result is "Cancel" then exit mouseUp print cd "barChart" from 0,0 to tRight,tBottom + 150 close printing When I use the script but without ...

Go to advanced search