-
Posts
10 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by SilvaM
-
-
Hi!
I'm testing uniGui ruinning in a mobile deivce but not show the numeric keyboard when is a numeric edit field.
If I make a HTML with <input type=number/> and it's work.
Is there a way to do it in a TUniNumberEdit?
Thank's a lot.
-
Not yet...
-
I'm having a problem with double click on iPAD. I just think to use onmousedown event by myself (and disable onclick) to try to solve it.
-
Yes, I need to select the row in the XY mouse coordinates.
Thank you.
-
Hi!
I need to select a cell (or a row) in a UniDBGrid using XY Position.
How could I implement something like this:
Ext.override(Ext.grid.GridView, {
/**
* Returns a cell row, col, and element, by the xy coodinates
*
* @param {Integer} x
* @param {Integer} y
* @returns {Array} [row, col, el]
*/
getCellByXY: function(x, y) {
var view = this,
rows = view.getRows();
//loop rows
for (var i = 0; i < rows.length; i++) {
var j = 0, cell;
//loop cells in row
while (cell = view.getCell(i, j)) {
var cellEl = Ext.get(cell);
if (cellEl.getTop() <= y && cellEl.getBottom() >= y) {
if (cellEl.getLeft() <= x && cellEl.getRight() >= x) {
return [i, j, cell];
}
} else {
//prevent useless cell loops in wrong row
break;
}
j++;
}
}
}
}); -
It's works! Thank you!
-
Thank's.
I need to show the form and stay creating the panels.
-
Hi,
How could I use a thread to populate a uniscrollbox with about 100 unipanels.
Thank's a lot.
Márcio
-
Hi,
I need to catch the scroll event of a unipanel. It's possible?
Thank's a lot.
Marcio
How to force numeric keyboard mobile devices
in General
Posted
Solved:
On FormCreate:
(UniEdit1 as IUniJSInterface).JSConfig('inputType',['number']);