|
|
|
|
- Defining the items programmatically
- Limit
Type (Property) In french: Type
The Type property is used to get: - the type of element (data file or item) defined programmatically or in the data model editor, view or query.
- the type of object.
- the type of data held in a Variant.
Remark: To change the type of data held in a Variant, use VariantConvert.
The Type property defines the type of a dynamic object.
MonVariant is Variant = "5"
Info(MonVariant..Type)
ResType = Client.Contact.Type
ResType = Client.Type
Syntax
Getting the type of data held in a Variant Hide the details
<Result> = <Variable used>..Type
<Result>: Integer Type of data held in the Variant variable: | | | wlBoolean | 1 | Boolean | wlCharacter | 81 | Character | wlString | - 16 in an ANSI configuration
- 19 in a Unicode configuration.
| Character string | wlCombination | 136 | Combination | wlDate | 24 | Date | wlDateTime | 26 | DateTime | wlDuration | 27 | Duration | wlInt | 8 | Signed 4-byte integer | wlEnumeration | 135 | Enumeration | wlTime | 25 | Time | wlCurrency | 10 | Currency | wlSecurePassword | 160 | Secure password | wlNumeric | 13 | Numeric | wlPoint | 150 | Point | wlProcedure | 61 | Procedure | wlRectangle | 151 | Rectangle | wlReal | 12 | 8-byte real | wlSQLQuery | 152 | SQL query | wlAdvancedType | 111 | Advanced variable type | wlUUID | 154 | UUID | wlUUID_128 | 154 | UUID | wlUUID_256 | 155 | UUID | wlVariantObject | 143 | The Variant contains named subelements. | wlVariantArray | 142 | The Variant contains indexed subelements. | wlEmpty | 0 | The Variant is empty. |
<Variable used>: Variable name Name of the Variant variable to be used.
Getting the type of a data file or item Hide the details
<Result> = <Object used>.Type
Getting the type of a control (in a window or page), table cell, group of controls, window or page Hide the details
<Result> = <Object used>.Type
<Result>: Constant Type of the specified object. | | | typActiveX | 17 | ActiveX control
| typOrganizer | 76 | Organizer control
| typScrollbar | 18 | Scrollbar control
| typAttribute | 41 | Attribute of a Looper control
| typSlidingBanner | 122 | Sliding Banner control
| typNavigationBar | 117 | Navigation Bar control
| typToolbar | 22 | Toolbar control
| typToolbox | 29 | Sidebar control
| typButton | 4 | Button control | typCalendar | 47 | Calendar control
| typCaptcha | 82 | Captcha control
| typMap | 92 | Map control
| typCarousel | 37 | Carousel control
| typStatusBarBox | 40002 | Cells of a status bar
| typCell | 50014 | Cell control
| typNavigationBarCell | 115 | Cell control in a Navigation Bar control.
| typCellLayout | 127 | Cell in a Layout control | typCellFlexBox | 139 | Cell of a FlexBox control. | typCellPageLayout | 84 | Cell control used for the Zoning layout.
| typFormattedControl | 50001 | Formatted display control
| typHTMLControl | 50002 | HTML control
| typMenuControl | 50007 | Menu of a WEBDEV page
| typContextMenuControl | 141 | Context menu in a WEBDEV page
| typBreadcrumb | 50011 | Breadcrumb control
| typClick | 30001 | Clickable Image control (Image control with the "This image is a clickable area" option).
| typBarCode | 26 | Bar Code control
| typColumn | 56 | Table column
| typComboWE | 10001 | Editable Combo Box control
| typComboNE | 10002 | Non-editable Combo Box control
| typWebComponent | 121 | Web Component control | typConference | 25 | Conference control
| typNativeContainer | 125 | Native Container control
| typCube | 38 | Cube control
| typDate | 20002 | Date Edit control
| typLayout | 126 | Layout control
| typDuration | 20006 | Duration Edit control
| typDiagramEditor | 130 | Diagram Editor control
| New in version 2024typCodeEditor | 146 | Code Editor control
| typHtmlEditor | 134 | HTML Editor control
| typImageEditor | 124 | Image Editor control
| typMobileImageEditor | 138 | Mobile Image Editor control
| typWin | 1 | Window
| typInternalWindow | 31 | Internal Window
| typWire | 118 | Wire control
| typFlash | 50008 | Flash control
| typFlex | 48 | Flex control
| typShape | 20 | Shape/Drawing control
| typGantt | 110 | Gantt Chart column (Table or TreeView Table control).
| typChart | 33 | Chart control in a window or page
| typGrp | 58 | Group of controls
| typTime | 20003 | Time Edit control
| typHTML | 23 | HTML static
| typIFrame | 50013 | IFrame control
| typImage | 8 | Image control | typCheckBox | 5 | Check Box control
| typSwitch | 132 | Switch control
| typProgressBar | 10 | Progress Bar control
| typInfiniteProgressBar | 113 | Infinite Progress Bar control
| typJava | 50004 | Java control
| typKanban | 140 | Kanban control
| typPDFReader | | PDF Reader control
| typStatic | 3 | Static control | typHTMLStatic | 50006 | HTML Static control
| typLink | 50005 | Link control
| typSocialLink | 103 | Social Network control
| typHorizontalRule | 50003 | Line control
| typList | 7 | List Box control
| typListView | 27 | ListView control
| typKanbanList | 142 | Kanban List control
| typMapArea | 50010 | Clickable Image control
| typControlTemplate | 43 | Control Template control.
| typCurrency | 20005 | Currency Edit control
| typMultimedia | 39 | Multimedia control
| typRating | 85 | Rating control
| typRepositionableNote | 119 | Repositionable Note control
| typNum | 20004 | Numeric Edit control
| typOle | 15 | OLE control
| typTab | 16 | Tab control
| typSwitchOption | 133 | Option of a Switch control
| typMenuOption | 40001 | Menu option
| typOrganizationChart | 86 | Organization Chart control
| typPage | 1 | Page
| typPeelingCorner | 79 | Peeling Corner control
| typInternalPage | 31 | Internal page
| typPanel | 131 | Dockable Panel control
| typSlidingBannerPlane | 123 | Plane associated with a Sliding Banner control
| typSiteMap | 45 | Site Map control
| typScheduler | 80 | Planning
| typPopup | 90 | Popup page
| typSlider | 12 | Slider control
| typRangeSlider | 72 | Range Slider
| typRotativeSlider | 13 | Round Slider
| typRangeSlider | 72 | Range Slider control
| typPager | 50009 | Pager control
| typRibbonGroup | | Ribbon group
| typRibbon | 87 | Ribbon control
| typBreak | | Break in a Looper control
| typSelect | 6 | Radio Button control | typSplitter | 28 | Splitter control
| typSilverlight | 46 | SilverLight control
| typSpin | 11 | Spin control
| typSuperControl | 40 | Supercontrol
| typTable | 9 | Table control
| typPivotTable | 102 | Pivot Table control
| typDashboard | 111 | Dashboard control
| typTreeviewTable | 35 | TreeView Table control
| typSpreadsheet | 114 | Spreadsheet control
| typText | 20001 | Text Edit control
| typDrawer | 34 | Drawer control
| typWordProcessing | 120 | Word Processing control
| typTreeMap | 74 | TreeMap control
| typTreeView | 19 | TreeView control
| typUpload | 73 | Upload control
| typVideo | 78 | Video control
| typThumbnail | 50012 | Thumbnail control
| typWebCam | 24 | Web Camera control
| typXaml | 36 | Xaml control
| typMultilineZone | 97 | Multiline Zone control
| typLooper | 30 | Looper control
| typLinearLooper | 77 | Linear Looper control
| typRichTextArea | 109 | Text Area control
|
<Object used>: Object type Name of the object (window control, page control, table cell, group of controls, page or window) to be used. Remarks Limit For controls in a window or page, the Type property cannot be used on: - an option in a Check Box or Radio Button control,
- a row in a Table or Combo Box control,
- a row in a List Box control,
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|