Jump to content
Sign in to follow this  
Glyph

XSkin help me

Recommended Posts

Glyph

#include <XSkin.au3> 

; folder of skin
$Skin_Folder = @ScriptDir & "\Skins\Black-Yellow"

$XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder)

$button_1 = XSkinButton("Button 1", 145, 100, 100, 35, "Hello")

GUISetState()

While 1
    
    MouseOver()
    
    Sleep(10)
WEnd

Func Hello()
    MsgBox(64, "XSkin", "Test Button 1", 3)
EndFunc

Error is this:

C:\Documents and Settings\Login\Desktop\Calender v0.2\XSkin.au3 (8) : ==> #include depth exceeded. Make sure there are no recursive includes.:

#include <XSkin.au3>

Any ideas?


tolle indicium

Share this post


Link to post
Share on other sites
Glyph

I am using the latest beta, maybe that has soemthing to do with it?,

i'll let ya know when i figure out the problem, val.


tolle indicium

Share this post


Link to post
Share on other sites
Glyph

Found it.

I uncommented some code in the xskin itself so it was calling itself!

now it is not!


tolle indicium

Share this post


Link to post
Share on other sites
Valuater

Could you attach the XSkin.au3 that you're using ?

thanks Heldge... i had no idea, i have never heard of that error before

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Helge

I thought so. I noticed the commented #include, so I thought that maybe you'd modified it,

making the file include itself. This is what #include-once is for, Valuater ;)

And btw, I'm not Hedge or Heldge. I prefer Helge :lmao:

Edited by Helge

Share this post


Link to post
Share on other sites
Valuater

thanks...

and i know you are Helge.. i just typed it quickly with the "d" and didn't look

( i typed like most english words have )

sorry

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.