Disable the arrows on Forms 6i
Hello worldIs there a way to disable the arrows that appear on the top of each form using the code?
Thanks in advance!
Change the KEY-NTXREC code, PRESSING of BUTTON etc.. :
begin
null;
end;
Interesting to know: why do you want to disable the navigation in the records? If you are in a block of several record, it is quite normal to move between records.
Tags: Oracle Development
Similar Questions
-
How to disable the list item form in oracle Forms toolbar
Hello
I have to disable in the menu toolbar-> topic GIS link by using cutom.pll
in the procedure event custom.pll I called
If event_name = 'WHEN-NEW-FORM-INSTANCE' then
If form_name = "EAMFANDF" then
If block_name = "ASSET_NUMBERS" then
Set_Menu_Item_Property ("SPECIAL5: GIS Link', ON, PROPERTY_FALSE");
end if;
end if;
end if;
Please give me a solution...
With respect,
MahaHi all
I got a solution using this code I can enable disable the menu and the menu list.
declare
v_Asset_no varchar2 (50);
a MENUITEM;
Begin
a: = FIND_MENU_ITEM ("SPECIAL. SPECIAL5');
If (event_name = ' one TIME-NEW-POINT-INSTANCE ') then
If (form_name = "EAMFANDF" AND block_name = "ASSET_NUMBERS") then
v_Asset_no: = name_in('ASSET_NUMBERS.) ITEM_NUMBER_MIR');
If v_Asset_no = "DT" then
app_special2. Instantiate ('SPECIAL5', 'GIS Link');
-SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
SET_MENU_ITEM_PROPERTY (one active, property_false);
On the other
app_special2. Instantiate ('SPECIAL5', 'GIS Link');
-SET_MENU_ITEM_PROPERTY (one, displayed, property_true);
SET_MENU_ITEM_PROPERTY (one active, property_True);
end if;
end if;
end if;
end;Kind regards
Mohan ReddyPublished by: MAHA REDDY on May 17, 2013 12:02 AM
-
Disable the arrows to look in the gutter?
Is there a way to disable the little yellow arrows in the gutter that show how a search result line is on? They mask the breakpoint indicator, so I can't say if I put an or not.
GlenRight-click on the arrow, choose Preferences/general/editors/Text Editors/Annotations, on the page choose the search results and clear the vertical ruler check box.
-
Hello
I hope someone can help me... I am building an app in Flash8 who used the arrow keys to position the clips. On the right side of the screen, I placed a few components such as radio buttons and comboboxes. When one of them is clicked on (receive focus), it begins in response using the keys. I tried to remove the update, but cannot get that to work. What I really want to do, is remove the listeners of the components...
Can someone help me please? Thanks in advance.
Rick.For those interested in the solution:
I solved it by using Selection.setFocus (null) in my keyListener that handles the functionality of the arrow button. (So put the setFocus (null) in your onKeyDown event).Rick.
-
How to disable the AutoSubmit validation form.
I use Jdeveloper 10.1.3.
I have a list box with autosubmit set to true to generate a list for a second list box... I also have other input on the form fields that have the required property set to true.
When I select an item in the drop-down list, it sends the entire form and stops on fields that are required. Is it possible that I can use this autosubmit without affecting the entire form?Hello
Didier Laurent has provided a very nice solution on how to avoid this behavior.
http://blogs.Oracle.com/Didier/2008/04/02/#A301-Juan Camilo
-
JTable: update behavior by using the arrow button
Dear Experts,
I create the following JTable to act as a calculator.import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.text.NumberFormat; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.SwingConstants; import javax.swing.SwingUtilities; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.AbstractTableModel; import javax.swing.table.DefaultTableCellRenderer; import javax.swing.table.TableColumn; public class CalculatorTable extends JFrame { //Fields private final String[] COLUMN_NAMES = {"1", "2", "3"}; private final int[] intArrayFirst = {1, 10, 100, 1000}; private NumberFormat nf = NumberFormat.getNumberInstance(); private TableBalanceCalculator tbc; // extends JPanel private JPanel pnlX, pnlY; private JButton btnClear; private JLabel lblTotal; private JTextField txtTotal; private int intTotal; //Constructors public CalculatorTable() { // Set up frame setTitle("Calculator"); setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); setSize(380, 280); // Initialize form and set to be visible initComponents(); setVisible(true); }// end of constructors private void initComponents() { getContentPane().setLayout(new BorderLayout()); pnlY = new JPanel(); pnlY.setLayout(new BoxLayout(pnlY, BoxLayout.Y_AXIS)); pnlX = new JPanel(); pnlX.setLayout(new BoxLayout(pnlX, BoxLayout.X_AXIS)); pnlX.add(Box.createHorizontalStrut(10)); pnlX.setAlignmentX(JFrame.RIGHT_ALIGNMENT); pnlY.add(Box.createVerticalStrut(15)); pnlY.add(pnlX); tbc = new TableBalanceCalculator(); pnlX = new JPanel(); pnlX.setLayout(new BoxLayout(pnlX, BoxLayout.X_AXIS)); pnlX.add(Box.createHorizontalStrut(10)); pnlX.add(tbc); pnlY.add(Box.createVerticalStrut(10)); pnlY.add(pnlX); lblTotal = new JLabel("Total:"); txtTotal = new JTextField(); txtTotal.setFocusable(false); txtTotal.setHorizontalAlignment(JTextField.RIGHT); pnlX = new JPanel(); pnlX.setLayout(new BoxLayout(pnlX, BoxLayout.X_AXIS)); pnlX.add(Box.createHorizontalStrut(140)); pnlX.add(lblTotal); pnlX.add(Box.createHorizontalStrut(20)); pnlX.add(txtTotal); pnlX.add(Box.createHorizontalStrut(25)); pnlY.add(Box.createVerticalStrut(10)); pnlY.add(pnlX); btnClear = new JButton("Clear"); btnClear.setMnemonic(KeyEvent.VK_C); btnClear.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { tbc.clearTable(); } }); pnlX = new JPanel(); pnlX.setLayout(new BoxLayout(pnlX, BoxLayout.X_AXIS)); pnlX.add(Box.createHorizontalStrut(60)); pnlX.add(btnClear); pnlX.add(Box.createHorizontalStrut(15)); pnlY.add(Box.createVerticalStrut(20)); pnlY.add(pnlX); pnlY.add(Box.createVerticalStrut(20)); getContentPane().add(pnlY); } //Class to create tables with one model private class TableBalanceCalculator extends JPanel { // Fields static final long serialVersionUID = 200907131455L; // YYYY MM DD hh mm private JScrollPane tblScrPn; private CalculatorJTable tblCalc; private CalculatorTableModel mdlTableCalc; // Constructor private TableBalanceCalculator(){ mdlTableCalc = new CalculatorTableModel(COLUMN_NAMES, intArrayFirst); mdlTableCalc.addTableModelListener(new TableModelListener() { public void tableChanged(TableModelEvent tme) { intTotal = 0; for (int i = 0; i < intArrayFirst.length; i++) { intTotal = intTotal + (Integer)(tblCalc.getValueAt(i, 2)); } txtTotal.setText(nf.format(intTotal)); } }); tblCalc = new CalculatorJTable(mdlTableCalc); tblCalc.setPreferredScrollableViewportSize(new Dimension(320, 100)); tblCalc.setRowHeight(25); tblCalc.setRowSelectionAllowed(false); tblCalc.setColumnSelectionAllowed(false); // Only allow cell selection // Set column width TableColumn col; for (int i = 0; i < COLUMN_NAMES.length; i++){ col = tblCalc.getColumnModel().getColumn(i); if (i == 0) col.setPreferredWidth(60); else if (i==1) { col.setPreferredWidth(40); col.setCellRenderer(new DefaultTableCellRenderer() { static final long serialVersionUID = 201101151629L; // Override the renderer to format String public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { JLabel jlabRender = (JLabel) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); jlabRender.setHorizontalAlignment(SwingConstants.CENTER); return jlabRender; } }); } else col.setPreferredWidth(120); } // Create the scroll pane and add the table to it. tblScrPn = new JScrollPane(tblCalc); // Add the scroll pane to this panel. add(tblScrPn); tblCalc.changeSelection(0, 1, false, false); // set initial selection } // end of constructor // Methods CalculatorJTable getTable() { return tblCalc; } void clearTable() { for (int i = 0; i < intArrayFirst.length; i++) { tblCalc.setValueAt(null, i, 1); tblCalc.changeSelection(0, 1, false, false); // return to the first cell in the column tblCalc.requestFocusInWindow(); // otherwise the focus is still in btnClear } } } // end of class Table Cash Inventory //Special JTable class to override changeSelection private class CalculatorJTable extends JTable { // Fields static final long serialVersionUID = 201111121009L; // Constructor private CalculatorJTable(CalculatorTableModel dm) { super(dm); } // Overriding to prevent selection on some columns public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend) { super.changeSelection(rowIndex, 1, toggle, extend); // only column 2 is editable. } } public class CalculatorTableModel extends AbstractTableModel { // Fields static final long serialVersionUID = 201101111111L; // YYYY MM DD hh mm private final int MAX_ROWS; private String[] columnNames; private Object[][] objData; // Constructor CalculatorTableModel(String[] astrC, int[] aintBNoteType) { MAX_ROWS = aintBNoteType.length; columnNames = astrC; objData = new Object[MAX_ROWS][columnNames.length]; for (int i = 0; i < MAX_ROWS; i++) { objData[0] = aintBNoteType[i];
}
}
// Three methods that must be implemented
public int getRowCount(){
return MAX_ROWS; // Set table to have maximum allowable items in a transaction
}
public int getColumnCount(){
return columnNames.length;
}
public Object getValueAt(int row, int col){
if (col == 2) { // the column is summarized to obtain a sum in a JTextField
if ((objData[row][col] == null) || (objData[row][col].toString().length() == 0)) return 0;
else return objData[row][col];
} else return objData[row][col];
}
// Method to set column name
public String getColumnName(int col){
return columnNames[col];
}
// Override setValueAt to update objData, because column 1 is editable
public void setValueAt(Object value, int row, int col) {
if (col == 1) {
objData[row][col] = value;
objData[row][2] = (value != null ? (Short)value * (Integer)objData[row][0] : null);
}
fireTableCellUpdated(row, col);
}
// Wihtout the following method no cell is editable
public boolean isCellEditable(int row, int col) {
if (col == 1) return true;
else return false;
}
public Class<?> getColumnClass(int c) {
if (c==1) return Short.class;
else return Integer.class;
}
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
SwingUtilities.invokeLater(new Runnable() {
public void run() {
new CalculatorTable();
}
});
}
}
I don't have any problem when I use <Enter> key to confirm my input in Column 2. However, if I use <ARROW DOWN> key, it will not work perfectly in the last row. When I reach the bottom row, press a number and then <ARROW DOWN> key, only the total sum is updated, but the value in Column 3 remains unchanged. My questions are: 1. What is the best explanation of this behavior? 2. What is the best approach to solve the problem? I have thought of disabling the arrow key, but the problem also occurs on the first row with <ARROW UP> key. Thank you for your help. Patrick
your model should trigger rowsUpdated (instead of cellUpdated) as the other cell values are changed so
Basically, it's an accident (due to the internal implementation of paint on updates) it seems to work in other rows
See you soon
Jeanette -
disable the pop up keyboard hp envy m7
I would like to disable the keyboard to form screen popping up whenever I click on the text box or in a document. I have a HP Envy with Windows 8.1 m7.
Hello
You can disable the service charge as follows.
From the desktop, hold down the Windows key and press R. In the run window, type services.msc and press to enter. Navigate to the touchscreen keyboard and Handwriting service panel, right click and select Properties.
In the drop-down list box next to "Startup Type", select disabled and click on apply to save the changes.
Click on the "Stop" button to end the service.
If you have never wanr to use on-screen keyboard, this service must be re-enabled and started the first.
Kind regards
DP - K
-
I've recently updated Firefox to the latest version 10.0.2. After that I could not enter any website address and press the Enter key and get on the site, neither could I select a Web site in the drop-down list of sites visited previously. The only way I could get there by pressing the arrow to the right of the address box (reload current page). Once I disabled the extension AVG, everything worked normally. As soon as I activated the extension AVG, it stopped working again.
Known issue. See:
Try what sc123 suggested the link above. Send an email to [email protected] with your full license key and let them know. I'm sure his AVG question not related Firefox. :))
-
Disable the column key functional for an individual of forms
Hi all
I have a block of multiple registration details in my form with fields (type, point, wt, vehicle number etc.). Keys are already scheduled for functional use as f3 to copy.
In my form, I want to use the copy function to get to the fields as type, point, wt, but not for the vehicle number column. IE type, point, maybe same wt columns but number of vehicle may not be same (according to customer requirement). They will not accidentally copying the same number of vehicle.
For this I need to disable the copy (F3) function for this vehicle only number column.
Is there a workaround for this...
My version of the form is 10g
Thanks in advance
Concerning
JaKes
the KEY-F3-trigger has nothing to do with the F3 function key. In client-server F3 is associated with the DUPLICATE_ITEM function, so you should use the KEY-DUPITM-trigger.
Also, if you implement a release BUTTON, it replaces the functionality by default, so you must manage the service for yourself.
As for the OP functionality should just be deleted at one, the simplest solution is to create KEY-DUPITM-relaxation so precise and simple insert a value that is NULL. inside.
-
disable the Popup LOV and its icon in a tabular form
Hello
My requirement is
I want to disable Popup LOV and tabular icon.
If I select the first value in column selection list 'A' then second column Empname disable window popup lov
and if I select 'B' and then select empname popup lov.
Kind regards
Arianne.
Hi ujwala1234,
ujwala1234 wrote:
I want to disable Popup LOV and tabular icon.
If I select the first value in column selection list 'A' then second column Empname disable window popup lov
and if I select 'B' and then select empname popup lov.
You can do it by using dynamic action.
Use the javascript code in the next thread to turn lov popup tabular icon.
Reference: How to disable the popup LOV (query based LOV) in the form
and related to put on over ReadOnly rank tabular thread
NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."
If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.
Kind regards
Kiran
-
Navigation in the form with the arrows or keys of planning tab
Hello
We have some users who are frustrated with navigation in the planning forms in 11.1.2.3. That's what I've noticed, and I would like to know if this is the way in which planning is supposed to work, or if we have bugs. Our browser is IE 8, but we get the same behavior in Mozilla.
1. we can use the arrow keys and move in all directions, but cannot change the cell, unless you click with the mouse. In edit mode, we can not arrow out.
2. we can tab from cell to cell, modify the data and tab on. If we tab in a read-only column, we are blocked and cannot tab out.
I don't like logging SRs for that sort of thing, but the support guys, I'm supposed to challenge such things. It might be something wrong with our implementation. Is this normal and EXPECTED?
Thank you, Kevin
This was noted as a known issue in Bug 17282780 : INTERNET EXPLORER - SHAPE CELL cannot BE OUT WITH KEYS, CURSOR, TAB or ENTER
This problem is caused by the introduced interface 11.1.2.2 ADF go. Oracle Dev still working on this issue.
HTH-
Jasmine -
Disable the image of calendar in tabular form in version APEX4.0
Hi all
I used the JQuery code following in dynamic Action to disable the Hiredate column in tabular form in APEX4.0.
$('INPUT[name="f01"]').each (function (i)
{
var rowSelected = $(this).attr("id").substr (4);
var hire_date_id = $('#f05_'+rowSelected).attr ("id"); F05-> column of hiring Date which is the date picker
$x (hire_date_id) .readOnly = "readonly";
$x (hire_date_id).style.background = "#F2F2F5";
$($("td [headers ="HIREDATE"] img')) .addClass ('apex_disabled');
}
);
HireDate column is disabled the calendar Image is not disabled in APEX4.0 but it did not work in version APEX4.2.
Can someone tell me the reason and the solution for this problem?
Thanks in advance.
Kind regards
Lacombe
Published by: 1004558 on May 7, 2013 07:39Thank you very much, Dene,.
Your code has been useful for me. But I created the picker using JQuery in DA as below,
$('input[name="f05"]').datepicker({ dateFormat: 'dd-M-yy', changeMonth:true, changeYear:true, showButtonPanel:false, buttonImageOnly:true, showOn:'both', buttonImage:"#IMAGE_PREFIX#asfdcldr.gif" }).parent("td").addClass("datepicker");
and use the following query to disable,
$('input[name="f01"]').each( function(i) { var rowSelected = $(this).attr("id").substr(4); $('#f05_'+ rowSelected).datepicker( "disable" ); } });
After that I enabled it in another DA before submitting the page.
It works Fine... :))
Thank you
Lacombe -
from the how to do to disable the Save button in the form 10g
Hello...
I developed a custom form when the function save the form I want to disable the button "close in bulk.
Save here is standard option, there is no button Save.
Please give me a solution
Concerning
MohanHello
To disable a button, use the Set_Item_Property (..., INFLUENTIAL, PROPERTY_FALSE) integrated.
François
-
I have to disable all of my former adobe products when you join the cloud?
Do I have to disable all of my former adobe products, and then download the programs that I use? Should I uninstall all adobe products and then install the products of the Cloud?
Hi tmason80,
No, you don't have to uninstall your old Version of Adobe product. You can simply download the latest version of Adobe Applications using Adobe Application Manager.
You can diwnload Adobe Application Manager from this link.
http://www.Adobe.com/support/downloads/thankyou.jsp?ftpID=4773&FILEID=4437
Kind regards
Abhijit
-
Hello
I have a requirement to disable an entire form and is what it read-only based on the value of the item, is there a way to do it?
Thank youHello
Try to use js for the setting readonly on the fields of form under certain conditions, below
include jquery plugin of readonly in zero page, you can download it from: http://plugins.jquery.com/files/jquery.readonly-0.7.0.zip
Demo: http://apex.oracle.com/pls/apex/f?p=25471:2
Function and the global variables declaration
function readOnlyItem() { if ($v('P100_ITEM') == 1) { $(':input').each(function () { $(this).readonly(true); }); } // change selector to your choice of item or selection attribute return false; }
Run when the Page loads
readOnlyItem();
Or
the dynamic action to disable fields under certain conditions,
(1) create a standard dynamic action
(2) the item value is equal to 1
(3) action set disable fields
(4) select the list of items must be disabledKind regards
-Spengler
Maybe you are looking for
-
Need help with Win XP Installation on Satellite A200
Hello I tried to install Win XP on a new Satellite A200 - 1TJ model PSAE3, so I used the link that is given to me and downloaded the Intel storage utility Disk Manager. But it does not at all. I did these steps so far: -Insert the CD in Win XP (versi
-
move bookmarks to just file an extra copy.
try to move the bookmark to a folder. bookmark is simply copied to the folder and is now displayed in 2 places. If I remove/cut the original bookmark I lose them both.
-
The photos are in my albums, but when I go to put in a circular that they are not available
I see pictures in my particular album and I'm trying to put them in a document on a Web site, but when I navigate, photos, this particular album is not displayed.
-
Is there a way to create a UNIVERSAL basket?
Hey the tech guys, I recently installed several systems of OS on my laptop, I deleted some files in different systems, here's the problem,each system can display all files that are not removed, but the trash of each system can contain only deleted fi
-
OfficeJet 6500 E709n: for 6500 Device Manager
I just transferred an officejet 6500 portable Mac on my pc Windows XL. I noticed on the laptop, an HP device at the bottom of the screen area manager there, but there is not one on the pc or in the system tray or the HP folder. The installation not b