AW: Mysteroius rev ghost buttons

2007-05-25 Thread Tiemo Hollmann TB
Thanks Dave Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Dave Gesendet: Freitag, 25. Mai 2007 00:44 An: How to use Revolution Betreff: Re: Mysteroius rev ghost buttons Hi, I've seen the IDE go beswick and store

Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Hello, I want to use with 2.8.1 the now integrated sqlite db and stumbled over two different sets of db functions. The first one start with revdb_, like revdb_connect and the other ones have names like revOpenDatabases. I have found examples for both, but probably one is old fashioned and one is

Re: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Sarah Reichelt
I want to use with 2.8.1 the now integrated sqlite db and stumbled over two different sets of db functions. The first one start with revdb_, like revdb_connect and the other ones have names like revOpenDatabases. I have found examples for both, but probably one is old fashioned and one is new and

Re: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Jan Schenkel
--- Tiemo Hollmann TB [EMAIL PROTECTED] wrote: Hello, I want to use with 2.8.1 the now integrated sqlite db and stumbled over two different sets of db functions. The first one start with revdb_, like revdb_connect and the other ones have names like revOpenDatabases. I have found examples

AW: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Thanks Jan for your explanations Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Jan Schenkel Gesendet: Freitag, 25. Mai 2007 12:13 An: How to use Revolution Betreff: Re: Difference between revdb_connect and

AW: Difference between revdb_connect and revOpenDatabases ?

2007-05-25 Thread Tiemo Hollmann TB
Thanks for clarifying that for me Sarah! Tiemo -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:use-revolution- [EMAIL PROTECTED] Im Auftrag von Sarah Reichelt Gesendet: Freitag, 25. Mai 2007 12:03 An: How to use Revolution Betreff: Re: Difference between revdb_connect and

Re: Suspend script execution.

2007-05-25 Thread Eric Chatonet
Hi Joe, Just modal your stack and use the dialogData property. For instance: set the dialogData to data -- preparing the dialog modal stack MyAnsdwerDialog -- use the dialogData in MyAnsdwerDialog preopenStack to set the dialog as you wish: prompt, labels, etc. -- execution will stop here

Re: Suspend script execution.

2007-05-25 Thread Mark Smith
Joe, the 'modal' command is what you want, I think. on mouseUp modal stack someDialog doSomething with the dialogData put someMessage end mouseUp Assuming you have a substack someDialog, executing the above in a btn script should open the dialog, wait for it to be closed, and then

Suspend script execution.

2007-05-25 Thread LunchnMeets
Hi Everyone, I’m trying to create my own ask and answer dialog boxes. In order to do that I must be able to suspend a script awaiting my custom dialog box input. Then I want to continue the same script. I tried using the wait command, but that won ’t allow any input while waiting. All

best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv
Hi list, What is the best way to define clickable maps / areas with irregular shapes on a large background image ? I've tried transparent graphics, and also a mousemove handler in the card script, but nothing seems to work really well... thanks, JB

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet
Hi JB, As png images with transparency (alpha channel) receive mouse messages only in non transparent areas, here is a way to do the trick: Open your original image in PhotoShop or any image editor you use and erase all non hotspots places then save this modified image as a png. Hotspots

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet
Additional tip: In the modified image (see below), you can replace all hotspots with a solid color: the resulting png will be very light. In such a case, the blend level of the image will be set to 100 but can be changed to another well chosen value to show hotspots if needed. Le 25 mai 07

Re: Filling in PDF forms

2007-05-25 Thread Rob Cozens
Hi David, I've had a quick search regarding the ability to auto fill in PDF forms - that is not creating PDF's from databases - but lets say you have an existing PDF that you need to fill out many many times from your data - software that does this for you. FWIW, the US IRS distributes

AW: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Tiemo Hollmann TB
Hi Eric, because it's also interesting for me I add a question. Assuming you have 50 hotspots on the bg image, where 50 different actions have to take place (e.g. showing another image for each hotspot), how can you address the different non transparent hotspots on the png? With 50 irregular

Re: AW: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv
Tiemo, my problem with irregular shapes was to define the boundaries of each shape... I guess that in most cases, Eric's method allows to virtually enclose each shape in a rectangular bounding box, and thus define a different action when cursor enters each shape... the only limitation I can see

Re: Can I make Runrev (any version) able to use Pop-port USB or Bluetooth for exchange data?

2007-05-25 Thread Björnke von Gierke
No need to add urgent to your subject line, as you see, that just makes most people ignore it... As for your question: USB: external Bluetooth: Maybe the serial interface that bluetooth has, otherwise external Wikipedia says pop-port is just a proprietary plug by nokia for usb. have fun

Windows DLLs and path

2007-05-25 Thread Bill Vlahos
I use SSL libraries in my application. For Windows Rev creates a couple of dlls that I need to include with my standalone. My application is portable in that all the files (executables and data) are in a folder. If the dlls are at the same level as the executables then it works fine but

Re: AW: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet
Hi Tiemo, You have many ways: it depends on the fact you have many hotspots close from each other or not. For instance if your hotspots are able to be conformed in a virtual grid you can test the mouseLoc within this grid. If it does not appear possible, adding invisible graphics should

Re: How to release a library to the list/world

2007-05-25 Thread Andre Garzia
Hello Thomas, easiest way, put it on RevOnline, write a little email about the lib and let it flow... :D andre On May 18, 2007, at 12:40 PM, Thomas McGrath III wrote: Dear fellow revolutionaries, It has been a while since I have been able to post on the list. I have been very busy

How to release a library to the list/world

2007-05-25 Thread Thomas McGrath III
Dear fellow revolutionaries, It has been a while since I have been able to post on the list. I have been very busy getting some software completed and also personally I have been dealing with a lot of issues, some good and some not so good. As a result I have been re-evaluating my goals

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Scott Rossi
What is the best way to define clickable maps / areas with irregular shapes on a large background image ? As png images with transparency (alpha channel) receive mouse messages only in non transparent areas, here is a way to do the trick: Open your original image in PhotoShop or any image

Re: Filling in PDF forms

2007-05-25 Thread Roger . E . Eller
David wrote: I've had a quick search regarding the ability to auto fill in PDF forms - that is not creating PDF's from databases - but lets say you have an existing PDF that you need to fill out many many times from your data - software that does this for you. Rob Cozens wrote: FWIW, the US IRS

Re: Error in docs about file creation date

2007-05-25 Thread Alex Tweedly
Wilhelm Sanke wrote: On Wed, 23 May 2007,Richard Gaskin [EMAIL PROTECTED] wrote: Right now Rev uses the OS APIs to get the file info, so it's about as efficient as it can be. I can see the benefit of using EXIF, but since this requires additional work and processing time, and only applies to

Popping up stacks

2007-05-25 Thread Richard Gaskin
There are two ways to use stacks as popup menus, and these can be useful as grids and galleries. But sadly each method has its weaknesses, and neither seems to allow users to interact with scrolling groups gracefully if at all. I've put together a sample stack at: go url

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Eric Chatonet
Hi Scott, Yes you are right about graphics but I find a lot easier to create very precise hotspot outlines using Photoshop. Rev graphic tools are HC legacy, not more :-) Le 25 mai 07 à 19:02, Scott Rossi a écrit : What is the best way to define clickable maps / areas with irregular shapes

Re: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote: There are two ways to use stacks as popup menus, and these can be useful as grids and galleries. But sadly each method has its weaknesses, and neither seems to allow users to interact with scrolling groups gracefully if at all. Each of these solutions is

Re: Popping up stacks

2007-05-25 Thread Richard Gaskin
Scott Rossi wrote: Recently, Richard Gaskin wrote: There are two ways to use stacks as popup menus, and these can be useful as grids and galleries. But sadly each method has its weaknesses, and neither seems to allow users to interact with scrolling groups gracefully if at all. Each of

Re: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote: Each of these solutions is using a stack as a menu -- is there a reason you can't display a palette or system window at the desired location? If there's no magic combination of property settings to make either of those work, using a palette would be the next

Re: Popping up stacks

2007-05-25 Thread Richard Gaskin
Scott Rossi wrote: Recently, Richard Gaskin wrote: Each of these solutions is using a stack as a menu -- is there a reason you can't display a palette or system window at the desired location? If there's no magic combination of property settings to make either of those work, using a

Re: Windows DLLs and path

2007-05-25 Thread Phil Davis
Bill Vlahos wrote: I use SSL libraries in my application. For Windows Rev creates a couple of dlls that I need to include with my standalone. My application is portable in that all the files (executables and data) are in a folder. If the dlls are at the same level as the executables then it

Re: Popping up stacks

2007-05-25 Thread Chipp Walters
Hi Richard, Why don't you use a modal dialog for this? You can script it so your code accesses it 'in process' for a handler, which makes your job pretty easy. Check out: Creating a reusable dialog box at http://www.altuit.com/webs/revCentral/Number7/default.htm for a quicky type solution

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Scott Rossi
Recently, Wilhelm Sanke wrote: To my knowledge graphic objects were able to detect the mouse inside their filled area - instead of their rects - long before 2.7. Detecting the mouse, yes, always. But within an irregular polygon shape, the mouse would be detected using the entire rect of the

Re: Popping up stacks

2007-05-25 Thread Richard Gaskin
Chipp Walters wrote: Why don't you use a modal dialog for this? You can script it so your code accesses it 'in process' for a handler, which makes your job pretty easy. Check out: Creating a reusable dialog box at http://www.altuit.com/webs/revCentral/Number7/default.htm for a quicky type

Re: Popping up stacks

2007-05-25 Thread Scott Rossi
Recently, Richard Gaskin wrote: I've made a few dialogs over the years, and about half of them were generalized into reusable libraries. Modals are useful, but they're, well, modal. This is a subtle distinction, but in practice it affects the feel of a program's flow. To use an extreme

Re: Filling in PDF forms

2007-05-25 Thread David Bovill
Same in the UK Rob - which is actually the application I am thinking of. So the question is what is the best way to take the IRS documents and get Rev to fill in the forms from the accounts database? Read the XML? Or is there another way On 25/05/07, Rob Cozens [EMAIL PROTECTED] wrote: Hi

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread jbv
Recently, Wilhelm Sanke wrote: To my knowledge graphic objects were able to detect the mouse inside their filled area - instead of their rects - long before 2.7. yep, and thus the trick is actually straightforward : irregular polygonal shapes are made with opaque graphics, and those are

Re: Severe crash with Rev 2.8.1 under MacOSX 10.4.9

2007-05-25 Thread Sivakatirswami
Joel Guillod wrote: May be the crash Joe reported is NOT due to the RR Search engine!!! Read more... This afternoon I have experienced two unexpectedly exits from Revolution and I restarted my machine. And then I had a very severe crash during a normal development session. I had no problem

Re: Popping up stacks

2007-05-25 Thread Peter T. Evensen
I don't believe you can specify a position for a modal dialog (without using tricks like specifying a larger window size and a windowshape). Chipp Walters wrote: Hi Richard, Why don't you use a modal dialog for this? You can script it so your code accesses it 'in process' for a handler, which

Re: Popping up stacks

2007-05-25 Thread Eric Chatonet
Hi Peter, Just set the loc of such a stack in its preOpenStack :-) Le 25 mai 07 à 23:05, Peter T. Evensen a écrit : I don't believe you can specify a position for a modal dialog (without using tricks like specifying a larger window size and a windowshape). Chipp Walters wrote: Hi

Re: Popping up stacks

2007-05-25 Thread Stephen Barncard
Richard, If it's a dialog that can stay within the window, have you considered using groups instead of a new stack? I've found that 'dialogs' created out of a group is quite effective, very fast, and is easy to create a very attractive interface. I mean really fast. hiding and showing. sqb

Re: Popping up stacks

2007-05-25 Thread Stephen Barncard
Never mind. I think I missed some details in the original post...'toolbar' Richard, If it's a dialog that can stay within the window, have you considered using groups instead of a new stack? I've found that 'dialogs' created out of a group is quite effective, very fast, and is easy to create

Re: best way to define clickable areas with irregular shapes ?

2007-05-25 Thread Wilhelm Sanke
Scott Rossi scott at tactilemedia.com wrote: Recently, Wilhelm Sanke wrote: To my knowledge graphic objects were able to detect the mouse inside their filled area - instead of their rects - long before 2.7. Detecting the mouse, yes, always. But within an irregular polygon shape, the mouse

Re: Popping up stacks

2007-05-25 Thread Joe Lewis Wilkins
Stephen, I hate to say this, particularly since this list is very helpful and no doubt extremely talented and experienced in many areas, but sometimes I don't think most are as creative as they could be. I know it's a trite expression, but they need to think outside the box more often.

Re: Popping up stacks

2007-05-25 Thread Richard Gaskin
Stephen Barncard wrote: Richard, If it's a dialog that can stay within the window, have you considered using groups instead of a new stack? I've found that 'dialogs' created out of a group is quite effective, very fast, and is easy to create a very attractive interface. I mean really fast.

Relative folder paths

2007-05-25 Thread Bill Vlahos
I can't seem to refer to folders via relative paths. Lets say I have a folder containing a standalone, Data folder, and Preference folder all at the same level. The defaultFolder would be the folder at the level of the standalone. If I change the defaultFolder to DataFileFolder I can then just

Re: Relative folder paths

2007-05-25 Thread Bill Vlahos
Richard, This doesn't seem to do anything useful to me. How would I get a list of files in the DataFileFolder and then get a list of files in the Preferences folder? Bill On Friday, May 25, 2007, at 05:17PM, Richard Gaskin [EMAIL PROTECTED] wrote: Bill Vlahos wrote: Lets say I have a

Re: Relative folder paths

2007-05-25 Thread Björnke von Gierke
On 26 May 2007, at 04:09, Bill Vlahos wrote: How would I get a list of files in the DataFileFolder and then get a list of files in the Preferences folder? Assuming your DataFileFolder contains your Preferences folder, and is the current defaultfolder: Put the defaultfolder into temp set

Re: Relative folder paths

2007-05-25 Thread Bill Vlahos
Björnke, That's very helpful. So you can't really do anything with relative paths. You just have to keep redefining what the defaultFolder is. I can do that. Thanks, Bill On Friday, May 25, 2007, at 07:17PM, Björnke von Gierke [EMAIL PROTECTED] wrote: On 26 May 2007, at 04:09, Bill Vlahos

Re: Windows DLLs and path

2007-05-25 Thread Scott Kane
From: Bill Vlahos [EMAIL PROTECTED] Is there a way to tell the standalone they are in a subfolder? Possibly in Rev - but I've not tried it. However... It's normal practice to place them in the standalone (executable) directory. Placing them in the path can cause dll hell in that another

Re: Popping up stacks

2007-05-25 Thread Chipp Walters
In Office 12, the new Galleries could probably have been modals as well, as similar features were in earlier versions. I'm not as all crazy about 'Ribbons' as the rest. The take up a lot of screen real estate, and in many cases require significant processing resources (WYSIWYG font settings for

Re: Popping up stacks

2007-05-25 Thread Richard Gaskin
Chipp Walters wrote: In Office 12, the new Galleries could probably have been modals as well, as similar features were in earlier versions. I'm not as all crazy about 'Ribbons' as the rest. The take up a lot of screen real estate, and in many cases require significant processing resources

Re: Windows DLLs and path

2007-05-25 Thread Bill Vlahos
Scott, That's very clever to put them in a custom property and unpack when needed. I'm not installing into c:\Program Files so that should not be a problem. How do you free the dll? Other than the dlls would still be there, is there a problem if a user uses the Task Manager to kill the

Re: Windows DLLs and path

2007-05-25 Thread Scott Kane
From: Bill Vlahos [EMAIL PROTECTED] That's very clever to put them in a custom property and unpack when needed. I'm not installing into c:\Program Files so that should not be a problem. It's an old trick with other IDE's. :-) How do you free the dll? Other than the dlls would still be