Oracle Forms Builder中,常會出現等待後臺調用pck或者等待請求運行的情形。sql
等待過程當中,爲了更友善地展示當前狀態,防止用戶方誤操做,常會使用變動鼠標形態的方式。oracle
oracle form內置函數 SET_APPLICATION_PROPERTY 的 CURSOR_STYLE 屬性能夠實現這一功能。ssh
SET_APPLICATION_PROPERTY(CURSOR_STYLE, 'BUSY'); --忙碌狀態 SET_APPLICATION_PROPERTY(CURSOR_STYLE, 'DEFAULT'); --普通狀態
好比,WIN Aero鼠標方案,忙碌狀態爲有個轉動的圓圈。ide
來看下oracle官方給出的釋義 SET_APPLICATION_PROPERTY:函數
再來看下 CURSOR_STYLE 的取值:ui
Cursor Style Propertythis
Descriptionspa
Specifies the mouse cursor style. Use this property to dynamically change the shape of the cursor. The following settings are valid for the Cursor Style property: 3d
ARROWorm
Displays a GUI-specific arrow symbol.
BUSY
Displays a GUI-specific busy symbol.
CROSSHAIR
Displays a GUI-specific crosshair symbol.
DEFAULT
Displays a GUI-specific arrow symbol.
HELP
Displays a GUI-specific help symbol.
INSERTION
Displays a GUI-specific insertion symbol.
HAND
Pointing finger symbol.
MOVE
Crossed Arrow move window symbol.
Resize Arrows
The first two letters indicate direction, e.g. MWRESIZE - North-West Resize
NRESIZE
SRESIZE
ERESIZE
WRESIZE
NERESIZE
NWRESIZE
SERESIZE
SWRESIZE