INTEGRATION: CWS dba23 (1.26.44); FILE MERGED

2005/01/21 06:59:38 oj 1.26.44.1: #i40648# new DataType::BOOLEAN
This commit is contained in:
Vladimir Glazounov 2005-02-17 10:20:58 +00:00
parent dc81ffd55c
commit c9920762b3

View file

@ -154,8 +154,8 @@ End Sub
Sub InitializeWidthList()
If Ubound(WidthList(),1) > 15 Then
ReDim WidthList(15,4)
If Ubound(WidthList(),1) > 16 Then
ReDim WidthList(16,4)
End If
WidthList(0,0) = com.sun.star.sdbc.DataType.BIT ' = -7;
@ -238,6 +238,11 @@ Sub InitializeWidthList()
WidthList(15,2) = False
WidthList(15,3) = "DateField"
WidthList(16,0) = com.sun.star.sdbc.DataType.BOOLEAN ' = 16;
WidthList(16,1) = cCheckbox
WidthList(16,2) = False
WidthList(16,3) = "CheckBox"
ImgWidthList(0,0) = com.sun.star.sdbc.DataType.BINARY ' = -2;
ImgWidthList(0,1) = cImageControl
ImgWidthList(0,2) = False
@ -277,4 +282,4 @@ Sub InitializeWidthList()
oModelService(cGridControl) = "com.sun.star.form.component.GridControl"
oModelService(cImageControl) = "com.sun.star.form.component.DatabaseImageControl"
End Sub
</script:module>
</script:module>