Re: Array or Dictionary full of URLs

2006-09-08 Thread Steven Hedgepeth
In the event that occurs after the user enters the URL, try this:a(0) = "http://www.google.com";    ' Take the URL as text and assign it to a(0)Take the next URL that is entered and try this:a(1) = "http://www.wikipedia.com"Then, if the back button or forward button is pressed try this in the

Re: Array or Dictionary full of URLs

2006-09-08 Thread Brian Heibert
Quick question how do I get the url the user typed and send it to a(0) and then make sure when the user types in and send it to a(1), etc. Then make it so when the back button is pressed if a url is available in the array it goes to the last one not the current one viewed. Also when the forw

Re: Array or Dictionary full of URLs

2006-09-08 Thread Jeff Borckardt
//This is very basic and clunky but hopefully clarifies things dim a(3) as string //your array dim b as string //another string for later dim i as integer //this loads values into your array a a(0)="Apples" a(1)="Oranges" a(2)="Kiwi" a(3)="Pears" //this pulls the info from your array and compil

RE: Array

2006-01-29 Thread Dixon, Tom
Try creating the Array as a property of the window instead of dimensioning it locally. Then use Append to add new URLs to the array. To find the last URL use Ubound or you could just keep track of the number of URLs in another property. > > I don't know but I was told that using a array I could s

Re: Array

2006-01-29 Thread Brian Heibert
I don't know but I was told that using a array I could save how many sites have been visited and create a back button that goes back to the previous sites visited I would do something similar for the foward button too Brian On Jan 29, 2006, at 6:03 AM, CV wrote: On Jan 28, 2006, at 11:54 AM

Re: Re: Array

2006-01-29 Thread daniel
Hello, I will be out of the office from 2pm on January 25th to Noon on January 27th. I will be checking email sporadically but will most likely not be able to make any replies until Friday the 27th. If you need immediate assistance feel free to call and leave me a voice mail at 917-282-9037

Re: Array

2006-01-29 Thread CV
On Jan 28, 2006, at 11:54 AM, Brian Heibert wrote: Hi, I tried something like this: dim vi as string vi = viewer.gofield.text Dim myArray() as String Dim newArray() as String myArray(0)=vi newArray()=myArray //newArray set equal to myArray viewer.htmlviewer1.loadurl Str(newA

Re: Array

2006-01-22 Thread Seth Willits
On Jan 22, 2006, at 1:13 PM, Brian Heibert wrote: Can you explain that any better or give a example sorry I am new to arrays but I need some way to save the last url so I can have a Back button in my web browser Open up the User Guide and read "Using Arrays" which is on the bottom of page 1

Re: Array

2006-01-22 Thread Brian Heibert
Maybe I have but didn't know it On Jan 22, 2006, at 4:17 PM, Terry Ford wrote: On 22-Jan-06, at 1:13 PM, Brian Heibert wrote: Can you explain that any better or give a example sorry I am new to arrays but I need some way to save the last url so I can have a Back button in my web browser A

Re: Array

2006-01-22 Thread Terry Ford
On 22-Jan-06, at 1:13 PM, Brian Heibert wrote: Can you explain that any better or give a example sorry I am new to arrays but I need some way to save the last url so I can have a Back button in my web browser Are you saying that, in the three plus years you have been using REALbasic, you h

Re: Array

2006-01-22 Thread Brian Heibert
Can you explain that any better or give a example sorry I am new to arrays but I need some way to save the last url so I can have a Back button in my web browser On Jan 22, 2006, at 3:25 PM, Seth Willits wrote: On Jan 22, 2006, at 11:53 AM, Brian Heibert wrote: How would I go about creating a

Re: Array

2006-01-22 Thread Seth Willits
On Jan 22, 2006, at 11:53 AM, Brian Heibert wrote: How would I go about creating a array that would save the last url that was entered in the url edit field so if a new url is entered in the edit field when the user clicks back it would go back to the old edit field dim saveurl() as str