Results 1 to 3 of 3

Thread: Status bar...Style = Simple...Why can't I set the picture of the panel???

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Status bar...Style = Simple...Why can't I set the picture of the panel???

    How do u set the picture property of the panel when the status bar is in simple mode???

    Woka

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    Simple mode does not support images in it...
    Also...if you want Text on it in simple mde ..you need to use the SimpleText property..

    and one more thing...when the Statusbar is in simple mode. You cannot control it through the Panels() collection

    they are maintained seperately

    try this:
    VB Code:
    1. Private Sub Command1_Click()
    2. If StatusBar1.Style = sbrSimple Then
    3. StatusBar1.Style = sbrNormal
    4. Else
    5. StatusBar1.Style = sbrSimple
    6. End If
    7.  
    8. End Sub
    9.  
    10. Private Sub Form_Load()
    11. StatusBar1.SimpleText = "SimpleMode"
    12. StatusBar1.Panels(1).Text = "Normal Mode"
    13. End Sub
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width