cancel
Showing results for 
Search instead for 
Did you mean: 

Put cursor style = wait when click a HTMLB tag

andrea_rosati
Explorer
0 Kudos

Hello,

I need to put wait a style cursor when click whichever htmlb Tag (e.g. htmlb:button).

is possible that?

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

andrea_rosati
Explorer
0 Kudos

Hi,

tnks for cooperation but my problem is wider;

my htmlb button run a rfc in a larger time.

in this time I nead to enabled the other page functionality

beyond that display the cursor style = "wait".

for you is possible? better without javascript function!

thks,

<u>my actual sourse code is</u>

<b>LAYOUT SECTION:</b>

<htmlb:button id="FOUND"

onClick="FOUND" />

<b>ON INPUT PROCESSING SECTION:</b>

CASE event->id.

WHEN 'FOUND'.

call RFC

....

Message was edited by: ANDREA ROSATI

eddy_declercq
Active Contributor
0 Kudos

Hi,

You can set styles via the so called style editor, see

http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/0dfe409e8cef23e10000000a155106/frameset.htm

and

http://help.sap.com/saphelp_nw2004s/helpdata/en/95/8bfe40f652f323e10000000a155106/frameset.htm

But that is static, and you need the set the cursor type dynamic.

So, the solution remains the same. Set the cursor when it has been clicked and set it back when you've finished (when eg reloading the page).

Eddy

athavanraja
Active Contributor
0 Kudos

check out this weblog

/people/artem.gratchev/blog/2005/02/02/1001-mistake-in-bsp-programing-1-reaction-time

and the article by Eddy

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/data processing indications - please wait.article

Probably this is what you are trying to achieve!

Regards

Raja

eddy_declercq
Active Contributor
0 Kudos

Hi,

In general you would do something like this:

<htmlb:inputField id="sample" />

<script for="sample" event=onclick type="text/javascript">

dowait();

</script>

for the button specific

<htmlb:button id = "button"

text = "button"

tooltip = "Click me"

onClientClick = "dowait()"

design = "emphasized"

/>

In the dowait JS function you set the cursor type via selecting the correct CSS.

Check links like http://www.webxpertz.net/forums/showthread.php?s=a84b701eb2ff6e1b82b99f5695954c30&p=162205#post16220...

for more info.

Eddy