Search found 972 matches

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: 1955

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: 3594

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: 2666

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: 9061

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: 1669

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: 1403

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: 1648

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: 1654

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: 1378

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: 2050

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: 2579

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: 1687

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: 3144

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...
by Janschenkel
Mon Apr 16, 2007 11:57 am
Forum: Talking LiveCode
Topic: How to reduce the size of the stack?
Replies: 3
Views: 2271

Hi Pradeep, The Revolution IDE will add a number of custom properties to your controls as you edit scripts and make other modifications. These IDE-specific data chunks help the IDE remember what text was selected when you last saved the script, etc. Chipp Walters of Altuit has created a plugin to he...
by Janschenkel
Sun Apr 15, 2007 4:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Interactive launch or open process?
Replies: 1
Views: 2064

Where you can 'read', you can usually 'write' - look at the 'write to process' command to send keystrokes to the stdIn of the previously opened process. on mouseUp put "telnet" && server_ip into tProcess open process tProcess read from process tProcess for 10 in 10 seconds put it into some_variable ...

Go to advanced search