custom form development
take the template.fmb
-->Delete detailblock and blockname blocks in data block
-->Delete blockname in windows and as well in canvas
-->create datablock(xxdatablock) with your custom table to the custom form
-->create new canvas(xxcan) and new window(xxwin) for datablock(xxdatablock)
-->go to form property pallete and define first navigation data block as your new datablock(ie xxdatablock)
-->go to window property pallete define primary canvas as your canvas name (xxcan)
-->go to canvas property pallete define window as your new window (xxwin)
-->go to form level triggers and open "pre form trigger" define your window name
app_window.set_window_position('xxwin', 'FIRST_WINDOW');
i.e your defining your first window as xxwin
-->go to program units and open package body
if (wnd = 'xxwin') then
app_window.close_first_window;
give the window name
i.e to identify the first window and to close the form and define master detail relation ship of the form.
then compile the form and generate the fmx
generation of fmx
• f60gen module=$AU_TOP/forms/US/custom_form.fmb module_type=form user=apps output_file=$custom_TOP/forms/US/custom_FORM.fmx compile_all=special batch=no
then register in apps
take the template.fmb
-->Delete detailblock and blockname blocks in data block
-->Delete blockname in windows and as well in canvas
-->create datablock(xxdatablock) with your custom table to the custom form
-->create new canvas(xxcan) and new window(xxwin) for datablock(xxdatablock)
-->go to form property pallete and define first navigation data block as your new datablock(ie xxdatablock)
-->go to window property pallete define primary canvas as your canvas name (xxcan)
-->go to canvas property pallete define window as your new window (xxwin)
-->go to form level triggers and open "pre form trigger" define your window name
app_window.set_window_position('xxwin', 'FIRST_WINDOW');
i.e your defining your first window as xxwin
-->go to program units and open package body
if (wnd = 'xxwin') then
app_window.close_first_window;
give the window name
i.e to identify the first window and to close the form and define master detail relation ship of the form.
then compile the form and generate the fmx
generation of fmx
• f60gen module=$AU_TOP/forms/US/custom_form.fmb module_type=form user=apps output_file=$custom_TOP/forms/US/custom_FORM.fmx compile_all=special batch=no
then register in apps
No comments:
Post a Comment