27-03-2010, 20:20
27-03-2010, 22:12
Use the alignment properties.
For vertical alignment you can choose between top, center and bottom.
For horizontal alignment you can choose between left, right, center and block.
Also you have the option to set the space between the buttons in pixels and the space to left, top, right and bottom side.
For vertical alignment you can choose between top, center and bottom.
For horizontal alignment you can choose between left, right, center and block.
Also you have the option to set the space between the buttons in pixels and the space to left, top, right and bottom side.
28-03-2010, 11:13
Thanks Sascha,
I finally managed to do it.
Now I am trying to find the way to handle button click events of the touchbuttonbar.
Please help...
I finally managed to do it.
Now I am trying to find the way to handle button click events of the touchbuttonbar.
Please help...
28-03-2010, 12:28
Each button has its own OnClick and Mouse-Events.
TouchButton myButton = new TouchButton();
myButton.ButtonClick += new .....
myButton.MouseDown += new....
myButton.MouseUp += new ...
TouchButton myButton = new TouchButton();
myButton.ButtonClick += new .....
myButton.MouseDown += new....
myButton.MouseUp += new ...
28-03-2010, 12:52
I am programming in VB.NET
The above code is sth like this in VB.NET
Dim MyButton as New TouchButton
AddHandler MyButton.OnButtonClick, AddressOf MyButtonClickEvent
Sub MyButtonClickEvent
[...]
End Sub
...but sth is wrong.
Any ideas ???
The above code is sth like this in VB.NET
Dim MyButton as New TouchButton
AddHandler MyButton.OnButtonClick, AddressOf MyButtonClickEvent
Sub MyButtonClickEvent
[...]
End Sub
...but sth is wrong.
Any ideas ???
28-03-2010, 13:14
Sorry, my fault. I edited my post above. Use ButtonClick instead of OnButtonClick.
28-03-2010, 13:25
Perfecto
Thanks a lot, my friend...
Thanks a lot, my friend...