Results 1 to 5 of 5
  1. #1
    shotyoudie's Avatar
    Join Date
    May 2009
    Gender
    female
    Posts
    119
    Reputation
    10
    Thanks
    6
    My Mood
    Angelic

    [HELP] DotNetBar ItemPanel

    Hello every1

    I'm using itempanel, but i got some problem with it. This code worked before when i used a normal listbox:
    Code:
    If listbox1.selecteditem = "Radio538" Then
                'bla
    end if
    so i tryed with ItemPanel where the function is selecteditems:
    Code:
    If ItemPanel1.selecteditems = "Radio538" Then
                'bla
    end if
    but i get this error with it :|
    Code:
    Error	1	Overload resolution failed because no accessible '=' can be called with these arguments:
        'Public Shared Operator =(a As String, b As String) As Boolean': Value of type 'System.Collections.Generic.List(Of DevComponents.DotNetBar.BaseItem)' cannot be converted to 'String'.	C:\Users\...path...
    I can't get it fixed and i can't find it anywhere on google..

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    If ItemPanel1.selecteditems(0).text = "Radio538" Then
    'bla
    end if

    Dno, no time atm =D



  3. #3
    shotyoudie's Avatar
    Join Date
    May 2009
    Gender
    female
    Posts
    119
    Reputation
    10
    Thanks
    6
    My Mood
    Angelic
    Quote Originally Posted by Blubb1337 View Post
    Dno, no time atm =D
    Dno, it works thanks !

    Quote Originally Posted by Blubb1337 View Post
    Dno, no time atm =D
    Dno, it works thanks !
    Last edited by shotyoudie; 09-17-2010 at 01:16 PM.

  4. #4
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Solved ?

  5. #5
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I would mark it solved, some users come by randomly for snippets and help, then we never see them again, blubb is right, so technically, it should be


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [help]DotNetBar help
    By o0OpurezO0o in forum Visual Basic Programming
    Replies: 7
    Last Post: 01-23-2011, 07:15 PM
  2. [HELP] DotNetBar
    By jajarem64 in forum Visual Basic Programming
    Replies: 1
    Last Post: 07-29-2010, 08:27 PM
  3. [Help]With DotNetBar Controls[Help]
    By Hassan in forum Visual Basic Programming
    Replies: 7
    Last Post: 06-24-2010, 02:57 PM
  4. [Help]DotNetBar DLLs[Solved]
    By tempta43 in forum Visual Basic Programming
    Replies: 25
    Last Post: 06-15-2010, 04:01 AM
  5. [HELP]problem in using dotnetbar
    By Infinitry in forum Visual Basic Programming
    Replies: 5
    Last Post: 03-05-2010, 09:07 PM