How do I hide mouse when over text box

Get help using Construct 2

Post » Thu Dec 29, 2016 11:50 am

So working on a small chat box and I cannot for the life of my figure out how to hide the mouse when over a text box, since I use a custom cursor it looks really ... Well odd.. it's the same for the scroll bar.

I have been working on trying to find a way to simply remove the scroll bar and to not display the regular mouse cursor when over a textbox but it might be beyond me lol, any help would be greatly appreciated :3
B
73
S
33
G
21
Posts: 85
Reputation: 16,188

Post » Thu Dec 29, 2016 12:38 pm

Set CSS style "cursor" to "none" will remove the system cursor when it is over the text box. To remove the scroll bar, set "Type" to "Text" in the c2 object properties.
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836

Post » Thu Dec 29, 2016 1:22 pm

Colludium wrote:Set CSS style "cursor" to "none" will remove the system cursor when it is over the text box. To remove the scroll bar, set "Type" to "Text" in the c2 object properties.


Thanks for the reply, the "setCSS" worked for my cursor other than the textbox is still above the cursor which is strange since the I have the mouse on a layer above the Textbox, but for the scrollbar I have to have it set to "TextArea" for my chat to even function, is there any other way ?

Edit : Nevermind, I figured it out by using "SET CSS - overflow-y" with "hidden"
for anyone that might have the same issue.
B
73
S
33
G
21
Posts: 85
Reputation: 16,188

Post » Thu Dec 29, 2016 2:02 pm

JaredX wrote:....I figured it out by using "SET CSS - overflow-y" with "hidden"
for anyone that might have the same issue.


Good advice - I'm not a css guru by any stretch. Here's a w3schools playit demo of the various options that are available.
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests