Print Page | Close Window

popup control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=23534
Printed Date: 16 April 2024 at 10:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: popup control
Posted By: coder41
Subject: popup control
Date 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






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net