Re: Two DB questions

2008-10-24 Thread Klaus Major
Hi Len, Klaus, It seems that you come from an old fashioned DB background (i.e., dBaseII, etc) where the idea of a record number meant something. Actually I come form nowhere (database wise) :-D And I really do not care about record numbers, I only want to display something like Record

Re: Two DB questions

2008-10-24 Thread Ruslan Zasukhin
On 10/23/08 3:45 PM, Klaus Major [EMAIL PROTECTED] wrote: Hi Klaus, Strastwutje Ruslan, Gutten tak, On 10/23/08 2:55 PM, Jan Schenkel [EMAIL PROTECTED] wrote: --- Klaus Major [EMAIL PROTECTED] wrote: Hi all, 1. One can move to the first/prev/next/last record in a DB cursor with:

Re: Two DB questions

2008-10-24 Thread Ruslan Zasukhin
On 10/24/08 10:29 AM, Klaus Major [EMAIL PROTECTED] wrote: It seems that you come from an old fashioned DB background (i.e., dBaseII, etc) where the idea of a record number meant something. I will argue to Len. 1) Klaus did asked about random POSITION of cursor. 2) about how to find it again

Re: Two DB questions

2008-10-24 Thread Klaus Major
Hi Ruslan, On 10/23/08 3:45 PM, Klaus Major [EMAIL PROTECTED] wrote: Hi Klaus, Strastwutje Ruslan, Gutten tak, Oh, you also speak Polish :-D Just kidding. ... Some good news for Klaus :-) Valentina for Revolution, allows random move on cursor records, It have method Vcursor_Position( N

Re: OT: take-up of netbooks has been staggering

2008-10-24 Thread Bernard Devlin
Hi Kay, Unfortunately the finger can't be pointed at Notes. For 4 months I was using Rev 2.9 on Vista alone (my powerbook had died), and was only archving things into Notes. When I got the AA1 I used scp/ftp to move stacks between Vista and Linux. Mostly Notes is just my archive. I rarely have

Re: [ANN] and Re: Problem with mask

2008-10-24 Thread Wilhelm Sanke
Scott Rossi wrote: I am wondering if we could avoid or suppress the flickering that appears when taking the snapshot? Yes, there are probably a couple of ways to eliminate the visible selection/creation of the mask (which is surprisingly more trouble than expected), but the intention of this

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread coiin
I'm sure your handler will come in useful, but out of interest, would the Edit menu item Paste Unformatted not take care of many of the cases? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe,

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Mark Schonewille
Hi Hugh, What about this: on commandKeyDown theKey if theKey is V and the selectedField is not empty then lock screen paste put the text of the selectedField into the selectedField unlock screen else pass commandKeyDown end if end commandKeyDown (I haven't tested it)

[TIP] How to ensure plain pasted text

2008-10-24 Thread Hugh Senior
A little something to keep in your Scripter's Scrapbook for when you need it... How do we ensure plain text when we copy and paste from another program? Pasting text from a Browser or an email often results in an unwanted text format that doesn't match the field's default style. This is annoying

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Björnke von Gierke
I'm not sure this holds true for win or linux (or older rev versions then 2.8.1), but on mac os x, when there's styled text in the clipboard, both the html and the text values of the clipboarddata array hold their respective value. Therefore this proved sufficient in one of my projects:

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Björnke von Gierke
After a few seconds of thinking (amazing what that can do for you...), I realised that the script as posted is pretty much useless. I transformed an existing script from a rawKeyDown handler of a field, omissing mission critical changes. So for having this done on every field on a card or

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Thomas McGrath III
Thanks Hugh, This was very informative. I have not used the templateField before since I did not think I had a need for it but after this great explanation I think I might find some uses here in the near future. Thanks again, Tom McGrath On Oct 24, 2008, at 5:24 AM, Hugh Senior wrote: A

Overcoming overlapping (obscured) map areas

2008-10-24 Thread Adrian Williams
In trying to create a clickable map (using a graphic of a blob of ink), I encounter problems with overlapping areas when using the HTML method. It is to be viewed online, but an application may do just as well. The red areas that get highlighted at MouseOver represent letters of the alphabet.

Re: Two DB questions

2008-10-24 Thread Bob Sneidar
On Oct 23, 2008, at 8:33 PM, Len Morgan wrote: Klaus, It seems that you come from an old fashioned DB background (i.e., dBaseII, etc) where the idea of a record number meant something. If you read up on the history of SQL, you'll see that one of reasons for SQL was to get rid of the

Run Rev's within() function--Was: Problem with mask

2008-10-24 Thread James Hurley
Wilheim, I see what you mean about the those flipping (no vulgarity intended) flat spots, depending on the direction of the scan, left to right, or right to left. I have no way to account for this. I suspect the flip flop must occur when setting the alphaData, but that is a wild guess.

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Hugh Senior
on commandKeyDown pKey if pKey = V then set the htmlText of the templateField to the clipboardData[HTML] if the autoTab of the selectedField then get the text of the templateField replace RETURN with SPACE in it set the text of the templateField to it

Re: making a tooltip (for Japanese)

2008-10-24 Thread Kenji Kojima
Hi Nicolas, go stack url http://www.kenjikojima.com/runrev/handbook/download/jpTooltip.rev -- Kenji Kojima http://www.kenjikojima.com/ On Oct 23, 2008, at 12:04 AM, Nicolas Cueto wrote: Hello List, I'd like to add a tooltip with Japanese text to objects, and am looking for suggestions

Re: Overcoming overlapping (obscured) map areas

2008-10-24 Thread viktoras didziulis
Hi Adrian, if you use blobs of ink and transparent backgrounds, everything should work in either environment... When I need bloby maps in Revolution, I draw vector drawings and then set the visible of graphic myMapNo to true or false. Works perfectly. You can not do this for webpages in

Run Rev's within() function--Was: Problem with mask

2008-10-24 Thread James Hurley
Oops. Maybe some of you have discovered the my user defined within function was wrong--I get the digest version of the List. It should have been: --User defined within function if dx = 0 and dx 101 and dy =0 and dy 101 then put true into myWithin else put false into myWithin

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Stephen Barncard
How would this particular menu item and its script magically be created in an app? I'm sure your handler will come in useful, but out of interest, would the Edit menu item Paste Unformatted not take care of many of the cases? -- stephen barncard s a n f r a n c i s c o - - - - - - - -

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Joe Lewis Wilkins
Hi Stephen, If you've copied something, paste unformatted is already in the Edit Menu of 3.0s IDE. Joe Wilkins On Oct 24, 2008, at 3:04 PM, Stephen Barncard wrote: How would this particular menu item and its script magically be created in an app? I'm sure your handler will come in

Re: making a tooltip (for Japanese)

2008-10-24 Thread Nicolas Cueto
Hi Kenji, Thank you! One question: how to set the text contained in the cJpToolTip customprop of an object? I tried directly, cut and paste, and set cJpTooltip to unicode/uniencode(field text,(Japanese)), but no luck. -- Nicolas Cueto ___

Re: making a tooltip (for Japanese)

2008-10-24 Thread Kenji Kojima
Hi NicoNico-san, Did you try set the cJpTooltip of btn shikaku to unidecode(四角いボタン, utf8) from message box? Best regards, -- Kenji Kojima http://www.kenjikojima.com/ On Oct 24, 2008, at 7:04 PM, Nicolas Cueto wrote: Hi Kenji, Thank you! One question: how to set the text contained in

Re: making a tooltip (for Japanese)

2008-10-24 Thread Devin Asay
On Oct 24, 2008, at 5:04 PM, Nicolas Cueto wrote: Hi Kenji, Thank you! One question: how to set the text contained in the cJpToolTip customprop of an object? I tried directly, cut and paste, and set cJpTooltip to unicode/uniencode(field text,(Japanese)), but no luck. Nicolas, If you want

Re: [TIP] How to ensure plain pasted text

2008-10-24 Thread Stephen Barncard
I know that, but it's useless when one has custom menus in the app. Hi Stephen, If you've copied something, paste unformatted is already in the Edit Menu of 3.0s IDE. Joe Wilkins -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - -

Re: making a tooltip (for Japanese)

2008-10-24 Thread Nicolas Cueto
Thanks Kenji and Devin. That worked somewhat, but not if the custom prop contains more than one line, in which case only the first line is visible in the tooltip field. -- Nicolas Cueto ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: making a tooltip (for Japanese)

2008-10-24 Thread Kenji Kojima
Hi Nicolas, Use a text field when you set the custom property that Devin wrote. set the cJptoolTip of btn whatever to unidecode(the unicodeText of fld mytext,utf8) and change the script to on setJpTooltip put the seconds into lEnterSec set the unicodeText of fld jpTooltip to

Re: making a tooltip (for Japanese)

2008-10-24 Thread Nicolas Cueto
-- these two lines were added. Adjust -4 to any number. set the height Oops. Here's me thinking I had to do some unicode stuff with end-of-line chars. Never thought it was just a height issue. Thanks again, Kenji. -- Nicolas Cueto ___