Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9227249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:01:31+00:00 2026-06-18T05:01:31+00:00

I have an odd issue where if I populate my XtraGrid.GridControl using RunWorkerAsync the

  • 0

I have an odd issue where if I populate my XtraGrid.GridControl using RunWorkerAsync the current selected skin does not apply itself to the grid scrollbars [on program load].

If I don’t populate the grid Asynchronously the theme is applied to the scroll bars.

More about my code:

I using Outlook interop to collect a list of emails and populate them to simulate an email inbox. I need it to run async else the program snarls up.

I am using:

Private WithEvents m_backgroundWorkerInbox As New BackgroundWorker  

Public Sub New()
    InitializeComponent()
    ' some general settings code + connection to outlook
    m_backgroundWorkerInbox.RunWorkerAsync()

end sub

Private Sub m_backgroundWorkerInbox_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles m_backgroundWorkerInbox.DoWork
    ' do some work
End Sub

Private Sub m_backgroundWorkerInbox_RunWorkerCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.RunWorkerCompletedEventArgs) Handles m_backgroundWorkerInbox.RunWorkerCompleted
    ' do some work

End Sub

If I bypass the async and copy the code out of the async workers and put it in the New() the scrollbars collect the correct theme at first program load.

Has anyone else encountered this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:01:33+00:00Added an answer on June 18, 2026 at 5:01 am

    After some investigation I found:

    If you set a skin after the data has loaded into the grid it will apply the skin to the scrollbar. The issue is that you cannot reapply the same skin, you need to switch out to do it.

    A good but hacky solution could be to populate the grid with 20 rows of duff data from a different data source then when tbe data is loaded empty and repopulate the grid.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an odd issue while using FlashCS4. I have a textfield that, when
I have an odd issue. I'm using the CSS Anything slider thanks to Chris
I have a slightly odd issue with Java generics. Actually it might not be
I ran into an odd issue today in which a Visual Studio does not
I'm having an odd issue in FF10 using jQuery 1.7.1. I have a gallery
Have an odd issue while using the active_directory module, which is amazing BTW... awesome
I have a really odd issue... I am using the to.weekly and to.period function
I have an odd issue that I can not for the life of me
I'm having a particularly odd issue when developing Chrome extensions using jQuery. I have
I may have found an odd issue today with Umbraco 4.8.1 (this is not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.