Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Preview control BackColor stays white
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Preview control BackColor stays white

 Post Reply Post Reply
Author
Message
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Topic: Preview control BackColor stays white
    Posted: 22 September 2025 at 6:40am

Hello,

I am using Codejock SuiteX (SuiteControls), and I am trying to change the BackColor property of the Preview control. However, no matter what value I set, the background always stays white.Unhappy

IDE: Visual Basic 6.0 with SP6
OS: Windows Vista both Windows 11

Is there a known issue with the Preview control’s BackColor property, or is there an additional step required to make the background color change take effect?

Thank you in advance for your help.Smile

Back to Top
agontarenko View Drop Down
Moderator Group
Moderator Group


Joined: 25 March 2016
Status: Offline
Points: 343
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2025 at 6:43am
Back to Top
agontarenko View Drop Down
Moderator Group
Moderator Group


Joined: 25 March 2016
Status: Offline
Points: 343
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 08 October 2025 at 6:44am
Hello,

Try to use Preview.BackColor = vbYellow
After this call result as on image

Regards,
Artem Gontarenko
Back to Top
agontarenko View Drop Down
Moderator Group
Moderator Group


Joined: 25 March 2016
Status: Offline
Points: 343
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2025 at 5:14am
Hello,

I'm glad to inform you that the issue has been addressed and fixed. The fix will be available in the next beta or final release.
At now you can change color by VB6 options

Regards,
Artem Gontarenko
Back to Top
Norika View Drop Down
Groupie
Groupie
Avatar

Joined: 30 November 2006
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote Norika Quote  Post ReplyReply Direct Link To This Post Posted: 19 hours 14 minutes ago at 7:54pm

Dear Artem,

Thank you for the update and for fixing the .BackColor issue in the December 31st release! I've confirmed that the background color now updates correctly.

I have one follow-up question below, regarding the Preview control.

 Once a file or image has been loaded, I'm not sure how to properly "unload" it to revert the control to its original empty state.
Could you please let me know the best way to:

Clear/Unload the current content
from the viewer?
(To bypass this, I'm loading a minimal dummy file (a.jpg) of the same background color into the Preview control to act as a reset.)

I want to make sure the control is completely reset and the memory is cleared before loading the next file.

In addition to the above, I would like to request a property that indicates the control's current state: specifically, a Boolean property (True/False) to determine if a file is currently loaded, or a property that returns the full file path if a file is present.

Any advice or a quick code snippet for VB6 would be greatly appreciated!

Best regards,

Norika

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.