Uniface Samples

Uniface Samples are made by the Uniface Team, and usually they are included in the Uniface QA processes’.
They demonstrate how to achieve certain outcomes, and through ‘best practices’. Note that they can be version specific. 

    • GUI Sample: HTML Grid

      This first example of HTML based grids shows how you can easily include a sample of JQGRID within a Uniface application. This sample shows a basic read-only grid with features like sorting, column re-ordering search filtering and data paging. The sample contains both XML and JSON varients. The JSON version uses the new structtojson statement.

      Minimum requirement for the JSON version is Uniface 9.6.04
      Minimum requirement for the XML version is Uniface 9.6.03
    • GUI Sample: Grid

      The Grid widget is an easy way to present multiple occurrences of an entity. This sample shows how you can implement features like sorting, hiding and showing columns. It also shows that you can implement selection of multiple rows for copying and pasting.

      Minimum recommended Uniface version: 9.6.01
    • GUI Sample: Menus

      With Uniface 9.6 it has become possible to use images in Menus and to alter their general appearance.

      Minimum recommended Uniface version: 9.6.03
      (Minimum required Uniface version: 9.6.01)

    • GUI Sample: Images in ValReps

      With Uniface 9.6 it has become possible to show images in Dropdown Lists and List Boxes.

      Minimum required Uniface version: 9.6.01
    • GUI Sample: Form Containers

      In Uniface 9.6 the Form Container widget has been introduced. It allows you to include a Uniface Form within another Uniface Form.

      This sample shows some of flexibility that Form Containers give you in designing your user interface. It also shows that reuse of code can be improved by including the same Form in multiple Form Containers.

      Minimum required Uniface version: 9.6.01, Patch X104
    • GUI Sample: HTML Widget and JavaScript JAPANESE

      GUIサンプル:HTMLウィジェットとJavaスクリプト

      Uniface9.6で新しいHTMLウィジェットが紹介されました。それはUniface Windowsアプリケーションの中にHTMLテキストあるいはWebページを使うことが可能になります。

      このサンプルはHTMLウィジェットの中でJavaスクリプトとUnifaceプロックコードの間でどのように相互作用がされているのかを示します。

      必要最低 Uniface バージョン: 9.6.01
    • GUI Sample: Date Picker

      The Popup Forms that have been introduced in Uniface 9.6 can be used for many things. In this sample we use a Popup Form and a Calendar widget to create Date Picking functionality.

      Minimum required Uniface version: 9.6.01
    • GUI Sample: HTML Widget and Google Maps

      In Uniface 9.6 the HTML Widget has been introduced. It allows you to use HTML text or a web page on a URL inside your Uniface Windows application.

      This sample show how to integrate Google Maps into your application. It also shows how we use the HTML Widget to show the readme file inside the samples.

      Minimum required Uniface version: 9.6.01
    • GUI Sample: HTML Widget and JavaScript

      In Uniface 9.6 the HTML Widget has been introduced. It allows you to use HTML text or a web page on a URL inside your Uniface Windows application.

      This sample shows how the interaction between JavaScript in your HTML widget and Proc code in your Uniface Form can be programmed.




      Minimum required Uniface version: 9.6.01
    • GUI Sample: Command Buttons JAPANESE

      GUI サンプル: コマンドボタン

      Uniface 9.6ではコマンドボタンウィジェットに大きな拡張が行われました。シンプルなテキストボタンからWindows7リボンバーのような洗練されたボタンまで、現在考えられるほとんどのボタンを作成することができます。

      RepresentationUniface を設定すると以下の事が可能です:

      • ボタンの状態によってボタンの色を変更できます。(ボタンのクリック、ボタンへのフォーカス、ボタンの上にマウスカーソルを置く) ボタンをイメージで置き換えられます。
      • ボタンの状態によって異なるイメージを使用できます。

      必要最低 Uniface バージョン: 9.6.01


    • GUI Sample: Simple ribbon using tabs

      In Uniface 9.6 a new TabEx widget has become available. It provides a wealth of extra properties for controlling the look and feel of the widget and its tabs. It is downward compatible for easy migration.

      This sample will show you how to build a simple ribbon bar using two TabEx widgets. It does not have all the possible functionality of a full ribbon bar, but it is a very easy way of giving your application a modern touch. And just because we want to show you how flexible the TabEx is, the sample has four different "themes" that you can select with one mouse click.

      Minimum required Uniface version: 9.6.01


    • GUI Sample: Accordion and Stack Tabs

      In Uniface 9.6 a new TabEx widget has become available. It provides a wealth of extra properties for controlling the look and feel of the widget and its tabs. It is downward compatible for easy migration.

      This sample shows you how to use the new Accordion and Stack layouts, Both are vertical representations of tabs. It will also help you discover the various color and image properties.

      Minimum required Uniface version: 9.6.01


    • GUI Sample: Command Buttons

      In Uniface 9.6 the Command Button widget has been substantially enhanced. You can now create almost every button imaginable, from a very basic button with just text, to a button that is styled like a Windows 7 ribbon bar button.

      If you set the Representation to Uniface you can:

      • Change the colors of the button depending on the button state. (A button can be Active, have focus, or the mouse can hover over the button.)
      • Replace the button with an image.
      • Use different images depending on the state.

      Minimum required Uniface version: 9.6.01