Monday, December 14, 2009

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)

  1. 1
    Drag a editField, a PushButton, and a HTML viewer to the window editor
  2. 2
    Put the editField in the Top Left corner of the window
  3. 3
    Put the pushButton in the Top Right corner
  4. 4
    Put the HTML viewer in below the editField and pushButton
  5. 5
    Click on the editField and look to the right of the window, change EditField1 to Location
  6. 6
    Click on the pushButton and change its name to LoadPage
  7. 7
    Click on the HTMLviewer and change it's name to Browser
  8. 8
    Check all four of the "Lock" checkboxes on the HTMLviewers properties
  9. 9
    Check LockTop and LockRight on the pushButton properties
  10. 10
    Check LockLeft, LockTop and LockRight on the editfield settings
  11. 11
    Change the PushButton caption from "Untitled" to "Go"
  12. 12
    Enter the following code into the "Go" Button (Double-Click on it): Browser.LoadURL Location.Text
  13. 13
    That's it! You're all done! Personalize your browser by putting pictures on the window!

No comments:

Post a Comment