Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
+1
+ 2
Hi all,
I'm tryng to modify the Editor to embed a scrollable containre..
I've try with:
[code]
////////////////////////////////////////////////////////////////
// Custom editor for column 'section1.column5'
function page1_section1_column5_customeditor(controlsource, row,col)
{
var employees = Lianja.getCursor("employees");
scroller = createObject("scrollpanel");
scroller.resize(200, 200);
econt = scroller.createObject("econt", "container");
//econt.resize(800, 600);
// econt = createObject("econt","container");
econt.layout = "Form";
econt.addRow("", "formheading", "label");
formheading.caption = "EDIT EMPLOYEE DETAILS";
formheading.fontsize = 12;
formheading.alignment = "center";
formheading.backcolor = "lightslategray";
formheading.forecolor = "white";
econt.addRow("First Name:", "firstname", "textbox");
[\code]
but not work..
Hi Fabio,
notCode:scroller.addObject("econt","container");
and uncommentCode:econt = scroller.createObject("econt", "container");
Regards,Code:econt.resize(800, 600);
Yvonne
Thanks Yvonne,
it work!
Only one problem, when I go to "edit" mode, I do not see the data..
thanks
Fabio
Last edited by phabio; 2017-11-27 at 10:37.
And, on Edit mode, If I press "Tab", the editor switch to "Display" mode..
Hi Fabio,
Submit a ticket and give us all the code/details.
Regards,
Yvonne
Bookmarks