Re: Mouse messages while down

2007-03-18 Thread Sarah Reichelt
I thought this sort of polling was not considered a good idea. It seems fine on my 2GHz Intel Mac, but I'm not sure how it would go on slower machines. It still seems odd that I can't get the data I need without having to do this. Yeah, bad idea. At least, according to Mr. Raney. Sometimes

buttons move from group rect to the twilight zone

2007-03-18 Thread Erik Hansen
When my buttons move outside the rect of their group, they disappear! Pixel by pixel. On the other hand, setting the locations brings the group rect along to the new location. The groups are needed because there is a new card for eachevent (tX ,tY , tIcon etc.) allowing graphics at any point.

scrollbars on disabled fields

2007-03-18 Thread Peter Alcibiades
How do you make a scrollbar work on a disabled field? The user should be able to scroll up and down to review the contents, which are periodically updated from another part of the wood, but not be able to select or edit them. But it seems that picking disabled from properties prevents this.

Re: Mouse messages while down

2007-03-18 Thread Dick Kriesel
On 3/18/07 12:12 AM, Sarah Reichelt [EMAIL PROTECTED] wrote: snip But it still leaves me having to check the location all the time to see whether it is inside one of my 400 buttons. snip/ Hi, Sarah. You could build an array using points as keys, so that when you look up any x,y pair you get

Re: scrollbars on disabled fields

2007-03-18 Thread Peter Alcibiades
On Sunday 18 March 2007 08:05, Peter Alcibiades wrote: How do you make a scrollbar work on a disabled field? Sorry, very silly question. You do it by lock text property and enabling the field of course Peter ___ use-revolution mailing list

Re: Mouse messages while down

2007-03-18 Thread Scott Rossi
Recently, Sarah Reichelt wrote: It seems that the mouseControl should be able to report where the mouse is without me having to check it manually. But mouseControl gets stuck when you click down and never changes until the mouse comes up again. You may not be able to check the mouseControl

Re: Mouse messages while down

2007-03-18 Thread Bill Marriott
There's another fly in the ointment. Using within works reliably only if no buttons are overlapping (it doesn't respect layering like messages would), and the coordinate approach only works if the buttons are in a grid. If you have a more involved setup like using irregular graphics for the

Re: Implications of limited wash to flash drives

2007-03-18 Thread Luis
You wash your darks at 40?! On 17 Mar 2007, at 21:19, John Craig wrote: My current flash drive got washed at 40 degrees when I accidentally left it in my jeans pocket - still seems to work perfectly, but be warned; Like all flash memory devices, flash drives can sustain only a limited

Re: Revolution and Unicode

2007-03-18 Thread Mark Smith
Does get URL http://; put uniencode(it,UTF8) into fld blah not work? Best, Mark On 18 Mar 2007, at 04:19, kee nethery wrote: If this is hopeless using get URL http:// ... to grab utf8 and convert it to unicode it would be great to know that now. Thanks in advance, Kee Nethery

Re: Mouse messages while down

2007-03-18 Thread Mark Schonewille
Sarah, 400 individual buttons is bad design. Draw a grid and use a mouseDown handler if you want to store the clicked location. Use the mouseRelease handler to get the new location. Calculate in which rectangle the new mouseLoc is, without a repeat loop. I am sure you can do this. Best

RE: Mouse messages while down

2007-03-18 Thread Mark Powell
Hi Sarah: Depending on the arrangement and characteristics of your 400 controls, you could take the approach of putting mouse detection in an image above your buttons instead of in a card script below: Create a one-bit mask...with areas in the image that register with buttons being made opaque,

Re: Mouse messages while down

2007-03-18 Thread Jerry Daniels
I prefer the method Bill Marriott suggested: set a global (or a script local) on a mouseDown event and then track the coordinates via mouseMove. You can theoretically track the location of the mouse (pointer) during mouseMove without using a local or global in a mouseDown handler, but

Re: Revolution and Unicode

2007-03-18 Thread kee nethery
On Mar 18, 2007, at 5:09 AM, Mark Smith wrote: Does get URL http://; put uniencode(it,UTF8) into fld blah not work? It does not work. It was not a combination I had tried previously so thanks for suggesting it. The unicode characters on screen and in view source from the browser do

RE: Bkgnd process that returns immediately

2007-03-18 Thread Mark Powell
Xavier: Thanks for the additional info on the redirect technique. I have adapted it to the following put start /MAX C:\foo.html C:\foo.txt into MyCom set the hideConsoleWindows to true get start cmd /c quote MyCom quote get shell(it) and have further questions... -1-

AltFont for Mac Intel

2007-03-18 Thread Mark Schonewille
Hello, Could someone please confirm that Revolution's AltFont now works fine on Mac Intel? Thanks, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download

Re: Mouse messages while down

2007-03-18 Thread Jerry Daniels
Galaxy always shows the object name and path of the object it is hovering above. I think mousemove may be part of it. This is an interesting topic to me. One that doesn't necessarily deal with Sarah's original question, but for the sake of accuracy--and possible interest--I want to

Re: Duration of non supported applications

2007-03-18 Thread David Bovill
On 18/03/07, Bill Marriott [EMAIL PROTECTED] wrote: I'd wager that a first-year comp sci undergraduate with no prior knowledge of xTalk could be sat down in front of the typical Revolution stack and make any updates required in the time it took for the other three routes to get past the

Re: Revolution and Unicode

2007-03-18 Thread Mark Smith
I meant to write set the unicodeText of fld blah to uniencode(it,UTF8) although I wonder if the page content also needs to be urlDecoded? Best, Mark On 18 Mar 2007, at 13:53, kee nethery wrote: On Mar 18, 2007, at 5:09 AM, Mark Smith wrote: Does get URL http://; put

Flash and Rev question....

2007-03-18 Thread David Bovill
My understanding is that QuickTime as used in Rev applications can handle Flash tracks - but only Flash 5 tracks? Also there was a problem with the fact that as of last September Flash track support was turned of by default and needed to be manually reset by the user (ot sure if this is still the

label filed properties

2007-03-18 Thread runrev260805
Hi, until now i used Revolution just for manipulationg files (reading and writing lines and so on). Now i want to create a special app with serveral forms in it. I am using only text and label fields. I want to place a reset-button on to the card, which resets all text fields. If i use the

Re: Flash and Rev question....

2007-03-18 Thread Klaus Major
Hi David, My understanding is that QuickTime as used in Rev applications can handle Flash tracks - but only Flash 5 tracks? Also there was a problem with the fact that as of last September Flash track support was turned of by default and needed to be manually reset by the user (ot sure if

Re: buttons move from group rect to the twilight zone

2007-03-18 Thread Bill Marriott
Hi Erik, We'll need to look into this to determine whether it's an error in the move command or an error in the documentation for the boundingRect of groups, and what is the most desireable resolution. According to the docs, If a group's boundingRect is empty and its lockLocation is false,

Re: label filed properties

2007-03-18 Thread Jim Ault
There are several ways that you could approach this. Assuming each field has a different name repeat with x = 1 to the number of fields if the short name of fld x is among the words of \ number name description then put empty into fld x end if end repeat Hope this helps. Jim

Re: AltFont for Mac Intel

2007-03-18 Thread Bill Marriott
Mark, Could someone please confirm that Revolution's AltFont now works fine on Mac Intel? Actually, I have not been able to get it to work. I should have filed a report on this a long time ago. Doing so right now. - Bill ___ use-revolution

Re: AltFont for Mac Intel

2007-03-18 Thread Bill Marriott
Bug #4550 http://quality.runrev.com/qacenter/show_bug.cgi?id=4550 ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Mouse messages while down

2007-03-18 Thread Stephen Barncard
Jerry, would this explain the 'flickering' that I've seen in your tooltips field in earlier versions of Galaxy? This would only happen when Galaxy was kept running for hours and days... Restarting Rev always fixed it. The cursory inspection that Galaxy 1.5 has done to detect what object

Re-2: label filed properties

2007-03-18 Thread runrev260805
Thanks, that will help. Matthias Original Message Subject: Re: label filed properties (18-Mrz-2007 18:45) From:Jim Ault [EMAIL PROTECTED] To: use-revolution@lists.runrev.com There are several ways that you could approach this. Assuming each field has a different

Re: label filed properties

2007-03-18 Thread Mark Smith
Matthias, if you haven't named the label fields, then this should work: repeat with n = 1 to the number of fields in this card if label is not in the name of fld n of this card then put empty into fld n of this card end repeat best, Mark On 18 Mar 2007, at 16:51, [EMAIL PROTECTED]

Re-2: label filed properties

2007-03-18 Thread runrev260805
Mark, thanks to you, also. Regards, Matthias Original Message Subject: Re: label filed properties (18-Mrz-2007 20:46) From:Mark Smith [EMAIL PROTECTED] To: use-revolution@lists.runrev.com Matthias, if you haven't named the label fields, then this should work:

Re: Mouse messages while down

2007-03-18 Thread Dick Kriesel
On 3/18/07 7:56 AM, Jerry Daniels [EMAIL PROTECTED] wrote: snip on glxInspectObject -- get long id of object, even if pointer is in title bar: put glxGetObjectBeneathPointer() into theObjectID edit the script of theObjectID end glxInspectObject snip/ Hi, Jerry. How does

MatchText, MatchChunk and the needle in the haystack

2007-03-18 Thread Bryan McCormick
Folks, I have been given a batch of text files that have had their delimiters stripped off (by accident) leaving a single string of text to parse back into record delimited form. And yes, of course, there is no back-up so it is the strings or nothing. I really know very little about using

Re: AltFont for Mac Intel

2007-03-18 Thread Mark Schonewille
Thanks, Bill. I will vote for this bug. Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 18-mrt-2007, om 18:43 heeft Bill

Re: Mouse messages while down

2007-03-18 Thread Jerry Daniels
Dick, I indicated in my posting that I had distilled portions for simplicity. Look at the glxScriptEdit handler in the inspection folder in the frontScript. I't s quite large and has barnacles on it. You'll see how I determine the long id of the object below the pointer--including

Re: Mouse messages while down

2007-03-18 Thread Jerry Daniels
Stephen, The flicker we used to see was related, i believe, to a mouseWithin message gone bad. Best, Jerry Daniels Makers of Galaxy 1.5 http://www.daniels-mara.com/new_in_galaxy_1_5.htm On Mar 18, 2007, at 1:13 PM, Stephen Barncard wrote: Jerry, would this explain the 'flickering' that

Re: MatchText, MatchChunk and the needle in the haystack

2007-03-18 Thread Jim Ault
A simplistic approach would be to find the -mth- string and work from there on untested put -Jan- -Feb- -Mar- into mthStrings repeat for each word MTH in mthStrings put 1 into pos repeat until pos = 0 put offset(mth, textBlock, pos+2) into pos put cr into char pos - 2 of

Re: Mouse messages while down

2007-03-18 Thread Ken Ray
On Sat, 17 Mar 2007 19:50:40 -0700, Jim Ault wrote: The problem is that no other messages seem to be sent while the mouse is down (mouseEnter, mouseLeave, mouseStillDown etc). I can detect mouseRelease but the target is my original button so it doesn't tell me where the mouse is now. Checking

Re: Can REV create Excel files?

2007-03-18 Thread Ken Ray
On Sat, 17 Mar 2007 10:17:31 +0900, Martin Blackman wrote: Just continuing down the path which Ken helped put me on, I thought I'd share my little routine which uses vbscript to get the Names in an Excel workbook and the ranges to which they refer: function getXLNames put Dim

Re: Mouse messages while down

2007-03-18 Thread Sarah Reichelt
400 individual buttons is bad design. Draw a grid and use a mouseDown handler if you want to store the clicked location. Use the mouseRelease handler to get the new location. Calculate in which rectangle the new mouseLoc is, without a repeat loop. I am sure you can do this. It's not something I

Re: Revolution and Unicode

2007-03-18 Thread kee nethery
that appears to have worked. Excellent. I'm guessing that it is special in some way. I am pretty sure I had tied put URL dodah into thedata set the unicodeText of fld blah to uniencode(thedata,UTF8) and that did not work. But perhaps this is a combo I did not try. thanks! Kee On Mar 18,

Re: Mouse messages while down

2007-03-18 Thread Derek Bump
I just wanted to throw in my two cents on this thread. When I was working on Pixelution (which is still available on RevOnline) I ran into the problem of figuring out what button the mouse was hovering over when the mouse was down. My troubles lead me to post BugZilla # 3668

Installing Ubuntu or other Linuxes

2007-03-18 Thread Bob Warren
I have written a short article of simple, practical (layman's) advice for those considering the possibility of trying Linux (or my favourite, Ubuntu) and Rev/Linux 2.6.1 for the first time. Although it is short, it was a bit big to display directly on the UR-List, so I have uploaded it to my

RE: Bkgnd process that returns immediately

2007-03-18 Thread xavier . bury
1 - use start /b to hide the window. See start /? for more options 2 - you'd have to kill the process - or check start /? for more options... 3 - yes as many as you want. cheers Xavier [EMAIL PROTECTED] wrote on 18/03/2007 14:56:20: Xavier: Thanks for the additional info on the redirect