ken bohnenkamp
15th February 2014, 17:58
Is there a way to add a zoom to a field and then use zoom.to code in a script rather than using the Zoom To field in the form ? Any help would be appreciated
vamsi_gujjula
16th February 2014, 21:22
this is how i used it.. checked the Zoom too option ( then on clicking it... windows file browser opens up
field.f.file:
before.zoom:
ret = seq.open.dialog.local(false, "", "${BSE_TMP}", "*.csv", f.file)
input.again()
sachinbaan
17th February 2014, 08:36
hi,
this is how i used.
long dlg
extern domain tcmcs.str50 field.value
dlg = dialog.new(title, DLG_STATUSBAR, true, DLG_OK_TEXT, "OK")
dialog.add.field(dlg, "field.value", field.label,
DLG_ZOOM_PROG, session.name,
DLG_ZOOM_RETURN,ret.field,
DLG_DOMAIN, domain.name)
dialog.show(dlg)
return(field.value)
Regards,
Sachin