Want a personalized web browser? Here is a way to do it, with REALbasic 2008 (Note that this won't work on versions of REALbasic that don't have a HTML viewer)
- 1Drag a editField, a PushButton, and a HTML viewer to the window editor
- 2Put the editField in the Top Left corner of the window
- 3Put the pushButton in the Top Right corner
- 4Put the HTML viewer in below the editField and pushButton
- 5Click on the editField and look to the right of the window, change EditField1 to Location
- 6Click on the pushButton and change its name to LoadPage
- 7Click on the HTMLviewer and change it's name to Browser
- 8Check all four of the "Lock" checkboxes on the HTMLviewers properties
- 9Check LockTop and LockRight on the pushButton properties
- 10Check LockLeft, LockTop and LockRight on the editfield settings
- 11Change the PushButton caption from "Untitled" to "Go"
- 12Enter the following code into the "Go" Button (Double-Click on it): Browser.LoadURL Location.Text
- 13That's it! You're all done! Personalize your browser by putting pictures on the window!
No comments:
Post a Comment