Moving Focus of DDDW in DataWindow Problem #2

I want to move focus in PB datawindow  with   not "TAB"  But "ENTER"


//datawindow::ue_enter
This.Postevent("ue_move")

//datawindow::ue_move
send(handle(this),259,9,long(0,0))

if I use above mentioned scrit, It work fine in normal control, 
but When I use some DataWindow Column which is implemented with
"drop down datawindow", it doesn't work as I expected.
In detail,  When I Press Enter Button .I expected the Cursor will move
to the next column. but, The Cursor moved to next column of next row
in DDDW column.


and With above mentioned scripts
When I use just DDDW (not dddw in datawindow), After choosing data,
and Hit Enter Button, sometimes It works fine, 
,sometime the data in DDDW is changed  into abnormal value without
moving any focus.


these are very serious problem to me.
It will be great helpful if you give some hints or something  for me.
thanks in advance.
0
elan
11/28/1998 1:18:01 AM
sybase.powerscript 7704 articles. 0 followers. Follow

0 Replies
575 Views

Similar Articles

[PageSpeed] 38
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

Moving Focus of DDDW in DataWindow Problem
I want to move focus in PB datawindow with not "TAB" But "ENTER" //datawindow::ue_enter This.Postevent("ue_move") //datawindow::ue_move send(handle(this),259,9,long(0,0)) if I use above mentioned scrit, It work fine in normal control, but When I use some DataWindow Column which is implemented with "drop down datawindow", it doesn't work as I expected. In detail, When I Press Enter Button .I expected the Cursor will move to the next column. but, The Cursor moved to next column of next row in DDDW column. and With above men...

Moving Focus of DDDW in DataWindow Problem
I want to move focus in PB datawindow with not "TAB" But "ENTER" //datawindow::ue_enter This.Postevent("ue_move") //datawindow::ue_move send(handle(this),259,9,long(0,0)) if I use above mentioned scrit, It work fine in normal control, but When I use some DataWindow Column which is implemented with "drop down datawindow", it doesn't work as I expected. In detail, When I Press Enter Button .I expected the Cursor will move to the next column. but, The Cursor moved to next column of next row in DDDW column. and With above men...

Moving Focus of DDDW in DataWindow Problem
I want to move focus in PB datawindow with not "TAB" But "ENTER" //datawindow::ue_enter This.Postevent("ue_move") //datawindow::ue_move send(handle(this),259,9,long(0,0)) if I use above mentioned scrit, It work fine in normal control, but When I use some DataWindow Column which is implemented with "drop down datawindow", it doesn't work as I expected. In detail, When I Press Enter Button .I expected the Cursor will move to the next column. but, The Cursor moved to next column of next row in DDDW column. and With above men...

problem setting focus to datawindow-column #2
I have a screen with several datawindows on it. When the values in these dw's are checked, a message will appear and the focus should be set back to the right dw and column in that dw, but I can't get this to happen correctly. I keep getting the focus back to the first column in the first dw on the screen! When the checks are performed, a few windowfunctions are triggered, as well as a few user events. I'm under the impression that the 'getfocus'-events of all the dw's are triggered first when the messagebox disappears and the focus is back on the screen. I kn...

PB 6.5.1 Problem With Setfullstate Moving Location of Datawindow and Not Populating DDDW
I just upgraded from PB 6.5 to 6.5.1 and now when I run the application the my datawindows on my client move up and to the left slightly when the setfullstate function is called. Also the DropDownDatawindows data is not being populated. I was wondering If I'm the only one that's seen this or before I dig to deep if this is a known issue. I'm able to run the debugger and watch the u_dw control shift when the SetFullstate function gets called. Thanks I advance for any help -- Chris Bohne cbohne@jps.net This is a know problem. SetFullstate shifts the datawindow in ...

Datawindow refresh problem in a nested datawindow #2
I have a nested report with 5 datawindows. There second and fourth datawindows are being set by RowsCopy function after retrieving the main datawindow. The others are retrieved. THe problem here is that when printing/displaying the datawindow there are lot of blank pages. Pl. advise THanks ramesh.subramanian@gs.com ---== Posted via the PFCGuide Web Newsreader ==--- http://www.pfcguide.com/_newsgroups/group_list.asp ...

Datawindow refresh problem in a nested datawindow #2
I have a nested report with 5 datawindows. There second and fourth datawindows are being set by RowsCopy function after retrieving the main datawindow. The others are retrieved. THe problem here is that when printing/displaying the datawindow there are lot of blank pages. Pl. advise THanks ramesh.subramanian@gs.com ---== Posted via the PFCGuide Web Newsreader ==--- http://www.pfcguide.com/_newsgroups/group_list.asp ...

Problem after host moved my site from ASP.NET 2.0 Beta 2 to an ASP.NET 2.0 server
Hi there,I wonder if you can help.My site has been moved today to a different server an ASP.NET 2.0 host, from one that was a ASP.NET 2.0 Beta 2 host.I can access some of the pages but I can't login. I get Application Error.Also get the same if I try to access the Events page.I'm using SQL Server 2000. I can still access the database through SQL Server 2000 Enterprise Manager.Also I can run the website perfectly when running it from Visual Studio 2005 Beta 2 locally, can see all the members again and Events section works fine.Anyone got any clues to help me to get my club site...

DNN 2.1.2: problem with moving module
HI, my DNN v 2 has problems in moving the modules with the options "Move UP" and "Move DOWN" because this 2 optins doesn' t work. After I choose the options the module is in the same position. Anybody has this problems ? Thanks. I have this problem on my site sometimes and I'm not sure why, but I just repeat the action a few times and it seems to help - or I move modules down. It's not all the time either. Nina MeiersNina Meiers...

superreview requested: [Bug 245931] Problems with accessibility API focus events : [Attachment 150306] 1) Make sure STATE_FOCUSED is set on objects focus event indicates are focused, 2) Don't fire ev
Aaron Leventhal <aaronleventhal@moonset.net> has asked Brian Ryner (IBM) <bryner@brianryner.com> for superreview: Bug 245931: Problems with accessibility API focus events http://bugzilla.mozilla.org/show_bug.cgi?id=245931 Attachment 150306: 1) Make sure STATE_FOCUSED is set on objects focus event indicates are focused, 2) Don't fire events using ExplicitOriginalTarget unless the current target has a binding parent http://bugzilla.mozilla.org/attachment.cgi?id=150306&action=edit ...

superreview cancelled: [Bug 245931] Problems with accessibility API focus events : [Attachment 150306] 1) Make sure STATE_FOCUSED is set on objects focus event indicates are focused, 2) Don't fire ev
Aaron Leventhal <aaronleventhal@moonset.net> has cancelled Aaron Leventhal <aaronleventhal@moonset.net>'s request for superreview: Bug 245931: Problems with accessibility API focus events http://bugzilla.mozilla.org/show_bug.cgi?id=245931 Attachment 150306: 1) Make sure STATE_FOCUSED is set on objects focus event indicates are focused, 2) Don't fire events using ExplicitOriginalTarget unless the current target has a binding parent http://bugzilla.mozilla.org/attachment.cgi?id=150306&action=edit ...

DDDW problem #2
Hi, I am trying to add dddws to an app and am having a problem. When retrieving the parent window of the dddws, if the table the dddw is looking is empty, a retrieval argument window is presented even though I retrieve the child correctly. If I add a single empty row to the table everything works OK. Any sufggestions? I am using PB70/C3 on Win 98. thanks dave dw_1.GetChild("dddwcol",dwc) dwc.SetTransObject(SQLCA) if dwc.Retrieve("args") = 0 then dwc.InsertRow(0) HTH Simon -- Simon Caldwell Get Real Systems Ltd Holtby Manor, Stamford B...

problem in moving focus ????
 Hi,   i have 4 TextBoxes for entering credit card number.  Now i want that the TextBox should move focus from one to another once the text length is 4. I have a function as     function autoTab(ctr,len)     {           if (ctr.value.length == len) { ctr.form[ctr.tabIndex].focus(); }     }   then registering it from server side code as      txtCC1.Attributes.Add("onkeypress","return autoTab(this, 4);");    Now th...

Focus problem #2
I have an MDI window with a DW. When the user doubleclick on a row in the DW (all columns can be edit), the doubleclick event open a response window. When the response window is closed, the user can't close the MDI window with the 'X' until he click anywhere in the window. I think that the problem is the action of doubleclicking: when you doubleclick in a edit column of a DW, all the text in that column is selected. When I set all the columns to display only, I don't have the problem. any idea ?? thanks. First of all, do a full rebuild. It solves 99% o...

datawindow Focus problem!
Hi, I am using PB9 datawindow + 4GL JSP Pages + Jaguar whenever itemError event accurs following message box comes many times "Focus problem! Control losing focus is not current control!" how do i disable this message??? Regards Nas It happens in rare circumstances, usually when you have code or settings that cause the current control to change while the PB lose focus functionality is occurring. The best thing to do is figure out why that particular element is having the problem. Try using the Microsoft script debugger to walk through the javascript and see w...

problem with dddw #2
I have a drop down datawindow. I want to select from the list and then populate a static text box with a field from that row. My problem is that whenever I click on the row the row # is always 1. If I tab it scrolls through 1 row at a time and populates the static text correctly. When I click the row does not change. It has been a while since I have done this am I forgettitng something? I have tried accepttext but it does not seem to help. You are probably getting the row for the datawindow that holds the dropdown. Let's make the following assumptions; You have a datawind...

problem with datawindow #2
i am trying to prevent the datawindow from skipping to the next/previous row when you press tab on the last column or shift-tab on the first column. is there a simple procedure on how i should handle this? Solution: For this you have to play with Tab Orders property of datawindow. Use method SetTabOrder. Check If cursor is at the last column and user has press the Tab key then set the Tab orders of all columns except last one to 0. and when the focus loses from last column then reset Tab Orders that was before. Same logic can be implement for first column. > i am trying to pre...

focuse problem #2
hi using visual studio 2003 ( C# ) how can i get focuse to button dynamicly when clicked hi, sorry for not understanding your question completely. If you want to set focus to a button, just use Button1.Focus();   hii Iam using visual studio 2003 there is no method such that in 2005 button.focuse()  hi, am not using vs2003, I have found something useful for you, hope it helps http://dotnetjunkies.com/Forums/ShowPost.aspx?PostID=694 good luck hi plz if you know other link that use c# send it to me hi, this is using c# code behind setFocus using javascript in the...

DataWindow Problem #2
I am asking for help about a problem i faced using a datawindow. The problem was that when a window becomes in front of the datawindow all the data are lost after this event. The same thing applies when the datawindow is minimized. I have tried to insert the SetRedraw method to false but it didn't work. Another way of solving the problem was to use a datastore as an instance variable, make all the data retrieval using this datastore and "assign" its values to the datawindow. Again nothing happened. The same thing applied to Powerbuilder version 5.03 and Powerbuilder versi...

dddw problem #2
hi all we are using powerbuilder5.0 Our product master's primary key consist of three column product_code,deviant_code and versionno. I have made a drop down for selection the product and included the above three columns apart from product description. In transctions, Wherever we attach this drop down with product_code column ( wherever the help is required to list the product) and user select the a product whose product_code is same but deviant_code or verionno is different, itemchanged event of datawindow does not fire. How can I get the values of all three columns (product_code...

Datawindow problem #2
We have a datawindow which contains several nested reports. When we print the datawindow; all the nested reports are visible unlike when we view the datawindow in preview mode. We've tried redrawing it : SetRedraw (False/True) We've tried setting the individual Visible properties to True All this doesn't work. Does anyone have suggestions ????? Any help will be greatly appreciated, If I understand the question correctly, you need to set the Print.Preview property to true to view the reprot correctly. For example: dw_1.object.datawindow.print.preview = true HTH ...

Focus Problem #2
Our ASP.Net 2.0 FormView has an EditItemTemplate, an InsertItemTemplate. When the page first loads, user fills in the text box and presses the InsertItemTemplate submit button. After submit, it loads the EditItemTemplate, he fills in the data and presses the update button(focused nicely, an enter key does it).. after validation it says data is incorrect(intentionally done). Now the problem kicks in, much to our amusement the focus which was there on update shifts to a Cancel button.. Any help on how it can be fixed will be really appreciated. Below is basic structure of page ...

DataWindow problems #2
We have the following combination: PB8 with real PB5 PFCs that have been converted with each new version, and a CornerStone layer on the top, that was also converted after each PFC version. Back end is Sybase ASA-7, with the goal to upgrade it to ASA-8. After downloading of all ASA-8 files we started experiencing a problem with almost all DataWindows which had a Stored Procedures as source: it became necessary to specify a result set in the stored procedure. If we tried to create a new DW from the SP without the result set hardcoded in the SP, we got error messages; as soon as ...

Web resources about - Moving Focus of DDDW in DataWindow Problem #2 - sybase.powerscript

PowerBuilder - Wikipedia, the free encyclopedia
PowerBuilder is an integrated development environment owned by Sybase , a division of SAP . It has been in use since 1991, peaking around 1998 ...

Intelligent Versus Surrogate Keys
Should I use business columns as primary key fields for tables in thedatabase, or generate artificial primary key values? When business-related ...

chevy volt
ProEXR File Description =Attributes= channels (chlist) compression (compression): Zip dataWindow (box2i): [0, 0, 5119, 2475] displayWindow (box2i): ...

Enable - A comprehensive solution for the localization of PowerBuilder applications Untitled Document ...
Enable is localization/ translation tool used by PowerBuilder developers to make their applications multilingual.Enable is a powerful tool that ...

comp.lang.clipper.visual-objects - Google Groups
comp.lang.clipper.visual-objects 1-20 von 33006 Themen werden angezeigt Integrity of a file marcosm...@gmail.com 09:35 Combobox value Lu 08:12 ...

Sybase PowerBuilder tool readied for Microsoft's .Net
Developers can choose Win32 or newer style .Net development

PowerToTheBuilder - PowerBuilder UI Controls
HOME - COMPONENTS - PB UI DESIGNER - DOWNLOAD\PURCHASE - SUPPORT - FAQ - ABOUT Take Control of your UI with PB Ultimate Suite PowerToTheBuilder.com ...

Beautiful iPad Mini 3 Concept Reimagines Appleā€™s Tablet With iPhone 6 Design, Gold Color [Images]
The iPhone 6 may be grabbing all of the recent headlines due to its impending announcement, but spare a thought for those who prefer to stay ...

Java Networking - Real's HowTo
Real's HowTo Custom Search Java Language String and Number Applet AWT Swing Environment IO Javascript interaction JDBC Thread Networking JSP ...

Business Intelligence Products - Database Management, Data Warehousing & Mobility Software - Sybase Inc ...
Sybase offers a variety of Business Intelligence (BI) software like products for database management, data warehousing and mining, data integration ...

Resources last updated: 2/22/2016 4:20:21 AM