Search found 175 matches

by dglass
Tue Jun 28, 2011 4:08 pm
Forum: chartsEngine
Topic: Missing Values and Legend/Series - SOLVED
Replies: 3
Views: 9363

Re: Missing Values and Legend/Series - SOLVED

Putting spaces in the empty datapoints:

1293868800,50,50, ,

so that's '50,<space>,<space>'

triggers whatever needs to be triggered in CE for the series to show up properly.
by dglass
Tue Jun 28, 2011 7:00 am
Forum: chartsEngine
Topic: Missing Values and Legend/Series - SOLVED
Replies: 3
Views: 9363

Missing Values and Legend/Series - SOLVED

Given the following data: 1293868800,50,50,, 1328083200,50,30,20, 1330588800,,30,20,40 1354348800,,,, A stacked bar graph will look like this: LiveCodeScreenSnapz014.jpg Presumably, Project 4 is not shown in the legend because it doesn't have a numeric value in the first dataset (seconds,50,50,,), b...
by dglass
Tue Jun 28, 2011 5:03 am
Forum: chartsEngine
Topic: Axis Labels
Replies: 3
Views: 9228

Axis Labels

There doesn't seem to be a way to label the axes. Is this correct? If so, is there any way it could be added?
by dglass
Tue Jun 28, 2011 4:51 am
Forum: chartsEngine
Topic: Min/Max X/Y clarification
Replies: 2
Views: 8615

Min/Max X/Y clarification

charts["minX"] charts["maxX"] charts["minY"] charts ["maxY"] Summary: If set to a number, that value will be used as a minimum value for the xAxis. If set to a number, that value will be used as a maximum value for the xAxis. If set to a number, that value will be used as a minimum value for the yA...
by dglass
Mon Jun 27, 2011 11:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: From Summer Academy - How can we use our credits?
Replies: 14
Views: 7409

Re: From Summer Academy - How can we use our credits?

There's a post in the SA forum (Summer Academy Credits) from hanson that provides a bit more detail on the timeframe.

The e-mail I received after I sent my tokens in (on the 21st) said to expect an e-mail 'after [the] 27th', so I would give it a couple of days.
by dglass
Sat Jun 25, 2011 8:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Database Loop
Replies: 2
Views: 2171

Re: Database Loop

Since you have cursor/recordset (tCursor) your loop would look like this:

Code: Select all

repeat until revQueryIsAtEnd(tCursor)

....do whatever you need to do with the current record           

revMoveToNextRecord tCursor
end repeat
by dglass
Sat Jun 25, 2011 12:28 am
Forum: Databases
Topic: Unable to open database
Replies: 3
Views: 3436

Re: Unable to open database

Hi, Looks like you're opening and closing the database for every transaction. Open it once, then import all data, then close. If you have a repeat loop, give LiveCode some time to do its own thing by adding "messages": I thought I was only opening it once, when the application launched, but I'll ch...
by dglass
Sat Jun 25, 2011 12:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Delete Trial License
Replies: 7
Views: 4281

Re: Delete Trial License

I think he's saying that the trial license shows up in the activation dialog, and he has to click the arrow to select his paid license. So, he'd like to remove the trial license so it is automatically on the paid license. I see the same behavior, it just doesn't bother me because I only see that dia...
by dglass
Fri Jun 24, 2011 8:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the y and x loc of an image in a repeat
Replies: 10
Views: 5730

Re: Set the y and x loc of an image in a repeat

This compiles with no error.

Code: Select all

create image "Image" && i
      put it into theNewImage
      set the location of theNewImage to 90*i, 355
by dglass
Fri Jun 24, 2011 8:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Set the y and x loc of an image in a repeat
Replies: 10
Views: 5730

Re: Set the y and x loc of an image in a repeat

You say your images are named 'Image1', 'Image2', 'Image3', etc., but you are setting the name:

set the location of Image "Image" && i to 90*i, 355

using the && operator which is going to result in 'Image 1', 'Image 2', 'Image 3', etc.
by dglass
Fri Jun 24, 2011 5:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: how do i refer to a database field by name?
Replies: 2
Views: 2183

Re: how do i refer to a database field by name?

put revdb_querylist(,,conID,tSQL) into ptext Those two commas you have at the front of the parameter list are telling LC to use the default delimiters for fields (tab) and records (return/CR). If you have tabs or returns in your data you need to specify different delimiters. Although, to be honest,...
by dglass
Fri Jun 24, 2011 5:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to slide stack into view
Replies: 16
Views: 10980

Re: Best way to slide stack into view

The attached seems to do what you want. a) because you have mouse handlers in your card script you need to 'pass' them along if you have them in any of the objects on that card. b) I added a check of sExitingMenu within the hiding loop in case the value changes while it is hiding. c) I added setting...
by dglass
Fri Jun 24, 2011 4:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to slide stack into view
Replies: 16
Views: 10980

Re: Best way to slide stack into view

In your 'mouseenter' handler you aren't setting sExitingMenu to false. If you add that what happens?
by dglass
Fri Jun 24, 2011 7:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to slide stack into view
Replies: 16
Views: 10980

Re: Best way to slide stack into view

You probably don't need the 'go to this stack' calls. I had that in the drawer example in an attempt to keep the parent stack in front of the 'drawer' stack. I would try something like... on mouseleave put true into sExitingMenu send "hidePanel" to me in 20 milliseconds end mouseleave on hidePanel i...
by dglass
Fri Jun 24, 2011 6:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to slide stack into view
Replies: 16
Views: 10980

Re: Best way to slide stack into view

put a 'with messages' at the end of the 'wait' call.

I commented that bit out in the example stack, so it's there ... waiting.

Go to advanced search