Calendar Bo
Tissot David
Hi,Can I use the BO's calendar on a TextEdit created with Coresuite?
I want this result :
http://img691.imageshack.us/i/calendarbo.jpg/
I found "SAPbouiCOM.BoDataType.dt_DATE"
Daniel Müller
Hi DavidIt's not possible in the actual version, but we will make a note for the common version.
Regards
Daniel
Anders Olsson
I found this post when searching a solution to the same problem. I came up with this way of doing it:[CODE]
TextEdit textEdit = TextEdit.CreateNew(uniqueID);;
UserDatasource uds = UserDatasource.CreateNew(UniqueStringGenerator.Next());
uds.DataSourceType = UserDatasource.DataType.Data;
_form.AddUserDatasource(uds);
DataBind dataBind = DataBind.CreateNew(uds.UniqueID);
dataBind.DataBound = true;
textEdit.DataBind = dataBind;
[/CODE]
i.e. bind a TextEdit to a datasource of type date.
Regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments