Shifting of GUI Co-ordinate system when Mouse clicked
In my JDK 1.2.2 / Swing based application I have this problem of change in coordinate values (x,y) when a mouse click is used. This problem occurs sometimes and reason cannot be traced.
For e.g. If a user clicks "on" a Button the button is not affected , but the Button is pressed when the user clicks just "above" the button. When this problem arises it happens for all GUI components in the screen like textfield , combobox , table rows etc.
I hope the forum has answer / hint for this untraceable & intermittent problem.
Thanks in advance
1) What OS are you using?
2) Did you try the app on a different machine?
- If yes, and it worked OK, make sure you have the newest video drivers installed on your system.
- If no, then beg/steal/borrow another machine to try it on, or:
3) (better still) post your entire code if it's not too big, or failing that, post a compilable/runnable subset of your code which shows the same behavior, so we can try it out.
Similar Messages
-
:system.cursor_block value does not change when mouse click
Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.
:System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item. -
Open Form not working when called from When-Mouse-Click
In our application to navigate to other forms we have created a feature where user selects the Forms from a LOV, the form id is returned to the text item and user needs to click the text item.....In the text item the Open form command is given
This is not working
The form builder throws an error
Frm 92100 Connection interupted
what could be the reasonCode written in When-Mouse-click
for item :boo_toolblk.nbt_nxtscr which contains the form id
DECLARE
p_name_id PARAMLIST;
lv_param_name VARCHAR2(8):= :boo_toolblk.nbt_nxtscr;
lf_next_form_id FORMMODULE;
BEGIN
Clear_Item;
/*Create a parameter list named 'TEMPLT_PARAM'. First
** make sure the list does not already exist, then
** attempt to create a new list*/
IF not Id_Null(Get_Parameter_List('TEMPLT_PARAM'))/*Returns a BOOLEAN value if the object ID is available*/
THEN Destroy_Parameter_List('TEMPLT_PARAM');
END IF;
p_name_id:= Create_Parameter_List('TEMPLT_PARAM');
/*Add a value parameter to an existing Parameter
** List */
Add_Parameter(p_name_id,'templt_nxtscr',TEXT_PARAMETER,lv_param_name);
Go_Block(Get_Form_Property(:system.current_form,FIRST_NAVIGATION_BLOCK));
lf_next_form_id := FIND_FORM(lv_param_name);
:PARAMETER.next_form := lv_param_name;
IF lf_next_form_id.id is not null
THEN
Close_form(lf_next_form_id);
END IF;
Add_parameter(p_name_id,'previous_form',TEXT_PARAMETER,:SYSTEM.CURRENT_FORM);
/* opens another form*/
Open_Form(lv_param_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA,p_name_id);
EXCEPTION
WHEN FORM_TRIGGER_FAILURE
THEN RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS
THEN RAISE FORM_TRIGGER_FAILURE;
END;
Error :-
Frm-92100 : Your Connection to the Server was Interrupted
This may be the result of a networn error or a failure on the server.
You will need to re-establish -
COMMIT_FOARM IS NOT WORKING INSIDE THE WHEN-MOUSE-CLICK
Dear friends
I have following script in when-mouse-click trigger
BEGIN
IF NOT Form_Success THEN
Bell;
RAISE Form_Trigger_Failure;
END IF;
IF :System.Form_Status = 'CHANGED' THEN
IF :LOCK_FLAG = 1 THEN
UPDATE PROJ.IM_REQUEST_HEADER
SET LOCK_FLAG = 1
WHERE DOC_CODE = :DOC_CODE ;
SHOW_MESSAGE('DOCUMENT CODE -1'|| ' '||:DOC_CODE);
SHOW_MESSAGE('LOCK FLAG -1'|| ' '||:LOCK_FLAG);
Commit_Form;
MESSAGE('The Record have been changed -1 ');
ELSE
UPDATE PROJ.IM_REQUEST_HEADER
SET LOCK_FLAG = 0
WHERE DOC_CODE = :DOC_CODE ;
Commit_Form;
MESSAGE('The Record have been changed - 2');
END IF;
ELSIF :System.Form_Status <> 'QUERY' THEN
Message('An error prevented your changes from being
committed.');
Bell;
RAISE Form_Trigger_Failure;
END IF;
END;
Note :
The above trigger is attached to this field LOCK_FLAG and the item type of LOCK_FLAG is check box in the form and the property of the LOCK_FLAG
is site as the following :
database item = NO , and the property of the blcok IM_REQUEST_HEADER is site as the following :
database data block = NO
and my problem is when i change the value of LOCK_FLAG is not executting the update statement .
waiting for your valuable answer in details thank in advance for your cooperation.
best regards
jamil alshaibaniDear Wilfred
Thank you very much for your cooperation, yes when I change the “Database data block “ property to no, it works, as I wanted to be.
Notes about my application:
In my program I provide the store keeper query screen, he can check the orders and lock the specific order by clicking on the LOCK_FLAG field, so after he locked the field the requester user can not change his order content if it is locked by the store keeper
And the way I was trying to do it ,by query the data from IM_REQUEST_HEADER Table which is the Order table which is the header table ,the form is displaying doc_code ,doc_date ,lock_flag,and the order store name ,and I provide him a report on the same form that he can see the details of the order items ,and all the field properties set to no, that is update allowed to no ,insert allowed set to no, but the field lock_flag property set as update allowed to yes and insert allowed set to yes
and I would like to now how it was displaying this message
ORA-01400 cannot insert NULL INTO “PROJ”.IM_REQUEST_HEADER”.DOC_CODE
And I was not inserting, I was just updating the lock_flag by the above update statement.
Best regards
Jamil Alshaibani -
When-mouse-click trigger is not working
Hi,
My forms version is 10g.
I've a black level and item level when-mouse-click trigger.
There is some code inside that which is not being executed.
To test, i simply printed a hello message inside the trigger's code.
Even hello is not being displayed.
Can anyone please help me in why this trigger is not working.
NavnitYou have some other issues going on if you don't see anything from a when-mouse-click trigger.
First of all, are you spelling the trigger using a dash or underscore? WHEN-MOUSE-CLICK will run, but WHEN_MOUSE_CLICK will not.
Have you set :SYSTEM.Message_Level to some value above zero in the form? If so, set it back to zero.
On what object are you trying to click? Is this causing navigation? Navigation may cause validation to run, which may fail, which may prevent the navigation, which may prevent your when-mouse-click from running.
And last, are you sure you are running the currently compiled fmx version of your form?
When nothing works, you need to back up and start finding out what DOES work first. -
Passing parameter through when mouse click trigger
I have a detail block.This block fetching multiple records.My query is how can i pass parameter though WMC trigger.
My details block displaying data from 4 tables.
When i click on any field all the data on that row must be my parameters.In first form in when mouse click trigger:
SELECT xyz
INTO :GLOBAL.xyz,
FROM abc
WHERE v.po_no = :SYSTEM.MOUSE_ITEM
AND IMT21_SIT.C_SIT_NO = IMT22_RECT_HD.C_SIT_NO;
EXCEPTION WHEN NO_DATA_FOUND THEN
MESSAGE('PLEASE CLICK ON PO NO');
logout;
logon('abc','[email protected]');
open_form ('C:\CUSTOMER_SERVICES\SUPL_FAS');
in second form in when new form instance trigger:
block_name.field_name := :GLOBAL.xyz;
it show error.......... -
Exec utl_mail.send when mouse click
Hi,
I have a question,
I want to exceute the exec utl_mail.send inside when mouse click i a form. how can i do that?
Thanks and regardsThe ULT_MAIL, package is a utility for managing email which includes commonly used email features, such as CC, BCC etc.
To install UTL_MAIL
Method 1:
sqlplus sys/<pwd>@db_sid
SQL> @ORACLE_HOME/rdbms/admin/utlmail.sql
SQL> @ORACLE_HOME/rdbms/admin/prvtmail.plb
you define SMTP_OUT_SERVER parameter in the init.ora rdbms initialization file. However , if SMTP_OUT_SERVER is not define, this invoke a default of DB_DOMAIN which is guaranteed to be defined to perform appropriately.
Method 2:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
Connected as SYS
SQL> grant execute on utl_mail to public;
Grant succeeded
SQL> create or replace public synonym utl_mail for sys.utl_mail;
Synonym created
SQL> CREATE OR REPLACE FUNCTION SEND_MAIL
(pIssuer IN VARCHAR2,
pReceiver IN VARCHAR2,
pSender IN VARCHAR2,
pSubject IN VARCHAR2,
pMessage IN VARCHAR2) RETURN VARCHAR2 IS
c utl_smtp.connection;
respuesta utl_smtp.reply;
pServer VARCHAR2(50) := 'SERVER';
BEGIN
-- Open the connection to the Server-mail
c: = utl_smtp.open_connection (pserver);
answer: = utl_smtp.helo (c, pServer);
- Starts the Issuer mail.
answer: = utl_smtp.mail (c, pSender);
- Start the receiver
answer: = utl_smtp.rcpt (c, pReceiver);
answer: = utl_smtp.open_data (c);
- Write the header of the e-mail
utl_smtp.write_data (c, 'From:' | | pIssuer | | utl_tcp.CRLF);
utl_smtp.write_data (c, 'To:' | | pReceiver | | utl_tcp.CRLF);
- Write the Subject
utl_smtp.write_data (c, 'Subject:' | | pSubject | | utl_tcp.CRLF);
- Write the text of the Message.
utl_smtp.write_data (c, utl_tcp.CRLF | | pMessage);
utl_smtp.write_data (c, utl_tcp.CRLF | |'.');
answer: = utl_smtp.close_data (c);
- Close connection
answer: = utl_smtp.quit (c);
RETURN '0 ';
EXCEPTION
Utl_smtp.permanent_error THEN WHEN OR utl_smtp.transient_error
utl_smtp.quit (c);
RETURN SQLERRM;
- raise_application_error (-20000,
- 'Sending email failed, returning the following error:' | | SQLERRM);
WHEN OTHERS THEN
RETURN SQLERRM;
END; -
When-Mouse-Click does not fire if When-new-item-instance exists
We are using Forms 6i Patch 12.
The When-Mouse-Click trigger (at block level) is not getting fired when a When-new-item-instance trigger exists on a given item on which mouse is clicked.
We need to synchronize keyboard and mouse events such that if the validation on certain key items fails, the cursor should go to one of the specified items as per the validation rules.
The validation rules are different on leaving from different items. Complex validation rules require cursor to go to a different item than the current item on which the validation fires.
Since go_item cannot be used in when-validate-item, we are using a combination of key-next-item and when-mouse-click.
But, this strategy seems to fail if mouse is clicked over an item having a when-new-item-instance trigger.
Also, we need the When-mouse-click trigger to fire before When-new-item-instance.
Any pointers to solving the firing of trigger or strategy will be appreciated!
Regards,
SanjivThis solution we have tried and it works also.
However, we end up in another problem in the form. For overall picture, please see my latest post for "Forms Valid status" at Forms Valid status
Regards,
Sanjiv -
WHEN-MOUSE-CLICK for a display item does not fire on the web
Resending as there were no responses............
Regards,Bala.
Bala (guest) wrote:
: Hi guys,: 1. Does WHEN-MOUSE-CLICK fire on Display Item or on
a Button in
: Web Forms (not in a client/Server environment) ? We had it
: working in Forms 5.0, but right now in 6.0 it doesnt ? In 6.0,
: it works fine in Client/Server environment, but definitely not
: in Web environment.
: 2. Again, in our app. we have set no bevel for the display
: items, but when we run it on the web, it comes with a bevel
: (this does not happen in Client/Server). Is this common or is
it
: a known bug in 6.0 ?
: 3. How to change Fonts for Web Deployment. Currently I guess
it
: takes Dialog as the default with the point size of 900 (in
Java
: terms). I tried modifying the registry.dat to the following:
: default.fontMap.defaultFontname=SansSerif:
default.fontMap.defaultSize=900: OR
: default.fontMap.defaultFontname=Ms Sans Serif:
default.fontMap.defaultSize=900
: and found no changes at runtime on the Web.
: Any help on these issues, will really be appreciated.
: Thanks,
: Bala
nullDear friend
i have the same problem when ever u can solve this probelm pls
inform me as well mean while i am trying to reslove it as well if
there is any sucess i ll inform u.
mobeen
Bala (guest) wrote:
: Resending as there were no responses............
: Regards,Bala.
: Bala (guest) wrote:
: : Hi guys,: 1. Does WHEN-MOUSE-CLICK fire on Display Item or on
: a Button in
: : Web Forms (not in a client/Server environment) ? We had it
: : working in Forms 5.0, but right now in 6.0 it doesnt ? In
6.0,
: : it works fine in Client/Server environment, but definitely
not
: : in Web environment.
: : 2. Again, in our app. we have set no bevel for the display
: : items, but when we run it on the web, it comes with a bevel
: : (this does not happen in Client/Server). Is this common or is
: it
: : a known bug in 6.0 ?
: : 3. How to change Fonts for Web Deployment. Currently I guess
: it
: : takes Dialog as the default with the point size of 900 (in
: Java
: : terms). I tried modifying the registry.dat to the following:
: : default.fontMap.defaultFontname=SansSerif:
: default.fontMap.defaultSize=900: OR
: : default.fontMap.defaultFontname=Ms Sans Serif:
: default.fontMap.defaultSize=900
: : and found no changes at runtime on the Web.
: : Any help on these issues, will really be appreciated.
: : Thanks,
: : Bala
null -
hello every one
i put list item on tabular text item when i use when-mouse-click trigger on list item it dosen't fire
can any one help me.this is my trigger
for i in 1..Get_list_element_count('l1') loop
if :l1=get_list_element_value('l1',i) then
:lname:=GET_LIST_ELEMENT_LABEL('l1',i);
end if;
end loop;
if :report_name in('C','B','A') then
:branch_code:=substr(:l1,1,3);
:code:=substr(:l1,4);
go_item('code');
else
:client_branch_code:=substr(:l1,1,3);
:client_code:=substr(:l1,4);
go_item('client_code');
end if; -
CIT200 message, 'Please upgrade operating system' when I click on Linksys
I have removed and re-installed Linksys CIT200 over and over again, but still have the same problem. Whenever my pc XP start up or when I click on Linksys, it wont let me view Linksys and a message pops up. Message reads, 'CIT200 Please upgrade operating system'. I do not know what Im supposed to do. I also had the EAccess Violation message, but managed to remove it with the help of this forum. I cannot use my SKYPE phone at all and I have plenty of credit that I might loose. It says Unavailable.
Please help!!!!!!! I've tried eveything that I (and a local pc repair man) could think ofHi Gollum
Thanks for replying so quickly. If drivers are the same as software, then yes. I uninstalled my software (disc I got with the phone). I then reinstalled it and went to the Linksys website, found my phone ad downloaded the drivers.
If this was wrong, could you give me step by step on where to find the latest software? I couldn't find any mention of software downloads on the website though - only drivers. Are they the same?
As I mentioned, even with the driver download, I have had no joy -
GUI components only appear when mouse passes over them???
I have a frame that contains componentes but they only appear when my mouse passes over them or clicks on them. can any one help with this. i do only set vibible after i have added them but the problem seems the same as if i haddent.
Sorry i couldn't make a SSCCE because it doesnt happen with small programs. my code is pretty long but here it is if any one can help.
import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import jmfdemo.*;
import java.util.*;
public class LaserControll extends Frame implements ActionListener
//Setings
int vk[]=new int[9];
int samplePlus=100;
boolean vis=true;
int rePaint=1000;
int time=250;
int numP=5;
//End of Settings
private BufferedImage image1;
private FrameGrabber vision1;
private int threshold = 200;
private Color on = Color.white;
private Color off = Color.black;
int x,y;
Rectangle r1,r2,r3,r4,r5,r6,r7,r8,r9;
boolean found=false;
public void paint(Graphics g) {
if (image1 != null)
g.drawImage(image1, 10, 30, this);
public void load()
try{
File f=new File("Data");
Scanner sk=new Scanner(f);
for (int y=0;y<9;y++)
{sk.nextInt();
sk.nextInt();
sk.nextInt();
sk.nextInt();
vk[y]=sk.nextInt();
vis=sk.nextBoolean();
samplePlus=sk.nextInt();
rePaint=sk.nextInt();
time=sk.nextInt();
numP=sk.nextInt();}
catch(Exception q)
{System.out.println(q+"");
JOptionPane.showMessageDialog(null,"Error: Data File Cannot be Found","Error",JOptionPane.ERROR_MESSAGE);
System.exit(0);
public void update(Graphics g) {
paint(g);
public void getRects()throws IOException
{File f=new File("Data");
Scanner sc=new Scanner(f);
int x,y,w,h;
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r1=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r2=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r3=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r4=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r5=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r6=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r7=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r8=new Rectangle(x,y,w,h);
x=sc.nextInt();
y=sc.nextInt();
w=sc.nextInt();
h=sc.nextInt();
sc.nextInt();
r9=new Rectangle(x,y,w,h);
public int sample()
{int sample=image1.getRGB(x/2,y/2);
int sr,sg,sb;
Color sc=new Color(sample);
sr=sc.getRed();
sb=sc.getBlue();
sg=sc.getGreen();
sample=((299 * sr + 587 * sg + 114 * sb) / 1000);
return sample;
class WindowListener extends WindowAdapter {
public void windowClosing(WindowEvent e) {
System.exit(0);
public LaserControll()throws Exception {
Robot r =new Robot();
load();
addWindowListener(new WindowListener());
setTitle("Laser Control");
try {
vision1 = new FrameGrabber();
vision1.start();
catch(FrameGrabberException fge) {
System.out.println(fge.getMessage());
image1 = vision1.getBufferedImage();
setResizable(false);
Color col = new Color(229,229,229);
setBackground(col);
x=image1.getWidth()-1;
y=image1.getHeight()-1;
for (int i=0;i<5000;i++)
image1 = vision1.getBufferedImage();
repaint();
int sample=sample();
try{
getRects();}
catch(Exception z)
JButton hide=new JButton("Hide");
hide.setBounds(35,183,100,20);
hide.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent e)
setAlwaysOnTop(true);
JButton rc=new JButton("Recalibrate");
rc.setBounds(35,160,100,20);
rc.addActionListener(
new ActionListener() {
public void actionPerformed(ActionEvent e)
{int sam=sample();
JOptionPane.showMessageDialog(null,"New Threshold set to: "+sam+samplePlus,"Recalibrated",JOptionPane.INFORMATION_MESSAGE);
JTextField status= new JTextField("");
status.setBounds(146,184,20,19);
status.setEditable(false);
setLayout(null);
add(status);
add(hide);
add(rc);
setSize(image1.getWidth(this) + 20, image1.getHeight(this) + 95);
setVisible(vis);
repaint();
while(true) {
image1 = vision1.getBufferedImage();
repaint();
try {
Thread.sleep(1);
catch(Exception e) {
System.out.println("Error");
for (int i=0;i<x;i=i+numP)
for (int j=0;j<y;j=j+numP)
int v=image1.getRGB(i,j);
Color c =new Color(v);
int red=c.getRed();
int green=c.getGreen();
int blue=c.getBlue();
int b=(299 * red + 587 * green + 114 * blue) / 1000;
if (b>sample+samplePlus)
if (r1.contains(i,j))
r.keyPress(vk[0]);
r.keyRelease(vk[0]);
status.setText("1");
found=true;}
if (r2.contains(i,j))
r.keyPress(vk[1]);
r.keyRelease(vk[1]);
status.setText("2");
found=true;}
if (r3.contains(i,j))
{ r.keyPress(vk[2]);
r.keyRelease(vk[2]);
status.setText("3");
found=true;}
if (r4.contains(i,j))
{ r.keyPress(vk[3]);
r.keyRelease(vk[3]);
status.setText("4");
found=true;}
if (r5.contains(i,j))
{ r.keyPress(vk[4]);
r.keyRelease(vk[4]);
status.setText("5");
found=true;}
if (r6.contains(i,j))
{ r.keyPress(vk[5]);
r.keyRelease(vk[5]);
status.setText("6");
found=true;}
if (r7.contains(i,j))
{ r.keyPress(vk[6]);
r.keyRelease(vk[6]);
status.setText("7");
found=true;}
if (r8.contains(i,j))
{ r.keyPress(vk[7]);
r.keyRelease(vk[7]);
status.setText("8");
found=true;}
if (r9.contains(i,j))
{ r.keyPress(vk[8]);
r.keyRelease(vk[8]);
status.setText("9");
found=true;}
if (found==true)
try
Thread.sleep(time);
catch(Exception e)
System.out.println("Error!");
sample=sample();
for (int z=0;z<rePaint;z++)
image1 = vision1.getBufferedImage();
repaint();
found=false;
setVisible(vis);
public void actionPerformed (ActionEvent e)
public static void main(String[] args)throws Exception {
LaserControll a=new LaserControll();
} -
Slow basic GUI operations in After Effects, mouse clicks 'sticky'
Hi guys,
I've been experiencing very lacklustre performance from the After Effects interface, in any project larger than a few title cards.
By that I mean just dragging keyframes, reordering layers, selecting options from context menus, etc.
Sometimes, the clicks become very delayed and sticky, to the point when layers get moved by accident, dragged items get dropped and nested, all sorts of mess.
I never use raytraced 3d, and generally work quite tidy - eg not enabling motion blur till last, working at low preview res. "Hardware Accellerate windows" enabled. Not using mercury transmit. No multiprocessing. Not much else running on the system apart from some basic stuff like AV, google drive, Bit Torrent sync etc.
Drivers always at latest.
I'd consider my machine to be more than up to the task, so wondered if anyone has any pointers in general, where to start investigating.
Specs
Dell Precision based system:
2x 6-core Xeon 2.6 (12 physical, 24 logical cores)
24 gb ram
GTX 670 driving 30" hp at 2650x1600
128gb Samsung 850 pro SSD exclusively for ae cache.
3x 15k RPM sas drives in R0 as system drive.
Windows 8.1
Wacom tabletHi Mylenium,
It's 13.1.1.3, and settings are all below: -
How to stop new record creation when mouse click
Hi,
I am working with Oracle Forms 6i.
I have a multi record block. I have provided a 'New' button that the user should click when a new record creation is required. This is because there is some other function that needs to be performed when the new record is created. Specifically, on clicking the new button, the program populates the field with values read from another table. This works fine.
However, I realized, that if the user clicks on the mutli-record block just below the last record, a new record gets created. This action does not cause the logic behind the 'New' button to execute and the record is created in a manner that is not acceptable.
First question is why does the new record get created only by clicking with the mouse with the pointer below the last record? Is there a way to stop this from happening?
Thanks in advance for your help.
ShaileshHi Andreas,
Probably I was not able to explaing my problem.
I have a button that creates a new record when clicked. The button's trigger has the CREATE_RECORD statement.
When a new record is created, I need to copy values from the record above it. I have therefore used DUPLICATE_RECORD in my block's WHEN-NEW-RECORD-INSTANCE trigger.
I cannot use DUPLICATE-RECORD in WHEN-CREATE-RECORD trigger.
So, I am not clear about what you are suggesting.
My problem is that a new record gets created when click with my mouse pointer below the last record in the multi-record block. Why does that happen and how to prevent it?
Thanks
Shailesh -
Adjust Image Problem - Image Changes when Mouse Click is Released.
I love the fact that images can be adjusted after insertion into a page (Things like brightness, contrast etc). The problem I have which is very frustrating is that while any control on the Adjust Image panel is selected and being edited (click and hold mouse button to move a slider), the images' contrast and brightness change (perhaps as if to indicate selection?). This is inherently a problem since it's these very characteristics you're trying to edit. So you adjust the image to your liking but when you release the mouse button, then image then suddenly changes and is no longer the way you want it. Anyone else seen this problem and have any helpful suggestions?
I have been trying to replicate your issue using different format images..but I did not succeed.
If its not images and types that cause the problem, then the inference is that it the application.
The usual advice... unless you want to contact tech support and present your problem to them - is to uninstall iBA with Appdelete or similar rather than dragged to the trash, and then do a reinstall.
This presupposes you saved everything/copies etc,.
BTW, I seldom use the various sliders, with practice using the LEVELS can be more effective, have you tried this option?
Maybe you are looking for
-
Why my Ipod Touch 4g doesn't show all my iTunes Match library?
I'm connecting my iPod Touch 4g to iTunes Match (using WiFi) but it isn't showing all my files. If I choose the option "Music" I can see all of them, but if I select "Artists" or "Albuns" I can't see them anyway. Even when using the "Search" tool, so
-
IOS 7.0.4 update issues.
Hi, After i updated my IPHONE 5 to IOS 7.0.4 i notice that i cant open my photos icon, it opens but then it close out right away, the only way around is i have to open up the camara than view my photos from there. I also notices that some games wont
-
Fits attribute on user id during user creation (Cont)
Hi Experts, A little time ago , we posted some doubt regarding of how can we fits the attribute userID during user creation on User Interface. The previous discussion was posted here: "Fits attribute on user id during user creation" Link abou our iss
-
Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys
Hi, I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems. 1.Whether this function module can sent the IDOC to Non SAP System?. 2.How to make sure, that the function module can sent IDOC to Non SAP System?. Please advise.Thanks. Regar
-
Cannot make a readable .pdf Separation (Screen Printing) Please Help
I am unable to save .pdf versions of color separations. I followed the tutorials (changed all colors to cmyk or spot colors, selected the printer adobe post script, changed the output to Separations (host-based), desected the colors I didn't want on