Float Values and Valentina

2009-06-10 Thread Antuan Johnson
Hi All, I'm currently working with float values in valentina and I'm wondering is there a way to limit the number of decimals in a float to lets say 2 or 3 like 0.66 or 0.666 instead of how it currently is which is something like 0.6667, its accurate and all but im afraid it may slow down

Re: Drag images into text field

2009-06-10 Thread Richmond Mathewson
The problem is that if you want to put an image into a textField you cannot;you can reference an image to replace a char: e.g.set the imageSource of char 15 of line 5 of fld xx to 1003 but this is a bit hopeless re drag-and-drop. On Wed, Jun 10, 2009 at 3:47 AM, Josep jmye...@mac.com wrote:

Lost global variables when running on Windows

2009-06-10 Thread Francis Nugent Dixon
Hi from Paris, I'm running Rev 3.0 on my Mac, and I built a standalone Splashstack, so I could run on Windows and update my stacks in real time. I generate the Mac version, and the PC version of the SplashStack standalone at the same time. My SplashStack on my Mac calls my .rev file, and all

Re: Float Values and Valentina

2009-06-10 Thread Ruslan Zasukhin
On 6/10/09 11:31 AM, Antuan Johnson amjohnso...@gmail.com wrote: Hi Antuan, I'm currently working with float values in valentina and I'm wondering is there a way to limit the number of decimals in a float to lets say 2 or 3 like 0.66 or 0.666 instead of how it currently is which is something

Re: Datagrid problem in standalone

2009-06-10 Thread Beat Cornaz
on june 9th Trevor wrote : After quitting Rev you should backup and replace the revdatagridlibrary.rev stack in the ./Toolset/ folder of your Rev installation with the stack I sent you. The IDE will use this stack when it launches and when it builds the standalone. I had done that already

What a Drag?

2009-06-10 Thread Richmond Mathewson
I'm a bit slow on the uptake, and will continue to be so until the good folk at Edinburgh press a copy of RR 4 into my sweaty paws at the conference. So I was a bit disturbed when I read a message from a chap who was proposing to drag image files from outwith RunRev and drop them into a field.

Re: Tab in datagrid

2009-06-10 Thread Trevor DeVore
On Jun 9, 2009, at 9:29 PM, Hershel Fisch wrote: Question, when something goes wrong with the closefield function then the fld that's selected doesn't close and looses functionality, how should this get back to normal? Did the editing field stick around? Select it by resting the cursor

Re: What a Drag?

2009-06-10 Thread Björnke von Gierke
as far as I know, it's not used in the ide, but it is possible to use the drag/drop stuff to implement it yourself. On 10 Jun 2009, at 14:18, Richmond Mathewson wrote: I'm a bit slow on the uptake, and will continue to be so until the good folk at Edinburgh press a copy of RR 4 into my

Re: What a Drag?

2009-06-10 Thread Richmond Mathewson
Björnke von Gierke wrote: as far as I know, it's not used in the ide, but it is possible to use the drag/drop stuff to implement it yourself. Pray tell ? On 10 Jun 2009, at 14:18, Richmond Mathewson wrote: I'm a bit slow on the uptake, and will continue to be so until the good

Crossplatform EURO sign?

2009-06-10 Thread kl...@major.on-rev.com
Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated isotomac/mactoiso, so how do you handle user input of this (and other) character(s) in your crossplatform apps/stacks/databases? Not to mention of ERUO signs in label fields, when

Re: Crossplatform EURO sign?

2009-06-10 Thread Devin Asay
On Jun 10, 2009, at 7:15 AM, kl...@major.on-rev.com wrote: Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated isotomac/mactoiso, so how do you handle user input of this (and other) character(s) in your crossplatform

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
Just tried that by running up a stack on Mac: worked on Mac, didn't on Ubuntu 8.04 sorry! Devin Asay wrote: On Jun 10, 2009, at 7:15 AM, kl...@major.on-rev.com wrote: Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated

Re: Crossplatform EURO sign?

2009-06-10 Thread Devin Asay
On Jun 10, 2009, at 8:40 AM, Richmond Mathewson wrote: Just tried that by running up a stack on Mac: worked on Mac, didn't on Ubuntu 8.04 sorry! Sometimes you first have to set the field's font to a unicode font. What happens if you assign a unicode font to the field, then set the

OS X Help files

2009-06-10 Thread jim sims
Is there some way to use standard OS X Help files with Rev? I'm talking about Leopard only. Or, do people either make a small stack or access a set of web pages? What are you folks using? sims ___ use-revolution mailing list

Re: OS X Help files

2009-06-10 Thread Richard Gaskin
jim sims wrote: Is there some way to use standard OS X Help files with Rev? I'm talking about Leopard only. Or, do people either make a small stack or access a set of web pages? What are you folks using? For WebMerge I use HTML pages, a good fit for a web production tool. But for most

Re: OS X Help files

2009-06-10 Thread Neal Campbell
I use Helplogic by Electric Butterfly (man I wish I had chosen THAT name before they did). It can build chm and apple files, plus they have a plugin for Realbasic (I know) if you happen to use that language. I think their website is www.ebutterfly.com if memory serves but it is a commercial

Re: OS X Help files

2009-06-10 Thread Jim Sims
On Jun 10, 2009, at 5:28 PM, Richard Gaskin wrote: jim sims wrote: Is there some way to use standard OS X Help files with Rev? I'm talking about Leopard only. Or, do people either make a small stack or access a set of web pages? What are you folks using? For WebMerge I use HTML pages,

How to put a minus in menu

2009-06-10 Thread Beat Cornaz
How do I put a starting minus (e.g. -4) in a menu item? The minus gets interpreted as a separation line and nothing I tried worked. Also in the manual there was nothing. Greetings, Beat ___ use-revolution mailing list

Re: How to put a minus in menu

2009-06-10 Thread Joe Lewis Wilkins
How about preceding the minus with a back slash? Joe Wilkins On Jun 10, 2009, at 8:50 AM, Beat Cornaz wrote: How do I put a starting minus (e.g. -4) in a menu item? The minus gets interpreted as a separation line and nothing I tried worked. Also in the manual there was nothing. Greetings,

Re: How to put a minus in menu

2009-06-10 Thread Klaus on-rev
Hi Beat, How do I put a starting minus (e.g. -4) in a menu item? The minus gets interpreted as a separation line and nothing I tried worked. Also in the manual there was nothing. Check this enhancement request: http://quality.runrev.com/qacenter/show_bug.cgi?id=5822 As Joe already pointed

Re: Crossplatform EURO sign?

2009-06-10 Thread Klaus on-rev
Hi Devin, On Jun 10, 2009, at 7:15 AM, kl...@major.on-rev.com wrote: Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated isotomac/mactoiso, so how do you handle user input of this (and other) character(s) in your crossplatform

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
According to the documentation Bitstream Vera is a unicode font, but your added code didn't bite. Devin Asay wrote: On Jun 10, 2009, at 8:40 AM, Richmond Mathewson wrote: Just tried that by running up a stack on Mac: worked on Mac, didn't on Ubuntu 8.04 sorry! Sometimes you first

Re: Crossplatform EURO sign?

2009-06-10 Thread Andre Garzia
Klaus, want to do a cheap trick? create a little euro sign png or jpeg and use the imagesource of char something to put it inside a field, or use the htmltext with something like img src=id of image / and there you'll have your EURO icon inside a field and no need to fiddle with fonts! :D On

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
The only problem I can see with that is if the end-user has the ability to resize fonts in the text-field; if the fonts are too big the Euro will look small and silly, if the fonts are too small the Euro png will overlap adjacent chars. Andre Garzia wrote: Klaus, want to do a cheap trick?

Re: Crossplatform EURO sign?

2009-06-10 Thread Andre Garzia
Richmond, except that you can resize the pngs and jpegs using rev itself and thus had a image that will always look good. Before setting the htmltext, you get the size of the text font being used and then simply resize your euro icon. If you start with a big icon, and reduce it to the current

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
Andre Garzia wrote: Richmond, except that you can resize the pngs and jpegs using rev itself and thus had a image that will always look good. Before setting the htmltext, you get the size of the text font being used and then simply resize your euro icon. If you start with a big icon, and reduce

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
Going about things the wrong way! Try this one: set the useUnicode to true set the unicodeText of fld euro to (NumToChar(8364)) 8364 is the Decimal of Hex 20AC works on the G4 Mac, get (at least) a single character, instead of the 3 generated by the previous script on Ubuntu 8.04 BLAST!

Re: What a Drag?

2009-06-10 Thread Björnke von Gierke
you'd need to catch the drop (of course), and if it's a image file (you'd need to find it out via the dragdata[files]) then you create an image object (referenced or imported, depending on what you want) and finally set a chars imagesource. On 10 Jun 2009, at 14:47, Richmond Mathewson

Re: Crossplatform EURO sign?

2009-06-10 Thread Richmond Mathewson
Hi Klaus, http://www.fileformat.info/info/unicode/char/20ac/browsertest.htm Klaus on-rev wrote: Hi Devin, On Jun 10, 2009, at 7:15 AM, kl...@major.on-rev.com wrote: Hi all, any hint on how to handle crossplatform EURO signs? I mean the euro sign is unfortunately NOT translated

Re: Crossplatform EURO sign?

2009-06-10 Thread Devin Asay
On Jun 10, 2009, at 1:09 PM, Richmond Mathewson wrote: Going about things the wrong way! Try this one: set the useUnicode to true set the unicodeText of fld euro to (NumToChar(8364)) 8364 is the Decimal of Hex 20AC works on the G4 Mac, get (at least) a single character, instead of the 3

expanding an error description

2009-06-10 Thread Phil Davis
Has anyone already developed a code snippet that does this? I help maintain some software whose users can sometimes generate an error by entering malformed data in a given field (e.g. non-numeric data where math is done after data is moved into temp variables). What I'm looking for is some

Re: expanding an error description

2009-06-10 Thread Richard Gaskin
Phil Davis wrote: I help maintain some software whose users can sometimes generate an error by entering malformed data in a given field (e.g. non-numeric data where math is done after data is moved into temp variables). What I'm looking for is some code that displays the contents of the

Re: expanding an error description

2009-06-10 Thread Trevor DeVore
On Jun 10, 2009, at 4:27 PM, Phil Davis wrote: Has anyone already developed a code snippet that does this? I help maintain some software whose users can sometimes generate an error by entering malformed data in a given field (e.g. non-numeric data where math is done after data is moved

error with revIDEHandleMouseUp ?

2009-06-10 Thread Curt Ford
A substack which has so far been behaving itself is acting strangely.. when I open the substack from its mainstack (via a pulldown menu), the IDE seems to freeze; after a minute or so I get an error: 'The handler: revIDEHandleMouseUp has reached the recursion limit of: 40. Execution

Re: expanding an error description

2009-06-10 Thread DunbarX
It seems far more important, and far easier in the long run, to validate entry data before it gets anywhere close to being mishandled. Check to see if numbers are numbers, dates are dates, etc. I would bet that the errors fall into a very few categories, and these can all be screened early on.

Re: Drag images into text field

2009-06-10 Thread Mike Markkula
This script works for me... TheAllowableFileTypes global is just a list of the file types Rev handles and is set in an openStack handler when the app is launched. The ³importImage² function imports the image, scales it to a size set in the app¹s preferences, adds it to an images library stack,

Re: Tab in datagrid

2009-06-10 Thread Hershel Fisch
Hi, didn't get it, I have a dgTable, editable flds with e.g. CloseField in the grp, if for some reason the closeFld didn't work meaning there is a problem with the script then the doesn't close out it remain selected even when I go to another fld which they work. Also another question, I have

Re: expanding an error description

2009-06-10 Thread Phil Davis
Thanks guys! I knew there had to be a way and didn't want to spend time reinventing the wheel. Phil Trevor DeVore wrote: On Jun 10, 2009, at 4:27 PM, Phil Davis wrote: Has anyone already developed a code snippet that does this? I help maintain some software whose users can sometimes

Re: Tab in datagrid

2009-06-10 Thread Josep
Hi, Try this. on mouseUp put the dgNumberOfLines of group dg_detalle into tFilas if tFilas10 then put 0 tFilas+1 into tLinea else put tFilas+1 into tLinea end if dispatch addLine to group dg_detalle with tLinea dispatch ResetList to group dg_detalle end

Re: expanding an error description

2009-06-10 Thread Paul Looney
Craig, I agree with you on both points. The advantage of good, universal, background error reporting is: 1. It helps pinpoint errors you've failed to trap (especially on large, complex systems) and 2. You can provide immediate, meaningful help to users encountering such errors. Paul Looney

Re: expanding an error description

2009-06-10 Thread Phil Davis
Right you are! And if I had written the app, that's how it would work. But right now it's more expedient for me to fix error reporting than to go through the system (it's really a set of apps) and change untold dozens of data entry points. Thanks Craig - Phil dunb...@aol.com wrote: It seems

Re: expanding an error description

2009-06-10 Thread dunbarx
Right I am'hell. I did not know you had taken on someone else's app. --Original Message-- From: Phil Davis Sender: use-revolution-boun...@lists.runrev.com To: How to use Revolution ReplyTo: How to use Revolution Subject: Re: expanding an error description Sent: Jun 10, 2009 8:52 PM Right