I'm having some real problems with layers.
I have attached some code to a page in my Designer project which looks a little like this:
Code: Select all
Function GetDrawerNames(firstdrawerno)
For drawerloop = 1 to 5
drawernames$[drawerloop] = (drawers$[drawerloop + firstdrawerno])
Next
SetFont("CGTimes.font", 40)
SetFontColor($EA000D)
t$ = ("[edge=$180F77,1]"..drawernames$[1])
HideLayer(951)
CreateTextObject (901,t$, #LEFT, 0)
InsertLayer (951, #TEXTOBJECT, 901, 886, 270)
;... (the above is then repeated 4 times, plotting the layers at different positions)
EndFunction
Code: Select all
fdn=1
GetDrawerNames(fdn)
Code: Select all
fdn=fdn+1
GetDrawerNames(fdn)
Any ideas? Thanks in advance!