I have been working on a Burning Sand PPPC Program (that is on the program forum) and I am stuck with quite a few problems. Could anyone help me to figure out how to sort this peice of coding:
The problem is I am trying to get a choice of either having a filled circle or a normal circle as a pen, using buttons to choose. However i can't figure out how to do it.
Could someone please help me,
neilnapier
B4X:
Sub BurningSand_MouseMove (x,y)
If circle.Enabled = true Then
If blnDRAG = 1 Then
If ((x > MinX) AND (x < MaxX)) AND ((y > MinY) AND (y < MaxY)) Then
BurningSand.FCircle(x, y, PenSize, DrawColor, F) 'Filled circle
Else if Circle2.Enabled = true Then
If blnDRAG = 1 Then
If ((x > MinX) AND (x < MaxX)) AND ((y > MinY) AND (y < MaxY)) Then
BurningSand.ForeLayer = True
BurningSand.FCircle(x, y, PenSize, DrawColor) ' circle
End if
End if
End if
End if
End if
End Sub
The problem is I am trying to get a choice of either having a filled circle or a normal circle as a pen, using buttons to choose. However i can't figure out how to do it.
Could someone please help me,
neilnapier