Re: Contextual (right-click) menus

2006-07-13 Thread Jared Smith

Wow, I think we had a communication problem. When I think of "pop-down
menu," I think of that control on the tools pallette that pops a list
of choices down. I figured you guys wanted me to hide one of those
everywhere to get the same effect as a contextual menu.

I'll have to check that tutorial out when I get home o_0

On 7/13/06, Klaus Major <[EMAIL PROTECTED]> wrote:

Hi Jared,

> Will these pop-down menus look like native contextual menus?

they ARE native contextual menus.

> I've never actually seen them in action

Then you should try it out...

> (I'll check out Viktoras' tutorial later, thank you for that).
> It seems like a work-around.

No workaround!
Sorry, don't get your point, what exactly do you exspect???

> Perhaps the Rev team has plans to put this functionality in
> directly...?

Ask them :-)


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Contextual (right-click) menus

2006-07-13 Thread Jared Smith

Will these pop-down menus look like native contextual menus? I've never
actually seen them in action (I'll check out Viktoras' tutorial later, thank
you for that). It seems like a work-around. Perhaps the Rev team has plans
to put this functionality in directly...?

On 7/13/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:


HI,

We discussed this on ChatRev and I decided to check the bug in
BugZilla. You can find it at . The bug has been marked as fixed. If you have
Rev 2.5 or later, you can hide the button, otherwise you should move
it off-screen.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and
get full control of error handling in Revolution.



Op 13-jul-2006, om 11:38 heeft Mark Schonewille het volgende geschreven:

> Klaus and Jared,
>
> Hiding a popup button caused problems in the past. Since I don't
> know whether these problems have been fixed, I would advice moving
> the button off-screen rather than hiding it.
>
> Best,
>
> Mark
>
>
>
> Op 13-jul-2006, om 11:28 heeft Klaus Major het volgende geschreven:
>
>> Hi Jared,
>>
>>> I haven't been able to find instruction on making contextual
>>> menus for
>>> a Rev app. I have Mr.Shafer's "Revolution" book on hand, but I think
>>> it's not covered there. Is there a guide anyone could point me to?
>>
>> 1. Create a popup menu (button) with all menu entries and
>> necessary scripts
>> 2. HIDE it!
>> 3. Script this for all the objects where you want the button to
>> appear
>>
>> on mousedown what
>>   ## what will be the number of mousebutton
>>  ## so 3 will be the correct one, which is "right click" on windows
>>  ## and CTRL-click on the mac
>>  ## That is where a popup menu is supposed to appear
>>
>>  if what = 3 then
>>popup btn "your button name here..."
>>  end if
>> end mousedown
>>
>>
>> That's it :-)
>>
>>
>> Regards
>>
>> Klaus Major

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Contextual (right-click) menus

2006-07-12 Thread Jared Smith

I haven't been able to find instruction on making contextual menus for
a Rev app. I have Mr.Shafer's "Revolution" book on hand, but I think
it's not covered there. Is there a guide anyone could point me to?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Font Menu

2006-07-07 Thread Jared Smith

Could you let me know what that is for future refrence? I have no idea
how to do it.

On 7/7/06, Chris Carroll-Davis <[EMAIL PROTECTED]> wrote:

Erhm.

Ignore this.  (*embarrassed cough*)

Realised it is only 3 lines of code.  :-)

Chris



On 7 Jul 2006, at 13:27, Chris Carroll-Davis wrote:

> Hello again.
>
> Is there a simple way of implementing a font/size menu?
>
> I'm *sure* this must have been asked before, but I can't find any
> references to it.  I was hoping that it might be able to create it
> automatically like the File, Edit and Help options in the Menu
> Builder.  (I can dream can't I?)
>
> Or do I have to use the FontNames function to roll my own?  I'm
> hoping that some kind soul might be able to point me toward an
> existing example because I'm sure I am reinventing the wheel here!!
>
> I am half expecting someone to (politely) say look at XYZ in the
> docs you dope...
>
> Best regards,
>
> Chris
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re: Dreamhost?

2006-07-06 Thread Jared Smith

Is there a reason Dreamhost is popular? I've been looking for an easy
way to buy some hosting and use a Valentina database, but I don't see
too many hosting providers having that built-in other than MacServe...

On 7/6/06, Dan Shafer <[EMAIL PROTECTED]> wrote:

Stephen Barncard turned me on to Dreamhost over a year ago and I am a
delighted client.

I seem to recall getting Rev CGI working there at one point but as I recall
I had some problem doing so. Stephen may be able to be more specific.

But for hosting, these guys are great.

On 7/6/06, Mark Wieder <[EMAIL PROTECTED]> wrote:
>
> All-
>
> I'm interested in getting away from JaguarPC's crappy hosting and
> considering Dreamhost because I know there's some experience here on
> the list with it, I like the fact that it's got RoR already installed,
> and I like the features matrix. Any comments pro or con Dreamhost,
> especially as a rev cgi host?
>
> --
> -Mark Wieder
> [EMAIL PROTECTED]
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hilitedLine

2006-07-06 Thread Jared Smith

Did you mean Preston? I wasn't the one who asked the question.

On 7/6/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:


Hi Jared,

Chris' solution won't work on Mac OS X. I don't know about other
platforms. The following works for me:

on preopenCard
   set the hilitedlines of fld 1 to 0
   set the traversalon of fld 1 to false
end preopenCard

on openCard
   set the traversalon of fld 1 to true
end openCard


Best,

Mark


--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and
get full control of error handling in Revolution.



Op 6-jul-2006, om 18:27 heeft Jared Smith het volgende geschreven:

> I think it would suffice to set the focus somewhere else when the card
> opens...do you need it to be focused?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: hilitedLine

2006-07-06 Thread Jared Smith

I think it would suffice to set the focus somewhere else when the card
opens...do you need it to be focused?

On 7/6/06, Preston Shea <[EMAIL PROTECTED]> wrote:

How do I cancel the hilight in a list box so that when the card opens no line 
is selected? Thanks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: questions for altBrowser users

2006-07-05 Thread Jared Smith

Yup, they did. The shortcuts don't work from within Rev - only in standalone
mode (just in case anyone was wondering).

On 7/5/06, Björnke von Gierke <[EMAIL PROTECTED]> wrote:


Why don't you ask the developer of altBrowser these questions? I am
sure they're ready to answer them...

http://www.altuit.com/webs/altuit2/altBrowserCover/default.htm




On Jul 05 2006, at 23:07, Jared Smith wrote:

> Sorry to reply to myself, but if anyone knows where any of these two
> things
> are possible, please let me know. I don't really care if they're not -
> I
> just want to make sure I'm not missing out on something.
>
> On 7/4/06, Jared Smith <[EMAIL PROTECTED]> wrote:
>>
>> Have any of you had any luck getting shortcuts like Ctrl-c (or
>> Apple-c) to work within the browser view?
>>
>> Also, is it possible to use  the XBrowser_Get "selected" command to
>> mimic the "Find" command in most browsers? I've only gotten it to find
>> the very first instance of the word.
>>
>> Thank you.


--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev";


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how the internet works : the official explanation

2006-07-05 Thread Jared Smith

That's true, they should leave this to senators who understand it, but with
age comes seniority :-) I don't think it's really possible for him to get
"up to speed" though, and not because he's an idiot. He isn't - nobody who
reaches that level of political success is an idiot (whether you agree with
his politics or not). Even my dad, the guy who does nothing online but read
email, served 37 years in the Navy - not an idiot, just from a different
world.

On 7/5/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:


Boy I have no reservations. If this idiot actually tries to pass laws
about something for me, at least he should do some research, and not
base his ideas on his own lame experience.

  Internet stuff is not rocket science to understand - and these guys
are also behind the funding ALL technical spending by the government.
They had better get up to speed or stand aside for the new generation
of politicians who really do understand.

sqb

>You should probably take his age into account. My dad is younger than Ted
>Stevens and he knows even less about the internet. I recently set up an
old
>Windows 98 computer for him to play his casino games. All he knows is
casino
>games and MSN hotmail - and if the Internet Explorer homepage shows
anything
>besides MSN, he gets in a fit!
>
>So I hesitate to make fun of this guy.

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how the internet works : the official explanation

2006-07-05 Thread Jared Smith

You should probably take his age into account. My dad is younger than Ted
Stevens and he knows even less about the internet. I recently set up an old
Windows 98 computer for him to play his casino games. All he knows is casino
games and MSN hotmail - and if the Internet Explorer homepage shows anything
besides MSN, he gets in a fit!

So I hesitate to make fun of this guy.

On 7/5/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:


This is not funny; this is tragic.

This is from the same thinking that created the 'record every click
in the net '  concept.

sqb


>For a hilarious explanation of how the internet works, check out:
>
>http://blog.wired.com/27BStroke6/?entry_id=1512499
>
>"And again, the internet is not something you just dump something on.
>It's not a truck.
>
>It's a series of tubes."
>
>--
>-Mark Wieder
>  [EMAIL PROTECTED]

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: questions for altBrowser users

2006-07-05 Thread Jared Smith

Sorry to reply to myself, but if anyone knows where any of these two things
are possible, please let me know. I don't really care if they're not - I
just want to make sure I'm not missing out on something.

On 7/4/06, Jared Smith <[EMAIL PROTECTED]> wrote:


Have any of you had any luck getting shortcuts like Ctrl-c (or
Apple-c) to work within the browser view?

Also, is it possible to use  the XBrowser_Get "selected" command to
mimic the "Find" command in most browsers? I've only gotten it to find
the very first instance of the word.

Thank you.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


questions for altBrowser users

2006-07-04 Thread Jared Smith

Have any of you had any luck getting shortcuts like Ctrl-c (or
Apple-c) to work within the browser view?

Also, is it possible to use  the XBrowser_Get "selected" command to
mimic the "Find" command in most browsers? I've only gotten it to find
the very first instance of the word.

Thank you.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can altBrowser search for text in a website?

2006-07-02 Thread Jared Smith

I'm happy to see that altBrowser can find text using...

XBrowser_Set "selected", "SearchWord", BrowserID

However, when I use it, it only finds the very first instance of the
word I search for within the website. I'd like to implement
Previous/Next buttons just like other browsers. If anyone has any tips
on how to do this, please let me know.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re: Re: Mouse not detected if going too fast

2006-07-01 Thread Jared Smith

Thank you again - I couldn't live without you guys :-)

On 7/1/06, Sarah Reichelt <[EMAIL PROTECTED]> wrote:

On 7/2/06, Jared Smith <[EMAIL PROTECTED]> wrote:
> Tested it a bit more, and it works fine. The event I wanted to pull
> off, however, is to make a text field go into focus and automatically
> highlight all its contents. Does anyone know of a command to do the
> highlighting part? I couldn't find anything in the documentation.

select the text of fld "MyField"

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re: Mouse not detected if going too fast

2006-07-01 Thread Jared Smith

Tested it a bit more, and it works fine. The event I wanted to pull
off, however, is to make a text field go into focus and automatically
highlight all its contents. Does anyone know of a command to do the
highlighting part? I couldn't find anything in the documentation.

On 7/1/06, Jared Smith <[EMAIL PROTECTED]> wrote:

I was using mouseMove because I thought it wouldn't make a difference.
I just modified my code to use enter/leave, and it works flawlessly.
Looks like you already solved my problem :-) Thanks!

On 7/1/06, Ken Ray <[EMAIL PROTECTED]> wrote:
> > I'm trying to do an event when the mouse passes over a boundary about
> > 5 pixels thick. The problem is that if the mouse goes too fast, it
> > will apparently skip all 5 pixels and never be detected. Is there a
> > way to make it more sensitive to detection or is the problem not
> > solvable?
>
> What is the code you're using? MouseEnter/Mouseleave? MouseMove?
>
> It would help to know...
>
>
> Ken Ray
> Sons of Thunder Software
> Email: [EMAIL PROTECTED]
> Web Site: http://www.sonsothunder.com/
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mouse not detected if going too fast

2006-07-01 Thread Jared Smith

I was using mouseMove because I thought it wouldn't make a difference.
I just modified my code to use enter/leave, and it works flawlessly.
Looks like you already solved my problem :-) Thanks!

On 7/1/06, Ken Ray <[EMAIL PROTECTED]> wrote:

> I'm trying to do an event when the mouse passes over a boundary about
> 5 pixels thick. The problem is that if the mouse goes too fast, it
> will apparently skip all 5 pixels and never be detected. Is there a
> way to make it more sensitive to detection or is the problem not
> solvable?

What is the code you're using? MouseEnter/Mouseleave? MouseMove?

It would help to know...


Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Mouse not detected if going too fast

2006-07-01 Thread Jared Smith

I'm trying to do an event when the mouse passes over a boundary about
5 pixels thick. The problem is that if the mouse goes too fast, it
will apparently skip all 5 pixels and never be detected. Is there a
way to make it more sensitive to detection or is the problem not
solvable?

Thanks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: U3 apps and rev

2006-06-25 Thread Jared Smith

For what it's worth, a U3 rep told me they have Mac and Linux on their
2007 roadmap.

On 6/26/06, Lynn Fredricks <[EMAIL PROTECTED]> wrote:

Hi Stephen,

> It just irks me that an add-on product promoted heavily by
> Rev is offered in Windoze support but not Mac. The fact there
> is no set date for any Mac support, leads me to believe it
> will never happen. The presentation at Revcon did not
> convince me U3 cared a fig about Mac OSX.

U3 has a platform to promote and Windows totally dominates the desktop
market, so it makes sense to make the investment there first. They havent
said anything about not supporting Linux and the Mac in the future and they
havent indicated a lack of willingness to do so in the future.

> The lack of platform symmetry in any add-on endorsed by Rev
> is disturbing to me -- seems like a slippery slope.

I'm not following you here - add-on's as in IDE add-on's?

> Why can't Mac developers have "an opportunity to
> differentiate your product this way and make it visible to
> those who purchase and utilize features of U3?"

They might - but the Mac platform for these devices is pretty small at this
point. If they secure a strong position in the Windows market, it makes it a
lot easier to port to Linux and Mac.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


keyboard shortcuts when altBrowser is on

2006-06-25 Thread Jared Smith

Hi all,

altBrowser seems to override any keyboard shortcuts you have unless
you make it go out of focus. Is there a way to - for lack of a better
term - override their override? I'd like to assign simple shortcuts to
go backwards/forwards and shift the focus to the URL bar.

Thanks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: U3 apps and rev

2006-06-25 Thread Jared Smith

While we're on the subject, does anyone know what specific things you
must do to a Rev app to make it usable on any generic thumb drive? I'd
like to distribute such a version along with a U3 version and give the
users a choice.

On 6/25/06, Stephen Barncard <[EMAIL PROTECTED]> wrote:

I think it's the 'hot plugging shutdown' feature that's special about
what they do. I agree it's already possible to make 'portable apps'
on any thumb drive without U3.


>Stephen,
>
>they could always hire us to build the mac side of U3. It's just an
>app that loads on mount, inspect it's own volume and make a nice UI.
>If, and only if, that Launcher app is a normal computer application,
>meaning, something that windows could load by double clicking and
>not some rom based assembler black magic, we could just create with
>Rev such launcher and offer to them to include in the U3 rom.
>
>Don't know, I could talk more with that guy... is he here? does
>anyone have his contact?
>
>Andre
>

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text fields don't focusIn

2006-06-24 Thread Jared Smith

Interestingly, Message Watcher doesn't even see the mouseDown when I
click in the text field. It sees it when I click my list field,
though! Very strange. The only thing that shows up when I click the
text field is some cryptic thing called cREVGeneral.

On 6/25/06, Jared Smith <[EMAIL PROTECTED]> wrote:

I don't think it's a mesage passing issue, because a list field in the
same stack works just fine with focusIn/focusOut. It's just this text
field. I was hoping someone would say that text fields handle focus
differently, but I guess not.

On 6/24/06, Jim Ault <[EMAIL PROTECTED]> wrote:
> On 6/24/06 7:29 PM, "Jared Smith" <[EMAIL PROTECTED]> wrote:
>
> > This issue seems so basic, yet I'm going crazy over it. I've put a
> > focusIn handler inside a text field which tells it to do something.
> > When I click the text field (thus focusing in on it), nothing happens.
> > Am I doing something wrong?
>
> Try opening
> Message Watcher in the Development menu
> to see what it reports as you click, type, etc.
>
> Also put the following in script containers to trap-show-and-pass
>
> on focusIn
>   put "FIELD script hit" & cr & msg
>   pass focusIn
> end focusIn
> on focusIn
>   put " CARD  script hit" & cr & msg
>   pass focusIn
> end focusIn
>
> on focusIn
>   put "  STACK  script hit" & cr & msg
>   pass focusIn
> end focusIn
>
> The point is that you need to see what is happening with the keyboard, the
> field script container, the focus, and the exact order of the messages.
> This is part of the rich fabric of UI (user interface) management, so you
> need to build things carefully.
>
> Be sure to PASS messages that need to travel all the way to the engine to
> make things happen/change.
>
> Hope this helps.
>
> Jim Ault
> Las Vegas
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text fields don't focusIn

2006-06-24 Thread Jared Smith

I don't think it's a mesage passing issue, because a list field in the
same stack works just fine with focusIn/focusOut. It's just this text
field. I was hoping someone would say that text fields handle focus
differently, but I guess not.

On 6/24/06, Jim Ault <[EMAIL PROTECTED]> wrote:

On 6/24/06 7:29 PM, "Jared Smith" <[EMAIL PROTECTED]> wrote:

> This issue seems so basic, yet I'm going crazy over it. I've put a
> focusIn handler inside a text field which tells it to do something.
> When I click the text field (thus focusing in on it), nothing happens.
> Am I doing something wrong?

Try opening
Message Watcher in the Development menu
to see what it reports as you click, type, etc.

Also put the following in script containers to trap-show-and-pass

on focusIn
  put "FIELD script hit" & cr & msg
  pass focusIn
end focusIn
on focusIn
  put " CARD  script hit" & cr & msg
  pass focusIn
end focusIn

on focusIn
  put "  STACK  script hit" & cr & msg
  pass focusIn
end focusIn

The point is that you need to see what is happening with the keyboard, the
field script container, the focus, and the exact order of the messages.
This is part of the rich fabric of UI (user interface) management, so you
need to build things carefully.

Be sure to PASS messages that need to travel all the way to the engine to
make things happen/change.

Hope this helps.

Jim Ault
Las Vegas



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


text fields don't focusIn

2006-06-24 Thread Jared Smith

This issue seems so basic, yet I'm going crazy over it. I've put a
focusIn handler inside a text field which tells it to do something.
When I click the text field (thus focusing in on it), nothing happens.
Am I doing something wrong?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: a couple hurdles I had with Rev

2006-06-21 Thread Jared Smith

Yep, I've just started getting in the habit of duplicating my project
regularly. Luckily, the project I lost was relatively simple and I
reproduced the code in about 30-60 minutes. I'll have to check out that
Constellation thing.

On 6/21/06, Josh Mellicker <[EMAIL PROTECTED]> wrote:


Even with programs with an "autosave" function, I am in the habit of
switching to the Finder a few times every hour, and pressing Cmd D
(duplicate).

I do this unconsciously, and when a project is done, trash or archive
the copies.

Can't tell you how often I've been glad about this!


On Jun 16, 2006, at 9:00 PM, Martin Blackman wrote:

> Whoops!  Better get used to keeping backups. There are a few tools
> around which do that automatically for you, eg Constellation or Magic
> Carpet, I think there is also a free one called smartsave available
> somewhere.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tables behaving badly

2006-06-20 Thread Jared Smith

Ken,

The idea of making the gridlines the same color as the background
sounds good, but when I have a list item selected, you can see the
gridlines for that selection. I wonder if there is a way to make the
hilight lay on top to cover the lines? If so, the solution would be
perfect.

On 6/20/06, Ken Ray <[EMAIL PROTECTED]> wrote:

On 6/19/06 7:50 PM, "Jared Smith" <[EMAIL PROTECTED]> wrote:

> I'm trying to make a table field with text and little icons along the
> right edge (by inserting characters and setting their imagesource).
> Problem: I can't get the icons to stay in a fixed spot along the right
> edge. If I change the text in the field, the icon moves as well.
>
> Just FYI: I have the field set so the gridlines are invisible.

Ah, that's the problem... if you don't have vertical gridlines, the text
will not get chopped off at the column boundaries and will move anything in
the next column. So turn the vertical gridlines back on, and then change the
grid color to white (or whatever the background color of the field is). That
should do the trick...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Reording lists with drag n' drop

2006-06-19 Thread Jared Smith

Thank you for all the advice, everyone. I chose GetinLine to get me
started for now - it works great, but if anyone knows how to remove
the clock icon that gets caught in the snapshots sometimes, please let
me know.

Thanks again.

On 6/19/06, Wilhelm Sanke <[EMAIL PROTECTED]> wrote:

Just to add to the list of  solutions:

There is a stack "DragWithinListField" which uses a transparent button
to show the act and state of the dragging, to be downloaded from
.

Other solutions I implemented are:

- "simple" dragging of a textline without added button or graphic

- dragging *between* list fields

- dragging from a list field into a text field

- also modified versions of  Scott Rossi's "GetinLine" that circumvent
the need to take snapshots.

These solutions can be found here , page
"Samples and Tools for Development" or directly from
.


-- Wilhelm Sanke

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Tables behaving badly

2006-06-19 Thread Jared Smith

I'm trying to make a table field with text and little icons along the
right edge (by inserting characters and setting their imagesource).
Problem: I can't get the icons to stay in a fixed spot along the right
edge. If I change the text in the field, the icon moves as well.

Just FYI: I have the field set so the gridlines are invisible.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: need help with strings

2006-06-17 Thread Jared Smith

Hmmm...I put the following in the message box:

repeat for 3 times
tabString = tabString & tab
end repeat
answer tabString & "hello"

The error I received is:

Script compile error:
Error description: Expression: double binary operator

On 6/18/06, Dar Scott <[EMAIL PROTECTED]> wrote:


On Jun 17, 2006, at 11:03 PM, Jared Smith wrote:

> repeat for myVariable times
> tabCount = tabCount+tab
> end repeat
> put tabCount & "Hello" into field "Field"

Almost there!  Change the + to & and accumulate tabs in the string.

(The name tabCount sounds like a number; call it tabs or tabString.)

Dar Scott

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


need help with strings

2006-06-17 Thread Jared Smith

Hi everyone,

As I was trying to make a string, I instinctively wrote something like:

put tab * 2 & "Hello" into field "Field"

This returned an error. Why can't I tell it to put in two tabs this
way? I need this functionality so I can make the number of tabs vary
according to a variable. Is there a way to do this?

I guess I could use a repeat loop, but I don't know how to do it. My
Java mentality kicked in and wrote something like the following, which
doesn't work:

repeat for myVariable times
tabCount = tabCount+tab
end repeat
put tabCount & "Hello" into field "Field"

My Transcript learning process is admittedly trial & error :-(
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Reordering lists with drag n' drop

2006-06-15 Thread Jared Smith

Wow! The script looks complicated but it's exactly the functionality I
wanted (but didn't think I could get). Thank you!

On 6/16/06, Scott Rossi <[EMAIL PROTECTED]> wrote:

Recently, Jared Smith wrote:

> I'm wondering what the easiest way is to implement this feature. I
> have a normal list field with items that I'd like to be able to click
> and drag up or down.
> ...
> I wish this functionality was included, but anyway if
> anyone can think of a real easy way to do it, please let me know.

A real easy way?  No, but here's one way (execute in your message box):

  go url "http://www.tactilemedia.com/download/getinline.rev";

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Reordering lists with drag n' drop

2006-06-15 Thread Jared Smith

I'm wondering what the easiest way is to implement this feature. I
have a normal list field with items that I'd like to be able to click
and drag up or down.

I'm contemplating using mouseDown to grab them and, upon mouseUp,
measure which line it is closest to and move it. I'd also need to come
up with some animation effect to show the user where it'll go before
they release. I wish this functionality was included, but anyway if
anyone can think of a real easy way to do it, please let me know.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: a couple hurdles I had with Rev

2006-06-15 Thread Jared Smith

Thanks for the quick reply. I guess I did something wrong when I
search for "deleteKey."

By the way, why doesn't the Undo command under "Edit" in Rev work? I
accidently deleted most of my program and tried to undo it, but it
didn't work. So I decided to close the program without saving.
Annoyingly, it saved anyway and so I have to write everything over
again. I'm kind of frustrated right now.

On 6/15/06, Alex Tweedly <[EMAIL PROTECTED]> wrote:

Mark Smith wrote:

>
> On 16 Jun 2006, at 00:47, Jared Smith wrote:
>
>> Here are a few things that I've been confused about:
>>
>> 1) How do I find the number of times a certain character appears in a
>> string? The "offset" function only finds the first occurance, it
>> doesn't count them.
>>
>
> This function should work:
>
> function charCount tText,tChar
>   set the itemDelimiter to tChar
>   return the number of items in tText - 1
> end charCount
>
Watch out for the case where the last character in the string is the one
you are interested in; because there isn't an item after it, this gives
the wrong result - I'd use

function charCount tText,tChar
  set the itemDelimiter to tChar
  if char -1 of tText = tChar then
return the number of items in tText
  else
return the number of items in tText - 1
  end if
end charCount


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 14/06/2006

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


a couple hurdles I had with Rev

2006-06-15 Thread Jared Smith

Here are a few things that I've been confused about:

1) How do I find the number of times a certain character appears in a
string? The "offset" function only finds the first occurance, it
doesn't count them.

2) Why isn't there a deleteKey handler? There's a backspaceKey and a
few others, but I'd like a way to respond when the user presses the
delete key.

Thanks and my complements to the guys at RunRev - really excellent
software so far.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution