summaryrefslogtreecommitdiff
path: root/wizards/source/access2base/Form.xba
AgeCommit message (Collapse)Author
2018-08-13Access2Base - Support hierarchical form namesJean-Pierre Ledure
So far, only a flat list of form names was implemented (by far the majority of cases). Now, hierarchical form names (like "Folder1/Folder2/myForm") are accepted. Impacts: - on AllForms() and Forms() collections: - insertion of _GetAllHierarchicalNames() to make list of names - insertion of _CollectNames(): recursive function to walk thru folders - insertion of _GetHierarchicalName(persistent name) to establist correspondence - on OpenForm action - on SelectObject action: form windows are not identified by title anymore - on form and control events - on arguments check when argument is a form object Change-Id: I2da73ac3d4fe2d90b2e526fe510207c0f8ec8386
2018-07-17Access2Base - FIX Empty line on top of each moduleJean-Pierre Ledure
Closing ">" had disappeared in xml headers ?? Force newline after xml headers
2018-06-30Fix missing newlineAndrea Gelmini
To complete previous commit Change-Id: I21f7e530848d022456bda17a86d42bc14a921efd Reviewed-on: https://gerrit.libreoffice.org/53896 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-08Access2Base - Remove useless trailing blank linesJean-Pierre Ledure
Keep exactly 1 line feed at the end of each Basic module
2018-04-22Access2Base - Support of forms collectionsJean-Pierre Ledure
In LO forms as known in the Base UI may have more than 1 main forms, all belonging to a forms collection. MSAccess does not have that feature. So far, only forms with 1 main form - from far the majority of cases - were fully supported by Access2Base. For other forms, the exploration of controls in additional main forms was not implemented. Current limitation: some form properties (e.g. RecordSource) are still limited to the firt member of the forms collection.
2018-03-22Access2Base - FIX Manage case of form without DrawPageJean-Pierre Ledure
When a database form is not related to data and has no control, then the DatabaseForm object is Null. The Null value must be intercepted in many places.
2017-07-03Access2Base - RecordSource property of Form classJean-Pierre Ledure
Use Command instead of ActiveCommand which delivers only SQL statements while expected command type should be table, query or sql Change-Id: I824a02cf5dab7b59f70b3a0ae9ba9f874e86733b
2017-01-12Access2Base - Use Empty() builtin functionJean-Pierre Ledure
... i.o. uninitialized variable Change-Id: I732705df11ea25c2b106d542f9e97f3f32cc9867
2017-01-12Access2Base - Implement On ... event propertiesJean-Pierre Ledure
Event properties applied to form, subform, control events Controls may belong to forms, subforms, dialogs, grid controls Change-Id: Iaf33adcd03527ac938913675cf0930e317a17f97
2015-01-04Access2Base - New CommandBarControl classJean-Pierre Ledure
Main functionalities: - show/hide toolbar elements - modify tooltip - get/set internal command - execute internal command Change-Id: Ice830009f9eabc199727c7d4b54ebf524b026d40
2014-10-17Access2Base - Internal redesign of root structure into a separate class moduleJean-Pierre Ledure
Redesign of CurrentDb, CurrentDoc interfaces. Creation of new Root_.xba class module. Console logs, TempVars and Dialog collections are unchanged. Change-Id: I573a75e8fb54b277aef84d4518cc8e5cc21d7270
2014-09-13Access2Base - Introduction of CloseConnection methodJean-Pierre Ledure
The invocation of CloseConnection has next effects: All the recordsets related to a database linked to the current document are closed. The database object(s) is(are) released. Change-Id: I845b27acb8469c4dea0dc3bc20b912ab123d06cf
2014-08-23Access2Base - Removal of Property Set constructionsJean-Pierre Ledure
The workaround to bug https://www.libreoffice.org/bugzilla/show_bug.cgi?id=60752 has been removed. Bug corrected in LO 4.0.2 End of support of Access2Base under LO 4.0.0 and 4.0.1 Change-Id: Ide5046ce4a44096bca42eaf14c4dc96c59958e16
2014-08-23Dispose() method for all objectsJean-Pierre Ledure
An implicit (Terminate_Class) and an explicit (Dispose) method have been created to stimulate better memory management. Change-Id: I240e5117db6bf0d1fcf268e3ddf6d67e0bc1b8eb
2014-08-22Access2Base - Remove _This in Form and SubForm objectsJean-Pierre Ledure
The construction in Basic Set a._This = a is useful to export the address of an object to Subs or Functions. It increases however the risk of memory leaks. Avoid when avoidable. Change-Id: I81bf01badf00687526a358eda117a55b12f5d72b
2014-08-03Access2Base - addition of OrderBy and OrderByOnJean-Pierre Ledure
The properties OrderBy and OrderByOn have been added to the Form and SubForm objects. The ordering sequence defined by OrderBy is effectively applied when OrderByOn is set to True. Change-Id: I7780e4761f3825f1c678d6ffb38149c5973146e7 Reviewed-on: https://gerrit.libreoffice.org/10697 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-16Access2Base - solve compatibility issuesJean-Pierre Ledure
1) AOO <> LO "Append" is a reserved word in AOO Basic, not in LO => Append method replaced with Add 2) Windows <> Linux ActiveConnection not ready under Windows for standalone forms when database is (user/password) protected => Connection may be postponed to first use of form Change-Id: I8ba409191ba2a2a4c057480ec3287d7d48262073 Reviewed-on: https://gerrit.libreoffice.org/9372 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-05-13Access2Base new release - V1.1.0Jean-Pierre Ledure
Access2Base library can be run to access a database defined in any form stored in any AOO/LibO document. Now CurrentDb method may be associated with a form object, not only with the root class.The OpenDatabase method allows any AOO/LibO document to get access to tables stored in any database. RunSQL, OpenSQL, database functions have been extended to be run from a database object, not only as a command. The CopyObject (new) action copies query definitions and/or table definitions and data. Creation of table and fields without SQL with the CreateTableDef, CreateField and Append methods. The Description property of a TableDef is writable. New GetHiddenAttribute and SetHiddenAttribute actions hide or show any AOO/LibO or Base object. SelectObject scope has been extended accordingly. Addition of the SelStart, SelLength and SelText properties for text controls. Change-Id: I163f3bcb0f63dc346e1bd23729356ebe556c6592 Reviewed-on: https://gerrit.libreoffice.org/9303 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-10-28Access2Base : Reference to documentation added in every moduleJean-Pierre Ledure
+ workaround for setPosSize issue (LO 4.1) + "Sidebar" argument for RunCommand + Trace dialog layout revisit for cleaner display in Linux Change-Id: I0d5c4da5681ab1649d062a7133d507163163343e Reviewed-on: https://gerrit.libreoffice.org/6449 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-10-13Access2Base store (wizards + scp2)Jean-Pierre Ledure
License text modified after gerrit review Change-Id: I193d6d1fd477cca4c2880760f21f8d978643f634 Reviewed-on: https://gerrit.libreoffice.org/6232 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>