Tooltip aspect (in a websdkuicontrol)?

Hi folks,

I cannot figure how to have the same tooltip aspect between xojo buttons and my webuisdk button.

xojo tooltip :
Capture d’écran 2021-10-08 à 16.28.50

my tooltip :
Capture d’écran 2021-10-08 à 16.28.42

I use the “title” property of an element, while xojo uses the dataset.original.title property.
if I store the tooltip text in the dataset.original.title, I get nothing.
I would like the same style as xojo tooltip.

is it feasible ?
ps: surely a question for @Anthony_G_Cyphers or @Greg_O_Lone !

These are the node-level attributes for a Bootstrap tooltip:

data-toggle="tooltip"
data-placement="top"
data-title="tooltip text"

Then call the tooltip jQuery method:

$('#" + me.controlId + "').tooltip();
2 Likes
Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.