ブラウザー履歴オブジェクト
祖先 - オブジェクト (PRIM_OBJT)

詳細


History provides access to the browser history.
Manipulation of the browser history is limited to the currently active domain and is effectively a place to store QueryStrings that will be appended to the URL.
This is primarily useful for storing deeplinking information generated by user navigation.

Example


In this example, every time an item in a list gets focus the details of an employee are displayed and an item is added to the history.
When the user uses the history to show a page, the URLChanged event can be monitored and the URLParameters processed to detect the employee number.
Evtroutine Handling(#List.ItemGotFocus)
#Com_owner.Activate( #Empno )
#Sys_Web.history.Add( ("Employee=&1").Substitute( #Empno ) )
Endroutine
Evtroutine Handling(#sys_web.URLChanged)
For Each(#Parameter) In(#sys_web.URLParameters)
Continue If(#Parameter.Name.Uppercase <> Employee)
#Com_owner.Activate( #Parameter.Value.uppercase)
Leave
Endfor
Endroutine

プロパティ

名前

記述

ComponentClassName

コンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

ComponentMembers

このコンポーネントの全てにアクセスできるようにします。 オブジェクト (PRIM_OBJT) より継承

ComponentPatternName

コンポーネントのクラスを制限します。 オブジェクト (PRIM_OBJT) より継承

ComponentTag

インスタンス用に値を格納できる汎用スペース オブジェクト (PRIM_OBJT) より継承

ComponentType

ComponentTypeではコンポーネントのタイプ情報にアクセスできます。 オブジェクト (PRIM_OBJT) より継承

ComponentTypeName

ComponentTypeName十分適格なコンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承

Name

コンポーネントの名前 オブジェクト (PRIM_OBJT) より継承

Owner

コンポーネントのオーナーです。 オブジェクト (PRIM_OBJT) より継承

Parent

このインスタンスが添付されているコンポーネントインスタンス。コントロールのビジュアルコンテナまたは子インスタンスのコレクション オブジェクト (PRIM_OBJT) より継承

イベント

名前

記述

CreateInstance

コンポーネントを作成する時にCreateInstanceのイベントを実行します。 オブジェクト (PRIM_OBJT) より継承

DestroyInstance

コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 オブジェクト (PRIM_OBJT) より継承

メソッド

名前

記述

Add

ブラウザー履歴にアイテムを追加します。 QueryString, Signal

GoBack

前のURLにナビゲートします。 Step

GoForward

後続のURLにナビゲートします。 Step

Replace

現在の履歴アイテムを置換 QueryString, Signal

参照

すべてのコンポーネント クラス
テクニカルリファレンス