is it possible to have a different set of controls in the same situation

Hi friends,

I would like to know if this is possible, please help me with a soln or work around

I use forms 6i.

In the logon form, I have to choose a code of a LOV. I have to check this code in a table to determine the type of code. There are 3 types of codes and based on the type we branch into a different form. Each of this form has a different feature.

I am able to do this. but in real need him would like to have something like the image below (is there a way to show screenshots era?)

http://www.geocities.com/shyamsraj/expected_layout.PNG

Choose the code and showing the description should arrive on the top box (blue) [I am able to do this...]

but according to the code instead of branching out to different window or forms, how I perform in the same place (the bottom, one in red box)

If the code is of type 1, the controls and features of it should appear in the red zone
Similarly, if the code is type 2 or 3, its orders and functionlity should appear in the red zone


Thank you
vish-

Hello

Create a block for each code contain data.
Create a stacked canvas for each code, position them canvases stacked so that they are all in the same position (your red zone). Place the items on your three blocks each on one of the three paintings.
In the WHEN-BUTTON-PRESS-trigger do something like

IF :CODE='A' THEN
  GO_BLOCK('BLOCK1');
  EXECUTE_QUERY;
ELSIF :CODE='B' THEN
  GO_BLOCK('BLOCK2');
  EXECUTE_QUERY;
ELSIF :CODE='C' THEN
  GO_BLOCK('BLOCK3');
  EXECUTE_QUERY;
END IF;

The GO_BLOCK move the cursor to the first navigable keyboard of the bloc and with the canvas element, this point is registered to, will be automatically made visible.

For more clear code, you could also do a '(STACKED_CANVAS') SHOW_VIEW; in each branch of the fi.

I hope this helps.

Tags: Oracle Development

Similar Questions

Maybe you are looking for