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

popup control

 Post Reply Post Reply
Author
Message
coder41 View Drop Down
Newbie
Newbie
Avatar

Joined: 11 April 2016
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote coder41 Quote  Post ReplyReply Direct Link To This Post Topic: popup control
    Posted: 29 December 2017 at 8:34am
Hello everyone,

i want to change theme of popup control (office 2007 blue, black, office 2010 blue, black etc).

So i made some screenshot of themed forms and save them as png file.

I'm trying to use these files as background and put some text on it.

Test 1, i can see text, but there is no backgound bitmap.

Test 2, i have background image, but text is not visible.

Can you help?

Thank you for your support...

Test 1

With PopupControl1
        .RemoveAllItems
        .Icons.RemoveAll
        .Icons.LoadBitmap App.Path & "\files\t" & tema & ".png", 100, xtpImageNormal
        Set Item = .AddItem(25, 6, 396, 20, "Hello world")
        Item.TextColor = vbWhite
        .SetSize 396, 151
        .Show
End With

Result 1

    

Test 2

With PopupControl1
        .RemoveAllItems
        .Icons.RemoveAll
        .Icons.LoadBitmap App.Path & "\files\t" & tema & ".png", 100, xtpImageNormal
.BackgroundBitmap = 100
        Set Item = .AddItem(25, 6, 396, 20, "Hello world")
        Item.TextColor = vbWhite
        .SetSize 396, 151
        .Show
End With

Result 2



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.141 seconds.