Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

VIENNA Advantage also supports form to be opened from a button on a window. There is option at is a software platform that provides support for opening forms from buttons within windows. In this scenario, the linked form behaves like a pop-up window. At the column level, when users have the option to select a reference of type "Button." When this option is selectedchosen, a field will be displayed with the label labeled "Form or Page" is displayed (as shown in Pic 16), where . Users can specify the form needs to be linked which user wants to open on that button clickthey want to open when the button is clicked. This feature enhances the functionality and user experience of VIENNA Advantage by allowing users to access relevant forms conveniently within the application.

...

Pic 16

Now at code level, the process to create form will be same as explained in previous sections, the only change that is required will be to get Record ID from the particular transaction from where the form is being opened. So that code can be written against the record to handle such scenarios. To achieve this, there are inbuild functions that can be accessed in "init" function of form with the "frame" parameter. 

...

  1. this.frame.getRecord_ID(); 

  2. this.frame.getAD_Table_ID(); 

  3. this.frame.getAD_Window_ID();

Further, one can set form height and width within form class as below.

...