diff --git a/source/text/sbasic/python/python_handler.xhp b/source/text/sbasic/python/python_handler.xhp index 5bb294f6e3..42b079cb0c 100644 --- a/source/text/sbasic/python/python_handler.xhp +++ b/source/text/sbasic/python/python_handler.xhp @@ -92,8 +92,6 @@ dlg = dp.createDialogWithHandler("vnd.sun.star.script:"+libr_dlg+location, self) return dlg - # def getBasicScript() # see note def _msgbox(prompt='', title=''): diff --git a/source/text/sbasic/shared/03/sf_form.xhp b/source/text/sbasic/shared/03/sf_form.xhp index 163c32e390..cc33940bce 100644 --- a/source/text/sbasic/shared/03/sf_form.xhp +++ b/source/text/sbasic/shared/03/sf_form.xhp @@ -563,15 +563,14 @@ Activate
- CloseFormDocument
Controls
GetDatabase
+ MoveFirst
- MoveFirst
MoveLast
MoveNext
- MoveNew
+ MoveNew

MovePrevious
@@ -622,10 +621,8 @@
CloseFormDocument -------------------------------------------------------------------------------------------------------------------------- - - Form service;CloseFormDocument -

CloseFormDocument

+ This method is deprecated, use ScriptForge.FormDocument.CloseDocument method instead. Closes the form document containing the actual Form instance. The Form instance is disposed. svc.CloseFormDocument(): bool @@ -637,7 +634,6 @@ form.CloseFormDocument() # Python - This method only closes form documents located in Base documents. If the form is stored in a Writer or Calc document, calling CloseFormDocument will have no effect.
Controls -------------------------------------------------------------------------------------------------------------------------- @@ -677,6 +673,7 @@ Form service;GetDatabase +

GetDatabase

Return a SFDatabases.Database instance giving access to the execution of SQL commands on the database the current form is connected to and/or that is stored in the current Base document. Each form has its own database connection, except in Base documents where they all share the same connection. @@ -693,6 +690,7 @@ db = form.GetDatabase() # SFDatabases.Database +
MoveFirst -------------------------------------------------------------------------------------------------------------------------- diff --git a/source/text/sbasic/shared/03/sf_formcontrol.xhp b/source/text/sbasic/shared/03/sf_formcontrol.xhp index 32f2e16a14..d14af07115 100644 --- a/source/text/sbasic/shared/03/sf_formcontrol.xhp +++ b/source/text/sbasic/shared/03/sf_formcontrol.xhp @@ -92,74 +92,20 @@

Control types

The FormControl service is available for the following control types: - - - Button - - - CheckBox - - - ComboBox - - - CurrencyField - - - DateField - - - FileControl - - - FixedText - - - FormattedField - - - GroupBox - - - HiddenControl - - - ImageButton - - - ImageControl - - - ListBox - - - NavigationBar - - - NumericField - - - PatternField - - - RadioButton - - - ScrollBar - - - SpinButton - - - TableControl - - - TextField - - - TimeField - - + + + + Button
CheckBox
ComboBox
CurrencyField
DateField
FileControl
FixedText
FormattedField
+
+ + GroupBox
HiddenControl
ImageButton
ImageControl
ListBox
NavigationBar
NumericField
+
+ + PatternField
RadioButton
ScrollBar
SpinButton
TableControl
TextField
TimeField
+
+
+
+

Properties

@@ -399,7 +345,7 @@ Boolean - ComboBox, CurrencyField, DateField, FileControl, FileControl, FormattedField, ImageControl, ListBox, NumericField, PatternField, TextField, TimeField + ComboBox, CurrencyField, DateField, FileControl, FormattedField, ImageControl, ListBox, NumericField, PatternField, TextField, TimeField Specifies if the control is read-only. diff --git a/source/text/sbasic/shared/03/sf_formdocument.xhp b/source/text/sbasic/shared/03/sf_formdocument.xhp index 696f610276..1d8b1e6384 100644 --- a/source/text/sbasic/shared/03/sf_formdocument.xhp +++ b/source/text/sbasic/shared/03/sf_formdocument.xhp @@ -77,16 +77,17 @@ CloseDocument
-
-
- - Forms
+ + + GetDatabase

+
+
- PrintOut
+ PrintOut

@@ -165,6 +166,14 @@ To learn more about form methods and properties, refer to the Form service help page. +
+ GetDatabase -------------------------------------------------------------------------------------------------------------------------- + + FormDocument service;GetDatabase + + +
+
PrintOut ---------------------------------------------------------------------------------