Search found 956 matches

by Janschenkel
Tue Jul 10, 2007 12:00 pm
Forum: CGIs and the Server
Topic: MySQL and CGI ; wrong engine ?
Replies: 9
Views: 15573

Hi Eric, The difference in version number is historic: originally, Revolution wasd an alternative IDE for the MetaCard engine. The engine and IDe versions didn't match until Revolution 2.7 came out. In this case, Revolution 2.1.2 was built on top of MetaCard 2.5, and the 'version' global property re...
by Janschenkel
Tue Jul 10, 2007 6:34 am
Forum: Databases
Topic: Database as part of Standalone app
Replies: 5
Views: 6591

Hi Dalkin,

MySQLrequires a setup to run, and this may get messy. If the database is single-user and local, you might be better off using the SQLite driver that comes with Revolution 2.8.1

Hope this helped,

Jan Schenkel.
by Janschenkel
Tue Jul 10, 2007 6:33 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to handle text (or chunk?) formatting?
Replies: 4
Views: 4586

Hi mluka, You can set the 'textStyle' property of individual chunks: set the textStyle of word 2 of line 3 of field "foobar" to "bold,italic" Or, you can play with the 'htmlText' property of the field to achieve the same result by inserting <b>...</b> tags in the proper places. When you're working w...
by Janschenkel
Tue Jul 10, 2007 6:28 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: newbie question; write to file, read from file?
Replies: 12
Views: 9559

Hi Homer, The line separator differs between platforms: Unix prefers linefeed (ASCII 10), Mac Classic prefers carriage return (ASCII 13, and Windows prefers carriageReturn+lineFeed (ASCII 13+10). When you use the 'URL' keyword to create files, Revolution will take care of this for you: put theDataTo...
by Janschenkel
Tue Jul 10, 2007 6:21 am
Forum: Databases
Topic: Is there a faster way to display a large SQL result?
Replies: 3
Views: 5169

Hi Paul, As Mark suggested, the 'revdb_querylist'/'revDataFromQuery' functions may do the trick more quickly, as the concatenation is done in compiled C++ code rather than the Revolution scripting language. If these functions are still taking too long, you could try and fake a multi-threading approa...
by Janschenkel
Mon Jul 09, 2007 12:29 pm
Forum: Databases
Topic: Linking to MS Access Database on Local Drive
Replies: 14
Views: 30498

In 'standard' SQL, strings are opened and closed with apostrophes, not quotes - some SQL databases may allow both quotes and apostrophes, but Access is not one of them. Try 'escaping' the apstrophe instead: on mouseUp put "Update Campers Set LastName='" & SQL_Escaped(fld LastName) & "' where ID=" & ...
by Janschenkel
Tue Jul 03, 2007 11:41 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Trouble with Tabstop/traversalOn and textbox widths
Replies: 3
Views: 3753

Hi Paul, Before I answer your actual question, here's a tip with regards to properties and the inspector palette: iif you want to see the actual property names as used in the programming language, modify the preferences. In the 'General' tab, at the top you see a radio set to control whether the pro...
by Janschenkel
Mon Jul 02, 2007 11:39 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Refresh problem
Replies: 2
Views: 3382

Hi Kai,

To force the geometry to be recalculated, go to the Card inspector, then to the 'Geometry' panel, and tick the checkbox "Update before opening card".
Strange that this isn't the default, but what can you do?

HJope this helped,

Jan Schenkel.
by Janschenkel
Fri Jun 08, 2007 11:46 am
Forum: Talking LiveCode
Topic: Checkmark on menu items???
Replies: 5
Views: 4450

Hi Garrett, You can set the 'hilite' property of the menuitem: set the hilite of menuItem 3 of button "Foobar" to true You can only refer to menitems by number, not by name or label. Alternately, you can modify the 'text' property of the menu button: put "!c" before line 3 of button "foobar" put "!r...
by Janschenkel
Thu May 24, 2007 12:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Database applications
Replies: 1
Views: 3156

Hi Kai, The database query linked controls provide a quick way to put together a user interface to an existing database. There are some tricks that can be applied to modify and refresh queries as you navigate result sets of other queries, etc. But it's not like FileMaker or Access and to get to the ...
by Janschenkel
Thu May 24, 2007 12:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Database action front scripts
Replies: 2
Views: 3169

Hi Kai, Open the Messsage Box - use the buttons at the top of this window to display the 'Front Scripts' panel - then tick the checkbox 'Show Revolution UI Front Scripts' - now you'll see a line 'revDatabase' appear in the list. You can doubleclick this to see how the database query linked objects a...
by Janschenkel
Thu May 03, 2007 11:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Table field?
Replies: 2
Views: 3828

Hi Kai,

Here's a link to one implementation of a custom table and graph control:
http://www.rpi.edu/~simonk/technical.html

Hope this helped,

Jan Schenkel.
by Janschenkel
Wed Apr 25, 2007 1:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Masked input?
Replies: 4
Views: 5320

Hi Kai, Revolution is by nature a general-purpose development tool. Dataabse front-ends are far more likely to have fields with input masks, maximum length, automatic uppercasing etc. And even database vendor Progress didn't introduce a password field until Progress OpenEdge 10.1B in February of thi...
by Janschenkel
Mon Apr 16, 2007 12:21 pm
Forum: Talking LiveCode
Topic: How to get rid of "Publisher could not be verified"
Replies: 1
Views: 3187

Hi Pradeep, This is Windows Vista and its user control for you: when an executable has not been 'signed' with a digital signature, it will warn the user that the publisher could not be verified and this might be spyware. From a recent post by Bill Mariott on the Use-Revolution mailing list: In order...
by Janschenkel
Mon Apr 16, 2007 12:05 pm
Forum: Talking LiveCode
Topic: [ANN] BvG Docu
Replies: 10
Views: 8362

Hi Bjoernke, Thank you for writing this alternative - while some aspects of its look and feel are not my cup of tea, I especially appreciate the separate list field for related items, as well as the working history. However, when I ran this on Windows XP, the 'miniMe' version crashed Revolution when...

Go to advanced search