To add a tab to Oracle form - oracle

I am given a form to modify, i need to add a tab to the form. I never did this can you please give me some material or an example form of how to add a tab, to kick-start the things.
Thanks ..

If the form already has tabs then it is easy:
In the object navigator, expand the Canvases node
Expand the node for the canvas that has the tabs
Expand the tab pages node
Add a new tab page (click green + button)
Specify the attributes of the new tab page, e.g. label

Related

Add buttons to sub-grid view

On the order form, there is a products section that has uses the default Order Product Inline Edit View. This view is not editable, but you can copy it and save it as a different name.
However, when you copy the view, the new view does not display all of the same buttons when viewing the sub-grid.
default view:
copied view (the lock pricing, move up and move down buttons are missing):
The copied view shows the + button and it's drop down menu correctly. Why hasn't it copied the other buttons, and how can i get them to show on my custom view?
I am happy to edit xml and upload that back to CRM if necessary.
Update:
FYI, this is all a pointless effort as the word template ignores the sequence order. What an utter waste of time.
I'm going to guess it's because the default view on the order of order products is a special one. It has special behaviours that arn't seen in the rest of 365, i.e. you don't get up, down, or lock on other views.
I would assume that the extra buttons only get shown on that default view and arn't really supported outside of that view.
Turns out it is actually quite easy to show these buttons for other views using the ribbon workbench.
Right click on the button in ribbon workbench under the subgrid section and click on customise
Select the command in the "solution elements" pane at the bottom
In the bottom right hand pane, right click on the enable rule "Mscrm.IsInlineEditView" and click "Remove from Command"
Publish
These buttons now show up for all views.

Visual Foxpro 9.0

I have a programming problem in Visual FoxPro, create a form that contains PageFrame with 2 Page.
1. On Page 1, Create a program to display data in the grid and give the sorting facilities, navigation and search.
2. On Page 2, create a program to calculate volumeTabung and spacious blanket.
Can anyone provide a solution? thank you
Although this is not DOING the answer, but a simple guide.
In the VFP command window,
Create Form [whatever form name you want]
Once form is up, look at the toolbar for "Form Controls". Click on the "PageFrame" control and then click on the form... There, you have a default pageframe with 2 pages as a default.
The "Properties" window should be visible by default. Click on the combobox on at the top which shows all controls. Open the drop-down and you will see "Page1" and "Page2" of the page frame control. Click on either page, and that will bring focus to that respective page.
Now, click on the Forms Controls toolbar again, such as to grab textbox, label, combobox, whatever and then click on the page and your controls are there. Then get focus to the second page and do the same for whatever you want.
Save and run the form. This just gets you to see the controls and how simple to put them on. Actual pulling your data and populating is really more your "to do" list.

Going to Specific tab in oracle forms

I have 3 radio button A ,B, C
and I have 3 tab page in the canvas A, B,C.
My Requirement is if user select radio A and press Submit button then tab A Should get activated and my cursor got to tab A.
If it is enabled and visible then you can use the following commands:
go_item('blockname.itemname');
or
go_block('blockname');
If you don't need to go to a specific item then use the second command go_block.
To enable a tab page:
set_tab_page_property('TAB_PAGE_NAME',enabled,property_true);
If the tab page was not visible you should make it visible first:
set_tab_page_property('TAB_PAGE_NAME',visible,property_true);
In order to navigate to that tab page, the easiest way to accomplish that is by going to a navigable item that is in that tab page:
go_item('ITEM_IN_THE_TAB_PAGE');
First you have to set the tab page as top most using set_tab_page_property(top_most_tab_page,'tab_page_name'). after that use go_item('block_name.item_name');
here is the easiest way to do this
In the following code, I supposed that the radio button name is: RADIO_BTN and it's value is 'A'
open submit button properties and set 'keyboard navigation'= No and 'mouse navigation'= No
on tab A create a dummy item (not database item) and name it A, with width=0 and height=0 so the user will not see it, or use a real item name on tab A
open trigger when_button_pressed on submit button and write the following code.
IF :RADIO_BTN = 'A' THEN /*replace this with your radio_btn name and value */
GO_ITEM('A'); /*go to dummy item in tab A or to real item in tab A */
END IF;

how to create a multiple tab on a single view

I have to create an MVC view where I have 3 tabs on a page.
Each tab has 10 fields to be accepted from the user. Then, the second tab is proceeded to which also has 10 fields.
My question is this: If I click on the back button of the page or if I go to the previous tab from the second tab, then it should show all the data which is filled by user and how to create a multiple tab on a single view. How do I go about doing this?

Ext JS 4 - how to get a specific tab and insert content (view)

What is the current MVC/Ext 4 JS recommended method of getting a reference to a specific tab in a tab panel (that is inside a view) and setting it's content (from a controller)?
I have seen conflicting information, for example, to use Ext.get, Ext.getCmp, getComponent(), and several other examples.
I can get the view, for example, by using "getMyView()". But now, how do I get the tab inside the tab panel that view? Then, I need to set that tab's content. (if this is the recommended method)
Ultimately I am trying to create another controller and view (for example a customer list) and insert that in to the tab panel. So I am thinking get the reference to the tab panel content, then set the 'renderTo' of my view to that. Does that make sense?
You can do something like this.
// create customer list
var list = Ext.create('Ext.grid.Panel', {...});
// add to the tab panel
tabPanel.add(list);
// set this tab as active
tabPanel.setActiveTab(list);
Ext.grid.Panel and Tab are panels. So it doesn't make any sense to use additional container.
But if you want you can do this
var tabIndexNumber = 1; // or 2, 3, 4 .. n
var tab = tabPanel.items.indexOf(tabIndexNumber);
Tab there is a panel too. Just add you grid panel.
tab.add(list);

Resources