CoolClock, Strange behavior on the IPhone.

0
0

If you make a simple application consisting of one page and a CoolClock element on it, launch it and go to it from iPhone, then make a long-tap, then CoolClock will be highlighted as a text element (for copying etc). Attached is a screenshot of the screen.
However, there is another example on this link:
http://demo.wisej.com/NavigationBar/
in which this effect with CoolClock does not appear (screenshot also attached).

Perhaps the difference is that in the first example:
<div qxselectable=”on” id=”id_3″ name=”coolClock1″ qxkeepfocus=”on” style=…</div>

And in the second:
<div qxselectable=”off” id=”id_20″ name=”coolClock1″ qxkeepfocus=”on” style=…</div>

Question, how to remove CoolClock highlighting on my iPhone when long-tapping?

Kind regards,
Dmitry

  • You must to post comments
0
0

Hi Alaa,

Thank you for your prompt reply. Your advice helped a lot, now everything works as it should.
I have one more question about the same element. Should I put it in a separate thread or can I continue here?

Brgds,
Dmitry

  • You must to post comments
0
0

Hi Dmitry,

You can change the selection behavior by using the ControlCreated event.

private void coolClock1_ControlCreated(object sender, EventArgs e)
{
this.coolClock1.Call(“setSelectable”, false);
}

This code sample will change the selectable status of the CoolClock control once it’s created.

HTH,

Alaa

  • Dmitry
    Hi Alaa, Thank you for your prompt reply. Your advice helped a lot, now everything works as it should. I have one more question about the same element. Should I put it in a separate thread or can I continue here?
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.