PB 電子会議室

コメント

発言No. 更新日 題名(クリックすると発言内容と関連するコメントが表示されます)
9505 99/12/07 14:11:34 RE(9):PB6.5: ファンクションキーの殺し方 By 秋
9500 99/12/06 22:28:22 RE(8):PB6.5: ファンクションキーの殺し方 By M.M
9496 99/12/06 17:15:14 RE(7):PB6.5: ファンクションキーの殺し方 By KOMI
9487 99/12/06 01:09:02 RE(6):PB6.5: ファンクションキーの殺し方 By M.M
9486 99/12/04 13:04:00 RE(5):PB6.5: ファンクションキーの殺し方 By t.i
9484 99/12/03 19:11:16 RE(4):PB6.5: ファンクションキーの殺し方 By M.M
9483 99/12/03 19:05:11 RE(3):PB6.5: ファンクションキーの殺し方 By muramura
9482 99/12/03 18:41:25 RE(2):PB6.5: ファンクションキーの殺し方 By たつ
9481 99/12/03 18:32:15 RE(1):PB6.5: ファンクションキーの殺し方 By M.M
9480 99/12/03 18:25:47 PB6.5: ファンクションキーの殺し方 By たつ

カテゴリ:PowerBuilderの開発環境
日付:1999年12月03日 19:11 発信者:M.M
題名:RE(4):PB6.5: ファンクションキーの殺し方

たつさん、こんばんは。

>keyイベントに、以下のように記述しています。

>if ( KeyDown( KeyF1! ) = true) then
> if ( cb_f1.enabled = true ) then
> cb_f1.TriggerEvent(Clicked!)
> end if
>elseif ( KeyDown( KeyF2! ) = true ) then
> if ( cb_f2.enabled = true ) then
> cb_f2.TriggerEvent(Clicked!)
> end if

>これが F12 まで続きます。

未実験君ですが、こんな感じになるんじゃないでしょうか。

graphicObject currentFocusControl

currentFocusControl = getFocus()
if typeOf(currentFocusControl)=SingleLineEdit! then return //SLE上では処理を中止
...(以下、ファンクションキー押下の処理を記述)


付加情報:

PowerBuilder Version (記載なし)

Client SoftWare

OS Windows95
DBMS (記載なし)
Browser (記載なし)

Server SoftWare

OS (記載なし)
DBMS (記載なし)
WebServer (記載なし)

PowerSpaceの運営は、パワーフューチャー株式会社が行っております。
Copyright © 2013 Power Future Co., Ltd.