Saltar para o conteúdo principal
Versão: Próximo

Entrada

As entradas permitem adicionar expressões acessíveis ou não entráveis como campos de banco de dados e variables aos seus formulários. As entradas podem manipular dados baseados em caracteres (texto, datas, números...) ou imagens:

As entradas podem conter expressões atribuíveis ou não atribuíveis.

Além disso, as entradas podem ser inserível ou não inserível. Uma entrada digitável aceita dados. Pode definir controles de entrada de dados para o objecto. Uma entrada não centralizável só pode exibir valores mas não pode ser editada pelo utilizador.

Você pode gerenciar os dados com os métodos objeto ou formulário.

nota

For security reasons, in multi-style input areas, when formulas are pasted from a different 4D application or an external environment, only the computed values (text or images) available at the time of copying are pasted. If no value was available (e.g., the formula was never computed), 4D pastes the formula source as plain text.

Exemplo JSON:

	"myText": {
"type": "input", //defina o tipo de objeto
"spellcheck": true, //ative a verificação ortográfica
"left": 60, //posição esquerda no formulário
"top": 160, //posição superior no formulário
"width": 100, //largura do objeto
"height": 20 //altura do objeto
}

Propriedades compatíveis

História
ReleaseMudanças
20 R4Support of Writing Tools property
18 R6Suporte da propriedade Raio de canto

Allow font/color picker - Alpha Format - Auto Spellcheck - Background Color - Bold - Boolean format - Border Line Style - Bottom - Choice List - Class - Context Menu - Corner radius - Date Format - Default value - Draggable - Droppable - Enterable - Entry Filter - Excluded List - Expression type - Fill Color - Font - Font Color - Font Size - Height - Hide focus rectangle - Horizontal Alignment - Horizontal Scroll Bar - Horizontal Sizing - Italic - Left - Multiline - Multi-style - Number Format - Object Name - Orientation - Picture Format - Placeholder - Print Frame - Required List - Right - Selection always visible - Store with default style tags - Text when False/Text when True - Time Format - Top - Type - Underline - Variable or Expression - Vertical Scroll Bar - Vertical Sizing - Visibility - Width - Wordwrap - Writing Tools

Supported Events

On After Edit - On After Keystroke - On Before Keystroke - On Begin Drag Over - On Clicked - On Data Change - On Double Clicked - On Drag Over - On Drop - On Getting focus - On Header - On Load - On Losing focus - On Mouse Enter - On Mouse Leave - On Mouse Move - On Mouse Up (Picture type only)- On Printing Break - On Printing Detail - On Printing Footer - On Scroll(Picture type only) - On Selection Change - On Unload - On Validate

Alternativas

Também pode representar expressões de campo e variáveis nos seus formulários utilizando objectos alternativos, mais particularmente: