Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AssetCenter 4.x Screen development 2

Status
Not open for further replies.

Jasonic

Technical User
Jun 20, 2001
69
0
0
GB
Dear All

Does anyone know the undocumented functions/elements that can be included when creating pages and screens, especially formating e.g. VSplitControl

Any help/documentation on What they are and how to use they would be great.

The developers seem to keep so much helpful information guarded with poor documentation.
 
Hi,
I have some sceen shots that may help you.
How can I add an attachment to my answer ?
my email is wrueckert@freenet.de
wrueckert
 
Hi,

Here is the documentation on that matter. The important points are:
- '_' + string at the end of HSplitControl and VSplitControl to define blocks,
- this is the contrary of the web paradigm, you specify first the separation between the columns (VSplit) and then the rows (HSplit), this allow to have in a simple way a page with 2 columns for example (just specify a VSplit in the middle of the list of the fields)

==========================================================
Creating a page
In AssetCenter, a page is graphically represented by a tab containing fields. To create this page:

Select in the left-hand pane the table for which you want to create a new page.

Select the View/Pages or click the button on the toolbar.

Select the Database/Add a page menu or click New.

Populate the following fields in the General tab:

SQL name: SQL name of the page. This name enables you to identify the page in a unique manner and to reference it in scripts or queries.

Name: name of the page. This name appears as the name of the tab in the AssetCenter interface.

Click Create.

Click the Contents tab of the page's detail. You can now select the fields that will be available in the page that you are created. To do this:

Select in the list to the left (Fields and links) the field or the link that you want to add to the page, and click the button to transfer it to the list on the right (List of fields). You can also double-click the field or link on the left to transfer it to the right.

If you want to delete a field from your page, select it in the list on the right and click the button. You can also double-click the field on the right to perform this same operation.

The layout of this page and graphical organization of the fields on the page is automatically calculated by AssetCenter. You can, however, define the order of the fields' appearance on the page by ordering them in the left-hand pane using the buttons: , , and .

Click Modify.

Page layout
By default, the objects (fields or links) that you add to a page are displayed one after another in one single column. You can, however, define vertical and horizontal separators to modify this default behavior. These separators are defined by the following internal variables:

HSplitControl for a horizontal separator.

VSplitControl for a vertical separator.

To add a separator:

Open the Contents tab in the detail of a page.

Enter one of the two previously listed internal variables in the field above the list of fields and links.

Click

The separator is transferred to the list of fields on the right. You can define the order in which these fields will appear on the page by using the , , and buttons.

The following rules are applied when the page is displayed:

All objects located between two HSplitControl variables will be part of the same horizontal block (one or more lines).

The VSplitControl variable defines a separation in the column for the objects in a horizontal block.

For example, the contents of the General tab of an employee detail, as it is displayed by default in AssetCenter, can be defined as follows:

HSplitControl_0
HSplitControl_1_Adresse
HSplitControl_2
Location
HSplitControl_2
VSplitControl_2
Phone
MobilePhone
VSplitControl_2
Fax
HomePhone
HSplitControl_2
EMail
Field1
Field2
HSplitControl_1
HSplitControl_0
VSplitControl_0
IDNo
dHire
dLeave
VSplitControl_0
BarCode
Field3
HSplitControl_0
MultilineEdit-Comment
The underscore character enables you to define the relation of variables.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top