Results 1 to 7 of 7

Thread: probem reloading frame with new data on click over listview row

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    probem reloading frame with new data on click over listview row

    I wonder how i can reload frame when i click on listview row. I have seen applications like shown pic that it reloads frame on click over listview row. Could any one show me how this can be done?



    Thanks


    1 Code:
    1. Private Sub ListView1_Click()
    2. gstrSomething = ListView1.SelectedItem.SubItems(4)
    3. gstrSomethingElse = ListView1.SelectedItem.Text
    4. Frame1.Visible = True
    5.  
    6. End Sub
    Attached Images Attached Images  
    Last edited by tony007; May 11th, 2007 at 03:05 PM.

  2. #2
    Fanatic Member r0ach's Avatar
    Join Date
    Dec 1999
    Location
    South Africa
    Posts
    722

    Re: probem reloading frame with new data on click over listview row

    What are you trying to reload? Where's it from?

    r0ach™
    Don't forget to rate the post

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Re: probem reloading frame with new data on click over listview row

    i want to reload a webbrowsers that are inside frame.

  4. #4
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: probem reloading frame with new data on click over listview row

    You mean like
    vb Code:
    1. ControlName.Refresh
    ??

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Re: probem reloading frame with new data on click over listview row

    Quote Originally Posted by Hell-Lord
    You mean like
    vb Code:
    1. ControlName.Refresh
    ??
    I have already tried that. Since i am passing listview item to those webbrowser on click over listview row.That approch is not working!! It is not passing listview data!! Is there any way to reload multiple controles such webbrowser and listview inside frame on ONE refresh? i mean seeing only one flicking instead of 2.

  6. #6
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: probem reloading frame with new data on click over listview row

    vb Code:
    1. Me.Refresh
    ??

    I still don't get your problem? You just said it is not passing data! is that the problem? Or is refreshing/reloading the problem?

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Re: probem reloading frame with new data on click over listview row

    Quote Originally Posted by Hell-Lord
    vb Code:
    1. Me.Refresh
    ??

    I still don't get your problem? You just said it is not passing data! is that the problem? Or is refreshing/reloading the problem?
    if i use WebBrowser1.Refresh it will not pass the data!! Also since i have multiple controles inside frame i wonder if it is possible to reload them all at once instead of seeing multiple flicking? I tried the following:

    1 Code:
    1. Private Sub ListView1_Click()
    2. gstrSomething = ListView1.SelectedItem.SubItems(4)
    3. gstrSomethingElse = ListView1.SelectedItem.Text
    4. Frame1.Visible = True
    5.  
    6. WebBrowser1.Refresh
    7. WebBrowser2.Refresh
    8. End Sub
    I saw 2 mouse flicking and also data weren't passed.Furthermore,mouse flicking belongs to webbrowser only or it is for all controles such as treeview too?

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