Página Geral
Esta página contém várias opções para configurar o funcionamento geral da sua aplicação 4D.
Opções
Na inicialização
Esta opção permite configurar o ecrã 4D por padrão no arranque, quando o usuário inicia apenas a aplicação.
Não fazer nada: só aparece a janela da aplicação, vazia.
Diálogo Abrir Projeto Local: 4D apresenta uma caixa de diálogo padrão para abrir um documento, permitindo-lhe selecionar um projeto local.
Abrir o último projeto utilizado: 4D abre diretamente o último projeto utilizado; não aparece nenhuma caixa de diálogo de abertura.
To force the display of the opening dialog box when this option is selected, hold down the Alt (Windows) or Option (macOS) key while launching the project.
Diálogo Abrir Projeto Remoto: 4D mostra o diálogo de logon padrão do 4D Server, permitindo selecionar um projeto publicado na rede.
Open last used project: 4D directly opens the last project used; no opening dialog box appears.
4D Server: The 4D Server application ignores this option. In this environment, the Do nothing mode is always used.
Criação de formulários automática
This option is only used in binary databases; it is ignored in project architecture. Ver doc.4d.com.
Janela com guias (somente macOS)
Starting with macOS Sierra, Mac applications can benefit from the Automatic Window Tabbing feature that helps organizing multiple windows: document windows are stacked into a single parent window and can be browsed through tabs. This feature is useful on small screens and/or when using a trackpad.
You can benefit from this feature in the following environments (with 4D 64-bit versions only):
- Janelas do Editor de Métodos
- Janelas do editor de formulários
All windows from these editors can be put in tab form:
A set of commands in the Window menu allows managing the tabs:
In the 4D's Preferences dialog box, the Window tabbing option allows you to control this feature:
Estão disponíveis três opções:
- According to System Preferences (default): 4D windows will behave like defined in the macOS System Preferences (In full screen, Always, or Manually).
- Never: Opening a new document in 4D form editor or method editor will always result in creating a new window (tabs are never created).
- Always: Opening a new document in 4D form editor or method editors will always result in creating a new tab.
Sair do modo Desenho ao passar para o modo Aplicação
If this option is checked, when the user switches to the Application environment using the Test Application menu command, all the windows of the Design environment are closed. If this option is not checked (factory setting), the windows of the Design environment remain visible in the background of the Application environment.
Ativar a criação de bases de dados binárias
Se selecionar esta opção, são adicionados dois itens ao menu Ficheiro > Novo e ao botão Novo da barra de ferramentas:
- Base de dados...
- Base de dados a partir da definição da estrutura...
These items allow you to create binary databases (see Creating a new database section). They are no longer proposed by default because 4D recommends using project-based architecture for new developments.
Ao criar um novo projeto
Usar ficheiro de registo
When this option is checked, a log file is automatically started and used when a new database is created. For more information, please refer to Log file (.journal).
Criar pacote
When this option is checked, 4D databases are automatically created in a folder suffixed .4dbase.
Thanks to this principle, under macOS the database folders appear as packages having specific properties. No Windows, isto não tem qualquer impacto particular.
Linguagem de comparação de texto
This parameter configures the default language used for character string processing and comparison in new databases. The language choice has a direct influence on the sorting and searching of text, as well as the character case, but it has no effect on the translation of texts or on the date, time or currency formats, which remain in the system language. By default (factory setting), 4D uses the current user language set in the system.
A 4D database can thus operate in a language different from that of the system. When a database is opened, the 4D engine detects the language used by the data file and provides it to the language (interpreter or compiled mode). Text comparisons, regardless of whether they are carried out by the database engine or the language, are done in the same language.
When creating a new data file, 4D uses the language previously set in this menu. When opening a data file that is not in the same language as the structure, the data file language is used and the language code is copied into the structure.
You can modify this parameter for the open database using the Database Settings (see Text comparison).
Localização da documentação
Esta área configura o acesso à documentação HTML 4D mostrada no navegador atual:
- When the user double-clicks on a command on the Commands Page of the Explorer;
- When the user clicks on a command name in the Method editor and hits the F1 key.
You can choose to access the 4D online documentation site directly or to access a static version that is stored locally.
Pasta local
Indica a localização da documentação HTML estática. Por padrão, esta é a subpasta \Help\Command\language. Pode ver a localização clicando no menu associado à zona. Se esta subpasta não estiver presente, a localização é apresentada a vermelho.
You can modify this location as desired, for example if you want to display the documentation in a language different from that of the application. The static HTML documentation can be located on another volume, on a web server, etc. To designate a different location, click on the [...] button next to the entry area and choose a documentation root folder (folder corresponding to the language: fr
, en
, es
, de
or ja
). To designate a different location, click on the [...] button next to the entry area and choose a documentation root folder (folder corresponding to the language: fr, en, es, de or ja).
Sítio Web
URL access to the on-line documentation for the version on 4D Doc Center. 4D builds calls to the pages of the documentation based on this URL. You can modify it, for example if you want to display documentation in a different language from the application language. The test button to the right of the area launches the default browser to go to the URL specified.
Procurar primeiro na pasta local
This option (checked by default) sets where 4D will look for the documentation page called using the Explorer or the F1 key.
- When it is checked, 4D first looks for the page in the local folder. Se for encontrado, 4D mostra a página no navegador atual. If not, 4D will automatically look for it in the on-line documentation of the Web site. Desta forma, é possível aceder à documentação mesmo quando se está offline.
- When it is not checked, 4D looks for the desired page directly in the on-line documentation of the Web site and displays it in the current browser. Se não for encontrado, 4D mostra uma mensagem de erro no navegador.