Results 1 to 9 of 9

Thread: [RESOLVED] jmcilhinney

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member ahmad_iam's Avatar
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    265

    Resolved [RESOLVED] jmcilhinney

    The Quantum Control provided in the signature of jmcilhinney is not working as i have installed it. It is not working. How we can use the Quantum componet working correctly.

    I place Quantum control on my form but it it not working as they are. Please provide me guide how to use correctly.

    Thanks
    Imran Ahmad Mughal
    "Visual Studio .NET 2005/.NET Framework 2.0"

    The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: jmcilhinney

    That library contains many components. Which component is it that is not working and what exactly is it not doing that it should?

  3. #3

    Thread Starter
    Hyperactive Member ahmad_iam's Avatar
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    265

    Lightbulb Re: jmcilhinney

    Quote Originally Posted by jmcilhinney
    That library contains many components. Which component is it that is not working and what exactly is it not doing that it should?
    When I put a control on the form, it is not like themd label or other control. Is there is any problem. Please explain.

    Imran Ahmad Mughal
    "Visual Studio .NET 2005/.NET Framework 2.0"

    The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: jmcilhinney

    I don't understand exactly what you mean. If you're saying that the ThemedLabel looks just like a regular Label then you're correct. All the Themed controls are designed specifically to be placed on the ThemedTabControl so that the proper BackColr is displayed. Notice how the standard TabControl on the left doesn't display the correct BackColor while the ThemedTabControl on the right does. The standard Label on the ThemedTabControl also doesn't show the correct BackColor, while the ThemedLabel does. That's what those controls are for.
    Attached Images Attached Images  

  5. #5

    Thread Starter
    Hyperactive Member ahmad_iam's Avatar
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    265

    Lightbulb Re: jmcilhinney

    Quote Originally Posted by jmcilhinney
    I don't understand exactly what you mean. If you're saying that the ThemedLabel looks just like a regular Label then you're correct. All the Themed controls are designed specifically to be placed on the ThemedTabControl so that the proper BackColr is displayed. Notice how the standard TabControl on the left doesn't display the correct BackColor while the ThemedTabControl on the right does. The standard Label on the ThemedTabControl also doesn't show the correct BackColor, while the ThemedLabel does. That's what those controls are for.
    Ok but when I place a Themed button control on to form, it is like the regular bttton but no the themed button. What's the problem with that.

    Thanks
    Imran Ahmad Mughal
    "Visual Studio .NET 2005/.NET Framework 2.0"

    The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: jmcilhinney

    The purpose of the ThemedButton is to allow you to place an image on it when visual styles are enabled. The ThemedButton looks exactly the same as the regular Button, with visual styles enabled or disabled as you specify. The difference arises when you enable visual styles and add an image to the buttons. The standard Button will not display the image while the ThemedButton will. The only other difference is that the FlatStyle property is hidden and set to System by default. Regardless of whether you are using the regular .NET controls or the Quantum controls, you still need to enable visual styles in your application like this:
    VB Code:
    1. Shared Sub Main()
    2.         Application.EnableVisualStyles()
    3.         Application.DoEvents()
    4.         Application.Run(New Form1)
    5.     End Sub
    Once you've done that, using the Quantum controls instead of the standard controls fixes some of the issues with visual style support in VS.NET 2003, like TabPage BackColors and images on Buttons.

  7. #7

    Thread Starter
    Hyperactive Member ahmad_iam's Avatar
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    265

    Lightbulb Re: jmcilhinney

    Quote Originally Posted by jmcilhinney
    The purpose of the ThemedButton is to allow you to place an image on it when visual styles are enabled. The ThemedButton looks exactly the same as the regular Button, with visual styles enabled or disabled as you specify. The difference arises when you enable visual styles and add an image to the buttons. The standard Button will not display the image while the ThemedButton will. The only other difference is that the FlatStyle property is hidden and set to System by default. Regardless of whether you are using the regular .NET controls or the Quantum controls, you still need to enable visual styles in your application like this:
    VB Code:
    1. Shared Sub Main()
    2.         Application.EnableVisualStyles()
    3.         Application.DoEvents()
    4.         Application.Run(New Form1)
    5.     End Sub
    Once you've done that, using the Quantum controls instead of the standard controls fixes some of the issues with visual style support in VS.NET 2003, like TabPage BackColors and images on Buttons.
    Thanks it works, but where is the listbox and TextBox control in the Quantum componet. Is they are in with different name, if yest then what is the new name of that controls(TextBox and ListBox)


    Thanks
    Imran Ahmad Mughal
    "Visual Studio .NET 2005/.NET Framework 2.0"

    The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.

  8. #8
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: jmcilhinney

    There are no visual style issues with the TextBox or ListBox so they haven't created replacements. All the Themed controls have been created to address issues in the visual style support in VS.NET 2003. The ThemedButton is provided because regular Buttons don't support images when visual styles are enabled. The ThemedNumericUpDown has been provided because the regular NumericUpDown doesn't support visual styles at all. The ThemedTabControl has been provided because regular TabPages do not show the correct BackColor when visual styles are enabled. All the other Themed controls have been provided because their regular equivalents do not display the correct BackColor when placed on a ThemedTabControl. If there are no visual style issues associated with a standard control then they have provided no replacement.

  9. #9

    Thread Starter
    Hyperactive Member ahmad_iam's Avatar
    Join Date
    Jun 2005
    Location
    Pakistan
    Posts
    265

    Lightbulb Re: jmcilhinney

    Quote Originally Posted by jmcilhinney
    There are no visual style issues with the TextBox or ListBox so they haven't created replacements. All the Themed controls have been created to address issues in the visual style support in VS.NET 2003. The ThemedButton is provided because regular Buttons don't support images when visual styles are enabled. The ThemedNumericUpDown has been provided because the regular NumericUpDown doesn't support visual styles at all. The ThemedTabControl has been provided because regular TabPages do not show the correct BackColor when visual styles are enabled. All the other Themed controls have been provided because their regular equivalents do not display the correct BackColor when placed on a ThemedTabControl. If there are no visual style issues associated with a standard control then they have provided no replacement.
    Thank you dear Thank you very much. I understand what is going on. You'r are very nice man. I pray my Allah, that you got success in your field (Ameen).

    Thanks
    "Visual Studio .NET 2005/.NET Framework 2.0"

    The eyes are the greatest telescopes, one will ever need to study the universe. Let the heart be the tripod, the mind be the shaft, then let the eyes become the lens of that great telescope of which God gave to us all.

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