API version 1
- ‐
goForward¶
現在表示中のページを1つ次のページに進みます。
呼出形式一覧
呼出形式 |
説明 |
---|---|
void goForward() |
現在表示中のページを1つ次のページに進みます。 |
戻り値一覧
戻り値 |
説明 |
---|---|
void |
なし |
例外
なし
関連項目
goBack メソッド
使用例
CRSダウンロード
Form HtmlV_met {
X = 0;
Y = 0;
Width = 851;
Height = 704;
HtmlView HtmlView1 {
x = 10;
y = 180;
Width = 820;
Height = 380;
Function OnNavigateError( e ) {
^.lbl_event += e.EventName + "イベント発生 url: " + e.url + "\n";
}
Function OnDocumentComplete( e ) {
^.lbl_event += e.EventName + "イベント発生" + "\n";
}
Function OnBeforeNavigate( e ) {
^.lbl_event += e.EventName + "イベント発生" + "\n";
if ((e.url!="http://www.yahoo.co.jp/") && (e.url!="http://yahoo.co.jp/") ) {
return true;
} else {
return false;
}
}
Function OnAlert( e ) {
^.lbl_event += e.EventName + "イベント発生" + "\n";
^.lbl_event += e.message;
}
Function OnConfirm( e ) {
^.lbl_event += e.EventName + "イベント発生" + "\n";
^.lbl_event += e.message;
}
}
Label lbl_event {
x = 25;
y = 70;
Width = 338;
Height = 89;
BgColor = Color.White;
Border = BORDER_FLATSUNKEN;
Function OnDoubleClicked( e ) {
^.edi_Value2 = Value;
}
}
TextBox txt_url {
x = 24;
y = 30;
Width = 270;
Height = 28;
Value = "https://www.opst.co.jp/bizbrowser/product/dt/";
}
Button btnGoUrl {
x = 296;
y = 30;
Width = 67;
Height = 28;
altKey = DisplayObject.KEY_F02;
title = "GoUrl";
Function OnTouch( e ) {
try {
^.HtmlView1.GoUrl(^.txt_url);
^.lbl_event += ^.HtmlView1.URL + "\n";
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnGoBack {
x = 396;
y = 30;
Width = 73;
Height = 28;
Title = "GoBack";
Function OnTouch( e ) {
try {
^.HtmlView1.GoBack();
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnGoForward {
x = 479;
y = 30;
Width = 73;
Height = 28;
Title = "GoForward";
Function OnTouch( e ) {
try {
^.HtmlView1.GoForward();
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnRefresh {
x = 564;
y = 30;
Width = 73;
Height = 28;
Title = "Refresh";
Function OnTouch( e ) {
try {
^.HtmlView1.Refresh();
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnStop {
x = 647;
y = 30;
Width = 73;
Height = 28;
altKey = DisplayObject.KEY_F04;
title = "Stop";
Function OnTouch( e ) {
try {
^.HtmlView1.Stop();
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
NumberEdit num_zom {
x = 399;
y = 87 ;
Width = 71;
Height = 22;
decimals = 1;
minimum = 1;
}
Button btnZoom {
x = 483;
y = 85;
Width = 73;
Height = 28;
Title = "Zoom";
Function OnTouch( e ) {
try {
^.HtmlView1.zoom(^.num_zom.Value);
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnClear3 {
x = 564;
y = 85;
Width = 79;
Height = 28;
Title = "Clear";
Function OnTouch( e ) {
^.lbl_event.Clear();
}
}
Button Button1 {
x = 652;
y = 85;
width = 69;
height = 28;
Title = "ScrollBy";
Function OnTouch( e ) {
^.HtmlView1.ScrollBy(40,40);
}
}
Button btnExecJS {
x = 398;
y = 130;
Width = 117;
Height = 28;
Title = "execJavaScript";
Function OnTouch( e ) {
try {
^.HtmlView1.execJavaScript("document.bgColor=\"#ccffcc\"");
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
Button btnPrintPage {
x = 541;
y = 130;
Width = 93;
Height = 28;
Title = "printPage";
Function OnTouch( e ) {
try {
^.HtmlView1.printPage();
}
catch(e) {
MessageBox("Message=" + str(e.Message) + "\r\nCategory=" + str(e.Category) + "\r\nCode="+ str(e.Code) + "\r\nSubCode=" + str(e.subCode));
}
}
}
}