ORACLE Form 鼠标形态 CURSOR_STYLE
更新:HHH   时间:2023-1-7


Oracle Forms Builder中,常会出现等待后台调用pck或者等待请求运行的情形。

等待过程中,为了更友善地展现当前状态,防止用户方误操作,常会使用变更鼠标形态的方式。

oracle form内置函数 SET_APPLICATION_PROPERTYCURSOR_STYLE 属性可以实现这一功能。

SET_APPLICATION_PROPERTY(CURSOR_STYLE, 'BUSY'); --忙碌状态
SET_APPLICATION_PROPERTY(CURSOR_STYLE, 'DEFAULT'); --普通状态


比如,WIN Aero鼠标方案,忙碌状态为有个转动的圆圈。


来看下oracle官方给出的释义 SET_APPLICATION_PROPERTY:


再来看下 CURSOR_STYLE 的取值:


Cursor Style Property

Description

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: 


ARROW

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


返回关系型数据库教程...