Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2003, 05:38 AM
BrettJ BrettJ is offline
Member
 
Join Date: Aug 2003
Posts: 31
Default ActiveSkin help PLEASE!!! or anyone who could help by looking at it

I need to know how to make an object disappear in my skin through code. I've done this VB and tried to apply what I knew to some Delphi code, but it's not working.

var
sknObj: ISkinObject;
sknVis: ISkinVisual;
begin
skin.GetSkinnedWindow(handle).FindObject('Library Buttons', sknObj);
* sknVis := sknObj;
sknVis.SetVisible(false);
end;

The problem is in the marked line (*). It says they are incompatible types. If I typecast it, it compiles but doesn't work.

Any help is appreciated.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 02:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.