Numbering the Rows in a List Box
/pages/Guides/Desktop/Xdialog/Controls/Numbering the Rows in a List Box.xml
By changing the owner-draw string from the above example, we can cause the list box to be displayed with row numbers. For example, with the owner draw string shown below, our list box now shows each row with the row number, then a space, then two dashes, then another space, then the image, then a space, then text from the input value.
Creating a Grid for Microsoft Access Using the SQL Builder
/pages/HowTo/Databases/Creating a Grid for Microsoft Access Using the SQL Builder.xml
Step by step instructions for creating and formatting a grid for Microsoft Access using the SQL builder.
Highlighting the Current Page in a Menu
/pages/Guides/Mobile and Web Components/NavSys/Highlighting the Current Page in a Menu.xml
If you use A5W_INCLUDE() to place a navigation component onto multiple A5W pages, you may want to have the current page highlighted on the menu. Suppose the alias of the navigation component that you put on a page is NAV_INT. It will have a properties override section on the A5W page that looks like this.
DB2-specific Geography Tasks
/pages/Guides/Databases/Geography/DB2-specific Geography Tasks.xml
Creating and dropping tables with geometry columns, inserting location data values, inserting line data values, and inserting polygon data values.
Starting the HTML Editor
/pages/Server/Guide/Design/View/Html/Starting the HTML Editor.xml
You can prepare HTML pages with any ASCII editor. You simply need access to the underlying HTML code. However, most developers will find the embedded HTML Editor a very convenient tool.
Getting the Value of the Active Cell in a Browse
/pages/Guides/Desktop/Design/View/Browse/Getting the Value of the Active Cell in a Browse.xml
This technique returns the value of the current cell of a browse when the user double clicks. This example displays the cell value in a message box.
Embed image in HTML
/pages/Guides/Mobile and Web Components/Grid/Grid Fields/Grid Field Properties/ImageProperties/embedimageinhtml.xml
Specify if the image should be base64 encoded and embedded directly into the HTML. This reduces the number of server round-trips to get the image data, but results in a substantially larger initial payload being sent from the server to the browser. This option is generally only appropriate for 'small' images. Do not check this option if the image is specified by a URL.
How to use System Javascript Fields in User-Defined Javascript Functions
/pages/HowTo/Grid/Use System Defined Fields in Javascript Functions.xml
Built-in system fields used for defining client-side expressions can be used in Javascript functions using the {grid.object}._getGridVariables method to get the variables from the Grid Component.
Understanding the Grid Nature of a Dialog Box
/pages/Guides/Desktop/Xdialog/Understanding the Grid Nature of a Dialog Box.xml
While Xdialog does a pretty good job of spacing out the controls you define in a logical way, you will typically want to tweak the default layout of a dialog box. The controls on an Xdialog are laid out in much the same way as text is laid out in a document that you create on your word processor (actually a word processor that does not have automatic word-wrap). In a word processor, the characters appear on the line, starting at the left and moving to the right until you press Enter to move to the next line (remember, we are talking about a pretty lame word processor that does not have an automatic word-wrap feature). Then, text appears on the next line until you press Enter to move to the third line and so on. You can line up columns of text in your word processor by using the Tab key.
Open a UX component to Edit Current Record in List Control in a UX, or add a new Record to a List Control in a UX
/pages/Ref/Action Javascript/Open a UX component to Edit Current Record in List Control in a UX, or add a new Record to a List Control in a UX.xml
Open a UX component in a pop-up window, or in a DIV on the current page, to eidt the current page, to edit the current row in a List control in a UX component or to enter a new record into a List. (Applies only to Lists based on SQL or DBF data sources).