Your code likely has "BrowserNewInstance" in it which will create a new browser object each time it's run.Andycal wrote: Google is still underneath and the image seems to be a mixture of the two.
Should I be clearing something out before opening the new page?
Search found 17 matches
- Fri Apr 24, 2009 6:15 am
- Forum: Internet
- Topic: Funny revbrowser behaviour
- Replies: 2
- Views: 3319
Re: Funny revbrowser behaviour
- Sun Mar 15, 2009 1:23 am
- Forum: Mac OS
- Topic: Using revCopyFile to duplicate a file renames the original
- Replies: 9
- Views: 8187
Hi Hank, you must be on a mac since revcopyfile uses applescript to do the copying Yes, I'm working on a Mac, hence posted in the Mac OS Category :) Thanks for confirming my guess about the reasoning. I was pretty sure, but it's nice to get a confirmation. I thought about using the PUT style, but I...
- Sun Mar 15, 2009 1:17 am
- Forum: Mac OS
- Topic: Using revCopyFile to duplicate a file renames the original
- Replies: 9
- Views: 8187
Hi Hank, What about using the shell function? Thanks Mark. I'm not much of a UNIX guy, but this is what I came up with as my sample, and it works well enough for my purposes that I'll be able to use it in my actually stack. ON mouseUp pMouseBtnNo answer file "Select file to Duplicate" IF it is not ...
- Sun Mar 15, 2009 12:20 am
- Forum: Mac OS
- Topic: Using revCopyFile to duplicate a file renames the original
- Replies: 9
- Views: 8187
Dear Hank, Why exactly do you want to rename a file? I don't, I want to Duplicate a file. The side effect of doing so within the same directory is that the original fine is getting renamed (see the sample code in the first msg to try it) I think what is happening is that the revCopyFile command is ...
- Sat Mar 14, 2009 11:14 pm
- Forum: Mac OS
- Topic: Using revCopyFile to duplicate a file renames the original
- Replies: 9
- Views: 8187
Perhaps you want to use the rename command? It still gets messy because I'd need to figure out what sourceFile's new name is. If SourceFile's name is MyFile, then it will be renamed as "MyFile 2", however if it's named "MyFile 147" then it'll be renamed "MyFile 148", so I'd have to test if the last...
- Sat Mar 14, 2009 6:59 pm
- Forum: Mac OS
- Topic: Using revCopyFile to duplicate a file renames the original
- Replies: 9
- Views: 8187
Using revCopyFile to duplicate a file renames the original
If I revCopyFile to a different directory it works as expected, however if I try to revCopyFile into the same directory with a new name, the original file gets a " 2" appended to it. As a simple example ON mouseUp pMouseBtnNo answer file "Select the file to Duplicate" IF it is not empty THEN put it ...
- Sat Mar 07, 2009 5:57 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Strip Leading Zeros
- Replies: 7
- Views: 5343
- Sat Mar 07, 2009 5:46 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Strip Leading Zeros
- Replies: 7
- Views: 5343
Put this in the field's scriptPhilhold wrote: how would I apply it to a field and what would I use to trigger the function?
Code: Select all
ON closeField
put toupper(me) into me
END closeField
Hank
- Fri Oct 31, 2008 12:31 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
That's exactly where I was headed :) Yes, that solves the issue in both the little test stack as well as the real set of stacks in which I originally ran into this. Thanks for working this out with me, Mark, it's the little rev quirks that can be the most frustrating. Glad this one can be set aside ...
- Fri Oct 31, 2008 2:24 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
Being able to reproduce it is at least a step in the right direction (it at least tells me that it's not an issue solely on my end). The destroyWindow property is set to TRUE because when it's set to FALSE the stack shrinks as a standalone (damned if you do...). I'm thinking perhaps if it is set to ...
- Fri Oct 31, 2008 1:15 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
Hank, I know this looks silly Thanks, Mark, and no it doesn't look silly at all, i've used similar hacks to get around a weird behavior before. Unfortunately, it does not change the "ever growing" issue in this case. Perhaps it's time to play with setting and unsetting the destroyWindow prop, maybe...
- Thu Oct 30, 2008 11:13 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
I did leave out one detail, this behavior is only in a standalone, the stack does not continually grow in the development environment. Still, I'll try disabling GLX in case there's some weird interaction during the compile. I have gone through the stacks carefully there is no hidden code here's what...
- Thu Oct 30, 2008 9:32 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
Now I'm finding my problem is the inverse. each time i close the stack, it grows in height by 27 pixels I made a test stack containing a substack. The only code in the card script of the mainStack opens the substack. The only controls in the substack are a button that displays the height of the main...
- Mon Oct 27, 2008 11:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243
- Mon Oct 27, 2008 9:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: What is the best way to deal with x-plat MenuBar use
- Replies: 16
- Views: 10243