Can someone tell me why I get Identifyer "udate" not found in this??
Global g_radio = LoadAnimImage("gfx\gui\radio.bmp",8,8,0,2,MASKEDIMAGE) 'Graphics for the radio. Type radio Const s_radio = 1 'Tells the state field that the radio is selected Const u_radio = 0 'Tells the stste field that the radio is unselected Global rlst:TList 'List (sure you knew that) Global t_radio 'This counts the total # of radios being used. Field id 'This is the ID or # of the return in the function Field state 'Current state of the button Field x,y 'x,y location of the radio button Function Create(x,y) 'Create function making the button. If rlst = Null Then rlst = CreateList() r:radio = New radio ListAddLast(rlst,r) id = t_radio + 1 state = u_radio x = x y = y Return id End Function Method Update() 'Method for drawing the radio button DrawImage g_radio,x,y,state End Method End Type Function CreateGUI() radio.Create(x,y) End Function r.update()