Sign in to follow this  
Followers 0
Glyph

XSkin help me

8 posts in this topic

#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



a new one to me

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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

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

Share this post


Link to post
Share on other sites

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

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

#7 ·  Posted (edited)

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

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  
Followers 0