Welcome! Log In Create A New Profile

Advanced

(WB 12 Eng) How to change Cell Zorder?

Posted by Jaime Fernandez 
Jaime Fernandez
(WB 12 Eng) How to change Cell Zorder?
January 05, 2009 10:58AM
Hi,
I'm trying to change zorder of a Cell control via:
JSProperty("document.pagename.cellname","style.zindex")="10"

JSProperty("document.pagename.cellname","zindex")="10"

JSProperty("document.pagename.aliasofcellname","style.zindex")="10"
JSProperty("document.pagename.aliasofcellname","zindex")="10"

JSProperty("document.pagename.dwwaliasofcellname","style.zindex")="10"
JSProperty("document.pagename.dwwaliasofcellname","zindex")="10"

But causes Page Error, any idea?

Thank you
Jimbo
Re: (WB 12 Eng) How to change Cell Zorder?
January 09, 2009 08:12AM
Dear Mr/Mrs Friedman,

please, post your questions to the WinDev Forum: [forum.mysnip.de] which is for ALL WX-Products! This Forum here is meant for publication of WebDev-SOLUTIONS. Yours are questions.

Thank you for your understanding!

Kind regards,
Guenter
Forum Admin
Jaime Fernandez
Re: (WB 12 Eng) How to change Cell Zorder?
January 17, 2009 05:37PM
Just to close the thread:
WL
JSProperty("dww"+Cellname+".style","zIndex") = "newvalue"

Fabrice's JS:
function ChangeZindex(spar_Alias, ipar_Level)
{
eval("dww" + spar_Alias).style.zIndex = ipar_Level;

}
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: