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 know that I should put some
'dw_x.setcolumn(column)'-code when I want to set the focus, but I just don't
know when!

Who can help me?

please send replies to this NG as well as rjm_van_raaij@hotmail.com.


0
fam
6/7/2000 10:15:14 AM
sybase.powerbuilder.general 62418 articles. 19 followers. Follow

0 Replies
662 Views

Similar Articles

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

Reply:

Similar Artilces:

problem setting focus to datawindow-column
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...

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 ...

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 ...

Set Focus on Column in external datawindow
How do I set the focus to a column in an external datawindow ? Specifically: I have an external dw with an editable column. After the user edits the column, a remote object validates the entry. If validation fails, I want the focus to go back to the column, with the text selected. I tried to use the itemchanged event (returning 1) but that seems to trigger the datawindow validation message, and I need to display different messages depending on what the user typed. SetColumn doesn't work either, the cursor always goes to the next column in the tab order. I guess the fact that I...

setting the focus to a row/column of a web datawindow
Hi all, I'd like to set the input focus for a html page containing a web datawindow to a certain row and column (first row, column "username"). of the datawindow. For the time being I've succes using document.dwClient_dataForm.username_0.focus(); in a function called in the onLoad() event of the page. Just to be sure, is that the correct method to achieve what I want? I thought it should be something like dwClient.SetRow(1); dwClient.SetColumn("username"); dwClient.SetFocus(); but this fails claiming that dwClient has no properties. ...

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 men...

DataWindow EditMask Numeric Column Problem #2
I have an Editmask of ###,###,###,###,###.00 in my datawindow. When I installed PB V7.03, my edit mask started causing problems. My data type is numeric. Value is 1000000. If I highlight the digit "1" and try to replace it on any other digit(for example on 2) my new value is not 2000000. It is zero! This code has worked since PB V5.0.x. Is this a bug in the edit mask? Thanks! ...

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 men...

set focus to first column on web datawindow
How do I have the focus set to the first column on my web datawindow when the page is loaded? Jon Groves This is not the right group for questions about HTMLDW. The right group is: sybase.public.easerver.htmldw Did you try SetColumn("columnname")? -- Rahul Jain On Tue, 25 Mar 2003 09:47:28 -0500, Jonathan Groves wrote: > How do I have the focus set to the first column on my web datawindow when > the page is loaded? > > Jon Groves thank you "Rahul Jain" <rahul.jain@mail.com> wrote in message news:4aocjhjv8l5u.q3uh6378neyt.dlg...

DataWindowObject-column initial value-set focus-Reg #2
Hi All, In a DataWindowControl of Grid Type...... A "compute column" initially shows a value say "12345". Now if the first two characters are deleted and we move on to another row.....in the item changed event I'm trying to capture the original value in the field ie "12345" by using the function getitemstring() but it returns the modified value ie., "345". Please suggest how to capture the initial value and also how to set focus on that ( initial ) column and row ( where an attempt is made to modify information ). Thanks a lot, Sa...

IF you set column to width 0 in a datawindow grid, the column appear as a with column at the end of the grid
Can you remove the white space at the end of a grid, it seems to appear when we set columnwidths to '0'.. ICE I've not seen that. What version of PB are you using? What platform? On Tue, 27 Aug 2002 11:42:02 +0200, in powersoft.public.powerbuilder.datawindow ICE <ICE@nospam.com> wrote: >Can you remove the white space at the end of a grid, it seems to appear when >we set columnwidths to '0'.. > > >ICE > > Bruce Armstrong [TeamSybase] http://www.teamsybase.com Not 1 - but 2 new books on developing with PowerBuilder...

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 ...

How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow! #2
This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C308EA.0E4861E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi friends, I created a composite datawindow includes three datawindow. How can I count the number of rows in each datawindow? (Rowcount() function can = not works). Also, I need access in each row then reset the value that I want = in each row in each datawindow. I use the property to access to get data in each row in each datawindow, but the right value only happens in the = fi...

Web resources about - problem setting focus to datawindow-column #2 - sybase.powerbuilder.general

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

Resources last updated: 1/3/2016 8:51:04 AM