Ok, in App builder, all work fine.. but in App Center, no.
Code:
sp_container.addObject("sp_clear", "commandbutton")
sp_clear.move(500, 3, 60, 20)
sp_clear.text = "Reset"
sp_clear.click = sp_reset_handler
// this.addSearchPanel(sp_container)
oActiveSection.addSearchPanel(sp_container)
// this.addProperty("SearchPanel",sp_container) // Add reference to the object as a property
oActiveSection.addProperty("SearchPanel", sp_container) // Add reference to the object as a property
endproc
////////////////////////////////////////////////////////////////
// handlers for the Search Panel
proc sp_search_handler()
////////////////////////////////////////////////////////////////
private sp_mainTable, sp_comboCondition, sp_combo, sp_textbox
sp_mainTable = ""
sp_comboCondition = ""
sp_combo = ""
sp_textbox = ""
dialog box "sp_search_handler"
oActivePage = lianja.activepage
ActicePage = oActivePage.id
oActiveSection = Lianja.get(ActicePage).activesection
sp_mainSection = oActiveSection.id
the row:
oActivePage = lianja.activepage
give error...
how to do?
thanks
Fabio
Bookmarks