'bsMaintenance is the bindingsource
bsMaintenance.RemoveCurrent()
bsMaintenance.EndEdit()
Dim
myBuilder As SqlCommandBuilder = New SqlCommandBuilder(daDataAdapter)
Dim iResult As Integer
Dim bResult As Boolean = False
bsMaintenance.EndEdit()
myBuilder.GetUpdateCommand()
daDataAdapter.UpdateCommand = myBuilder.GetUpdateCommand()
daDataAdapter.Update(DSData, "TBL_CALL_TYPES")
The button is now to the right of the text box, but the image is not vertically centred in the button (note that if you set the MinSize.Width to be large than the image's width, it will not be horizontally centred either).
Most importantly, changing the buttons' ImageAlignment does not appear to have any effect - it is still displayed only at the top of the button and not centered, regardless of the setting of this property.
Is there a way to get the image to display in the centre of the button in this instance?
Thanks!
Cheers,
FRASER TUSTIAN
Specs:
OS: Windows Vista SP1
.NET Version: 3.5
Telerik Libraries Referenced:
Telerik.WinControls.dll 8.0.0.0
Telerik.WinControls.UI.dll 8.0.0.0
TelerikCommon.dll 8.0.0.0