Question about
WRITE BANK STRING, Is it 1 position per charicter? Wondering as i'll need to send 2 strings so trying to make sure i get the positioning correct.
I think this is right, but not sure
FUNCTION CreateSkinnedWindow(x,y,width,height,Btns,Title$,Skin$,p)
LockSysObj(2,0)
WRITE BANK BYTE 2,0,1
WRITE BANK INTEGER 2,1,1
WRITE BANK INTEGER 2,5,x
WRITE BANK INTEGER 2,9,y
WRITE BANK INTEGER 2,13,w
WRITE BANK INTEGER 2,17,h
WRITE BANK INTEGER 2,21,Btns
WRITE BANK STRING 2,25,Title$,200
WRITE BANK STRING 2,225,Title$,200
WRITE BANK STRING 2,425,Skin$,200
UNLOCK SYSOBJ 2
LockSysObj(1,1)
WINDOW_NUMBER = BANK INTEGER(1,1)
WINDOW_PANEL = BANK INTEGER(1,5)
UNLOCK SYSOBJ 1
GADGET = CREATEGADGETFROMWINDOW(WINDOW_PANEL)
ENDFUNCTION GADGET
FUNCTION LockSysObj(Num,WaitFor)
LockSysObjRestartPoint:
LOCK SYSOBJ Num
IF BANK BYTE(Num,0) = WaitFor THEN EXITFUNCTION
UNLOCK SYSOBJ Num
GOTO LockSysObjRestartPoint
ENDFUNCTION
Thanks in advance
Everyone Be Cool, You, Be Cool.