- LIKE Function
/pages/Ref/Api/Functions/Data Type/Character Functions/Comparison Functions/LIKE Function.xml
Returns TRUE if all or part of the first string is found in the second string.
- Computing the Size of an Embedded Dialog
/pages/Guides/Desktop/Xdialog/Computing the Size of an Embedded Dialog.xml
This script demonstrates how the size of a parent dialog box can be automatically calculated with the UI_INFO_DLG_DEF_CLIENT_HEIGHT()and UI_INFO_DLG_DEF_CLIENT_WIDTH()functions so that the embedded dialog box that it contains can be displayed correctly, without clipping any portion of the embedded dialog box. This statement creates some content for the embedded list box.
- Accordion Control - Changing the Background Color of the Pane Selector
/pages/Guides/Mobile and Web Components/UX/Controls/Containers/Tab Control/Accordion Control - Changing the Background Color of the Pane Selector.xml
When you define the properties of an Accordion control you can specify class names to apply to the Title Band when the band is opened, closed, or disabled. This can be used to change the appearance of the title band depending on its state.
- Making Statements Conditional
/pages/Guides/Xbasic/Making Statements Conditional.xml
The most common and useful conditional statement in the Xbasic language uses the IF ... THEN ... ELSE ... END IF syntax. The statement begins by testing whether an expression is True (evaluates to .T.). If the expression is True, the Application Server executes the statement after the THEN clause. If the expression is False (.F.), the Application Server executes the statement after the ELSE clause.
The following example uses the DATE() function to return the current date. It then uses the CDOW() function to determine if the current day is "Saturday".
- Using an Action Script Genie in the Xbasic Editor
/pages/Guides/Desktop/Design/Platform/Xbasic Action Scripting/Introduction/More/Using an Action Script Genie in the Xbasic Editor.xml
Just because you are in the Xbasic Code Editor does not mean you cannot take advantage of the Action Script Genies. This example shows how to use the Action Script Editor to generate code to paste into an Xbasic script.
- *like Function
/pages/Ref/Api/Functions/SQL Helper Functions/__STAR__like Function.xml
SQL compatible like function.
- What is the Difference Between an Xbasic Module and an Xbasic Function Library?
/pages/Guides/Workspaces/Xbasic/What is the Difference Between an Xbasic Module and Xbasic Function Library.xml
While an Xbasic Function Library and Xbasic Module may seem to be the same thing, the two Xbasic constructs have several key differences.
- 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.
- 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.
- How to Import Data from an Excel or Ascii File into a Grid Component
/pages/HowTo/Grid/Import Excel or Ascii to Grid.xml
Data in an Excel file or comma delimited Ascii file can be imported into a Grid Component based on a table in a database.