'encoding UTF-8 Do not remove or change this line! '************************************************************** ' ' Licensed to the Apache Software Foundation (ASF) under one ' or more contributor license agreements. See the NOTICE file ' distributed with this work for additional information ' regarding copyright ownership. The ASF licenses this file ' to you under the Apache License, Version 2.0 (the ' "License"); you may not use this file except in compliance ' with the License. You may obtain a copy of the License at ' ' http://www.apache.org/licenses/LICENSE-2.0 ' ' Unless required by applicable law or agreed to in writing, ' software distributed under the License is distributed on an ' "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ' KIND, either express or implied. See the License for the ' specific language governing permissions and limitations ' under the License. ' '************************************************************** '* '* short description : Tools to ease the use of the ToolsCustomize-Dialog '* '\****************************************************************************** function hToolsCustomizeOpen() as boolean printlog( "Open Tools/Customize dialog" ) ToolsCustomize hToolsCustomizeOpen() = hToolsCustomizeSelectTab( "Events" ) end function '******************************************************************************* function hToolsCustomizeSelectTab( cTab as string ) as boolean '///

Switch Tabpages on ToolsCustomize Dialog

'///Starting point: The Tools/Customize dialog
'///Input: '///
    '///+
  1. Name of the Tab (string)
  2. '/// '///
'///Returns: '///
    '///+
  1. Errorstatus (boolean)
  2. '/// '///
'///Description: '/// end function '******************************************************************************* function hDeselectSeparator() as integer '///

Make sure that we do not work on a separator item (Toolbars)

'///Starting point: Tools/Customize: Toolbars must be open
'///Input: '///
    '///+
  1. Nothing
  2. '///
'///Returns: '///
    '///+
  1. Position of the selected item (integer)
  2. '/// '///
'///Description: '/// end function '*******************************************************************************