ブラウザー履歴オブジェクト
祖先 - オブジェクト (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.
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
名前 |
記述 |
コンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承 |
|
このコンポーネントの全てにアクセスできるようにします。 オブジェクト (PRIM_OBJT) より継承 |
|
コンポーネントのクラスを制限します。 オブジェクト (PRIM_OBJT) より継承 |
|
インスタンス用に値を格納できる汎用スペース オブジェクト (PRIM_OBJT) より継承 |
|
ComponentTypeではコンポーネントのタイプ情報にアクセスできます。 オブジェクト (PRIM_OBJT) より継承 |
|
ComponentTypeName十分適格なコンポーネントのクラス名です。 オブジェクト (PRIM_OBJT) より継承 |
|
コンポーネントの名前 オブジェクト (PRIM_OBJT) より継承 |
|
コンポーネントのオーナーです。 オブジェクト (PRIM_OBJT) より継承 |
|
このインスタンスが添付されているコンポーネントインスタンス。コントロールのビジュアルコンテナまたは子インスタンスのコレクション オブジェクト (PRIM_OBJT) より継承 |
名前 |
記述 |
コンポーネントを作成する時にCreateInstanceのイベントを実行します。 オブジェクト (PRIM_OBJT) より継承 |
|
コンポーネントが解除される前にDestroyInstanceのイベントを実行します。 オブジェクト (PRIM_OBJT) より継承 |
名前 |
記述 |
ブラウザー履歴にアイテムを追加します。 QueryString, Signal |
|
前のURLにナビゲートします。 Step |
|
後続のURLにナビゲートします。 Step |
|
現在の履歴アイテムを置換 QueryString, Signal |