In help I see ModifyButton -- modify button data / OBSOLETE
Are there any new function to change button position without it removing?
ModifyButton
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: ModifyButton
You could create a layer button and then move the layer around and the button position will change too.
Re: ModifyButton
I don't understand clearly. Can you give same example?
I write
And have error.
I write
Code: Select all
CreateLayer(x,y,w,h,{Color = #WHITE, Name = Gadget1})
SelectLayer(Gadge1)
TextOut(4, 3, Text$)
MakeButton(1, #SIMPLEBUTTON, x, y, w, h, events)
EndSelect
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: ModifyButton
You have to use #LAYERBUTTON. See MakeButton().