Print Page | Close Window

Skinning with Visual DataFlex

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=8636
Printed Date: 31 January 2025 at 2:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skinning with Visual DataFlex
Posted By: Patrick85
Subject: Skinning with Visual DataFlex
Date Posted: 01 November 2007 at 5:50am
Hello,

please help me.

I will skin my Application (Visual DataFlex -Program).

Hello,

I want to Skin my Application.

Object OAPPLICATION is a CAPPLICATION
End_Object // OAPPLICATION

Object oSkin is a cComSkinFramework
    Procedure OnCreate
        Boolean bLoaded
        Get ComLoadSkin "Office2007.cjstyles" "" to bLoaded
End_Object

...

The Skinning is work for the windows (the borders have correctly the
officestyle...), but not for the Objects in the Views (Form)!
Buttons, Edits, Comboforms, etc... have not the new style, only the
backgroundcolor of the View (Form) have the new color. (see picture in the Zip at the end)

I have found the Procedure ComApplyWindow:

Object View is a dbView    // -> (Form) uploads/20071101_055028_OrderEntry.zip -
...

    PROCEDURE ACTIVATE
        Handle hWND
        boolean bLoaded

        forward send activate
        Get Window_Handle of self to hWND
        Send ComApplyWindow to (oSkin(desktop)) hWND
    END_PROCEDURE //ACTIVATE
End_Object

but this doesn't work.

Can someone help me? Have someone the same problem?

uploads/20071101_055028_OrderEntry.zip - uploads/20071101_055028_OrderEntry.zip

Best regards
Patrick Pleitgen




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