Re: Tab in datagrid

2009-06-05 Thread Trevor DeVore
On Jun 4, 2009, at 10:43 PM, Hershel Fisch wrote: Let me know if this helps. Yes but I have a bit difficulties understanding exactly how it works. I would write my script in the group and not in each and every column something like this.. On closeFieldEditor pFieldEditor put pColumnName

Re: Tab in datagrid

2009-06-05 Thread Hershel Fisch
Thanks a million, that's exactly what I needed. Hershel On 6/5/09 5:47 AM, Trevor DeVore li...@mangomultimedia.com wrote: On Jun 4, 2009, at 10:43 PM, Hershel Fisch wrote: Let me know if this helps. Yes but I have a bit difficulties understanding exactly how it works. I would write my

Re: revDatabaseColumnNamed

2009-06-05 Thread Devin Asay
On Jun 4, 2009, at 3:38 PM, Björnke von Gierke wrote: Can anyone tell me how to store and retrieve binary data using sql, without it being changed in between? snip examples omitted /snip any other ideas? Björnke Björnke, Sorry I wasn't paying closer attention to this thread before. I

how to check for admin rights?

2009-06-05 Thread Tiemo Hollmann TB
Hello, has anybody a snipped how to check, if the user has admin rights, on Win and Mac? What, if I just try to write a file to the program folder, would that be a reliable test? Thanks for any experience Tiemo ___ use-revolution

Re: revDatabaseColumnNamed

2009-06-05 Thread Björnke von Gierke
On 5 Jun 2009, at 16:53, Devin Asay wrote: On Jun 4, 2009, at 3:38 PM, Björnke von Gierke wrote: Can anyone tell me how to store and retrieve binary data using sql, without it being changed in between? snip examples omitted /snip any other ideas? Björnke Björnke, ... put INSERT

Array keys oddity?

2009-06-05 Thread DunbarX
OK, just started playing with arrays, and as usual stopped cold after 5 minutes. I have a card with a field 1 and button containing the following script: on mouseup put into fld 1 repeat with y = 1 to 10 put y - random(99) into line y of tArray end repeat put tArray

Datagrid problem in standalone

2009-06-05 Thread Beat Cornaz
I have trouble with the datagrids after having made a standalone. In the IDE everything wortks fine, but in the standalone the datagrids do nothing and cannot be edited or the column width being adjusted. In the inspector the 'allow editing' is on as well as changing the widths. When I

Re: Array keys oddity?

2009-06-05 Thread J. Landman Gay
dunb...@aol.com wrote: OK, just started playing with arrays, and as usual stopped cold after 5 minutes. I have a card with a field 1 and button containing the following script: on mouseup put into fld 1 repeat with y = 1 to 10 put y - random(99) into line y of tArray

Re: Array keys oddity?

2009-06-05 Thread Björnke von Gierke
Hi I am not sure what your problem is, but i can assure you that everything works fine (i tested your code verbatim, only replace 10 with 20). My guess is that you expect the keys to be in some order. However the keys will never be ordered by default, and in a seemingly random order

Re: Datagrid problem in standalone

2009-06-05 Thread Devin Asay
On Jun 5, 2009, at 9:46 AM, Beat Cornaz wrote: I have trouble with the datagrids after having made a standalone. In the IDE everything wortks fine, but in the standalone the datagrids do nothing and cannot be edited or the column width being adjusted. In the inspector the 'allow editing' is on

How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Hi there, I found some script on the list on how to draw a line: --- *on* mouseUp *create* grc *set* style of last grc to line *set* points of last grc to 34,120 *return* 542,126 *end* mouseUp --- As a teacher I am looking for a way to do this in an exercise: draw a line to the same

Re: Array keys oddity?

2009-06-05 Thread DunbarX
Got it, thanks. I had assumed that in creating an array, the engine built it as I ordered it, and that it could be retrieved in that order, as a normal variable would be. I see that array data is accessed by key only , not by order, and I can understand and live with that. Thanks for the

Re: How to draw a line between objects or letters?

2009-06-05 Thread DunbarX
You can use the foundLoc function to get the coordinates of the characters you are interested in, and the draw a line from one to the other. The dicey part is figuring out which (in your example) two A's you want if there are many in the text. Of course you can use the mouse to explicitly locate

Re: Array keys oddity?

2009-06-05 Thread DunbarX
Jacques. Thanks. Good to know it was only ignorance, not sloppiness. Craig In a message dated 6/5/09 11:56:06 AM, jac...@hyperactivesw.com writes: The keys of an array are returned according to an internal engine hash order. They will virtually never be in the same order in which they were

Re: How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Hi Greg, Thanks for your answer but I don't get it :-( !! Let's say on my screen there is a letter A on the left and the letters A,B.C on the right. The exercise would be to draw a line between the same letters. How would I use foundLoc in this situation? I like the student to click twice (once

[OT] Customs

2009-06-05 Thread Richmond Mathewson
Before I hop on the plane to the conference I am trying to find out some information about British Customs and laptops. There has been persistent rumours that customs officers can seize laptops at random from entrants to Britain and hold them for examination as long as they want. Unfortunately

Re : Datagrid problem in standalone

2009-06-05 Thread Beat Cornaz
Devin wrote : I had the same problem. It turns out you need to make sure the revDataGridLibrary stack gets copied to the standalone. Trevor has a ScreenSteps lesson on how to build standalones with datagrids here: http://revolution.screenstepslive.com/spaces/revolution_tools/

Re: revDatabaseColumnNamed

2009-06-05 Thread Björnke von Gierke
Hi It seems i indeed stumbled over a sqlite bug. the same code does work fine on mysql, and the runrev team has been notified. thanks björnke On 5 Jun 2009, at 17:11, Björnke von Gierke wrote: On 5 Jun 2009, at 16:53, Devin Asay wrote: On Jun 4, 2009, at 3:38 PM, Björnke von Gierke

Re: How to draw a line between objects or letters?

2009-06-05 Thread DunbarX
William: on mouseUp ask Find which chars? put it into tChar repeat 2 find chars tChar in fld yourField put the foundLoc return after tLocs end repeat --You now have the two coordinates in tLocs. Do you need help drawing from this point on? end mouseUp I

Re: How to draw a line between objects or letters?

2009-06-05 Thread DunbarX
william. Are the two letters in different fields? Craig Newman In a message dated 6/5/09 1:54:34 PM, williamdes...@gmail.com writes: tters on the right side) and then there is a line drawn between the letters. ** We found the real ‘Hotel California’ and the ‘Seinfeld’

Re: Background image problems

2009-06-05 Thread Wilhelm Sanke, FB01
On Thu, 4 Jun 2009, Sumner, Walt wsum...@dom.wustl.edu wrote: Can anyone shed some light on using paint tools and imagedata on images in a bg group? (snip) Because the new picture might look a lot like the old picture, the script selects some gray color and uses the pencil to draw horizontal

RE: [OT] Customs

2009-06-05 Thread Lynn Fredricks
Before I hop on the plane to the conference I am trying to find out some information about British Customs and laptops. Isn't there a special 'haggis' test as well? :-) Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm)

Re: [OT] Customs

2009-06-05 Thread Colin Holgate
On Jun 5, 2009, at 2:31 PM, Lynn Fredricks wrote: Before I hop on the plane to the conference I am trying to find out some information about British Customs and laptops. Isn't there a special 'haggis' test as well? :-) It's the looking up your kilt part that is a little awkward.

Re: Datagrid problem in standalone

2009-06-05 Thread Beat Cornaz
Hi Devin, I have just read the lesson, but it is not totally clear. From what I understand, is it important that the substack Datagrid templates is existent. In the standalone settings of page 2of the standal=one settings ( Stacks) I check the button : 'move Substacks to individual

Re: Datagrid problem in standalone

2009-06-05 Thread Trevor DeVore
On Jun 5, 2009, at 2:44 PM, Beat Cornaz wrote: I have just read the lesson, but it is not totally clear. From what I understand, is it important that the substack Datagrid templates is existent. In the standalone settings of page 2of the standal=one settings ( Stacks) I check the button :

Re: How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Yes, they are in different fields.But to make it more difficult: it can be images as well that I want to use (Look for the same image?). Maybe this is too difficult to do? 2009/6/5 dunb...@aol.com william. Are the two letters in different fields? Craig Newman In a message dated 6/5/09

Re: How to draw a line between objects or letters?

2009-06-05 Thread DunbarX
William. I am not sure I am helping you. Are you asking if the student DRAWS a line from one char to another, that you want to confirm that they are the same? Or if they click on two chars? What exactly is the exercise? Craig Newman ** We found the real ‘Hotel California’ and the ‘

Re: How to draw a line between objects or letters?

2009-06-05 Thread DunbarX
William. Nothing is too difficult. I think I know what you need now. You have two fields with text, and a button with the following script; on mouseUp if there is a graphic tLine then delete graphic tLine set cursor to cross wait until the mouseClick put the clickLoc into tLoc1

dead click functions

2009-06-05 Thread DunbarX
One button, one field with text in it. I click the button and then click in the field. Button script: on mouseUp set cursor to cross wait until the mouseClick put the clicktext end mouseUp In HC, one gets data from this and similar text/chunk (clickText,clickChunk) functions, even in

Re: How to draw a line between objects or letters?

2009-06-05 Thread Mark Swindell
This isn't exactly what you're asking, but might give a clue as how to proceed. Substitute whatever locs you need for the graphic or letters within fields. -Mark Create a new stack with 2 buttons. In the script of button 1: ON mouseUp global gStartLine put the loc of me into

Re: [OT] Customs

2009-06-05 Thread Mark Smith
Richmond, as you probably know, british customs excise have all sorts of powers that might not generally be considered consistent with a modern, democratic civil society. However, I travel a lot, and nearly always have my laptop with me, and neither I nor anyone I know has had their

What do Rev programmers charge per hour for programming?

2009-06-05 Thread Charles Szasz
What do Rev programmers charge per hour for programming? -- View this message in context: http://www.nabble.com/What-do-Rev-programmers-charge-per-hour-for-programming--tp23898061p23898061.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: [OT] Customs

2009-06-05 Thread Kay C Lan
On Sat, Jun 6, 2009 at 7:23 AM, Mark Smith li...@futilism.com wrote: Richmond, as you probably know, british customs excise have all sorts of powers that might not generally be considered consistent with a modern, democratic civil society. Don't know why you'd single out British Customs,

Editing group mode

2009-06-05 Thread J. Landman Gay
Wondering if anyone has seen this in Rev 3.5. When I go into Edit Group mode and select an object, the property inspector doesn't see it and doesn't change to show its properties. Right-clicking an object doesn't bring up a contextual menu. The object can't be edited. Returning to normal mode,

Re: [OT] Customs

2009-06-05 Thread Jim Sims
On Jun 6, 2009, at 4:57 AM, Kay C Lan wrote: if it's true about what's (not) worn under the kilt you could go for something similar, well maybe the polar opposite, that they become so disgusted that they don't want to go near you ;-) Don't worry Richmond, they have special little

Re: How to draw a line between objects or letters?

2009-06-05 Thread Kay C Lan
On Sat, Jun 6, 2009 at 3:17 AM, William de Smet williamdes...@gmail.comwrote: Yes, they are in different fields.But to make it more difficult: it can be images as well that I want to use (Look for the same image?). Maybe this is too difficult to do? William, the image I get from your

Re: [OT] Customs

2009-06-05 Thread Kay C Lan
On Sat, Jun 6, 2009 at 11:23 AM, Jim Sims s...@ezpzapps.com wrote: Finding humor in it will extend their inspection of a thousand cuts. Try to remain neutral, no laughter, crying, or running. On a more practical note, try to have everything in a carry on bag. Luggage handlers in some