setting focus on a datawindow

i am trying to set focus on a datawindow. based on suggestions i have
tried:
    HWND dwHandle;
    dwHandle=(HWND)dw_1->GetDataWindowHandle();

as well, i have removed comments from the pre-compiled header (as per
help instructions). when i try to run i get the following error:
Char near __debuginfo is an undefined reference

what else should i be doing??
thanks
peter
0
Peter
3/31/1998 8:19:39 AM
sybase.power++.database 932 articles. 0 followers. Follow

3 Replies
606 Views

Similar Articles

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

Sorry!!! the error was related to something else in the project (just
manifested itself when i changed the pre-compiled header).

the problem with focus is that the dw is READONLY (ie. all columns have
a tabstop of 0). the dw is to present a list from which the user will
select an entry (they can sort or search as well). i want the user to be
able to tab into the list then scroll with the arrow keys. since no
column has a tabstop set, it appears i need to click on the dw before
the arrow keys work.
any suggestions??

peter
0
Peter
3/31/1998 9:42:33 AM
Create a dummy column or a dummy computed column.  Set the height of the
column to 1 or give it a color that makes it blend in with the background. 
Give it a tabstop and you'll be able to tab into the row.
-- 
Jim Egan [TeamPS]
Dealer Solutions, LLC
Houston, TX
0
Jim
4/1/1998 1:17:23 AM
thanks, that does what i was after. i tried putting a tab stop on one of
my columns but then the user could type over the values - not what i
wanted (even though the changes are not saved). i didn't think of
resizing the column!
just one minor complication - by using the default 'sort' dialog 
    dw_1->SetSort(""); 
    dw_1->Sort();

the new column also shows up. i don't see any way around this - short of
writing my own 'sort' dialogue. since i also use the column name for a
'find' text - start to enter text in the box, jump to row which matches
(as in help) having the same starting values, the extraneous column is a
nuisance.
by the way, before i start writing the events for the textbox/datawindow
search, know of any easily accessed examples. i did one years ago in PB,
but no longer have the code

thanks
peter
0
Peter
4/2/1998 2:57:23 PM
Reply:

Similar Artilces:

Set Focus on Field in Datawindow
Hi All, I have a 2 data windows, 1 which is a grid and holds all the records and the second drives off the grid to displays the details of the selected record. The user has an option to add a new record by pressing a "Add" button which creates a new record in both data windows. The problem I am having is that when a new record is created, I can't focus to a particular field on the details datawindow. I have read other articles and tried the following: dw_Name.SetColumn("first_name") But it does not focus on the field. I have checked the tab ...

How to set focus to a textfield on a datawindow?
Hello How to set focus to a textfield on a datawindow when an event is caught in a datawindow ? Example : I've a textfield named tf1 and in an event of my datawindow. I want to do sthg like this : Object.tf1.SetFocus() I'm working on PB 6.5. --> Can you also tell me where I can find documentation about properties / functions related to a textfield ? -- Sam This is a multi-part message in MIME format. --------------8C7A80D844210A944E171D15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit dwcontrol.SetColumn ( column ) Help...

setting focus inside a datawindow
How do I set focus on a particular column within a datawindow? Reading Help is very beneficial. SetColumn() -- pbm_thisusuallydoesnothelp:-)) Philip Salgannik "J" <j@here.com> wrote in message news:wjkqDEDFAHA.202@forums.sybase.com... > How do I set focus on a particular column within a datawindow? > > > Philip Salgannik <psalgannik@softrax.com> wrote in message news:DmWN$NDFAHA.202@forums.sybase.com... > Reading Help is very beneficial. Philip, Forgive me for overlooking this command and I will forgive you for your m...

Set focus on a field of a datawindows
I need to know how can i set focus on a specific field of my datawindow ? Thanks in advance adolfochairez@yahoo.com dw_1.SetColumn ('column name') dw_1.SetFocus () On 5/14/2010 12:02 PM, Adolfo Chairez wrote: > I need to know how can i set focus on a specific field of my > datawindow ? > > Thanks in advance > adolfochairez@yahoo.com ...

Set focus to datawindow button
Hi all, Can I set focus to the datawindow button? -- Simple No :-( -- Simon Caldwell Get Real Systems Ltd Holtby Manor, Stamford Bridge Road, York, YO19 5LL Tel 01904 481999 Fax 01904 481666 Visit us at www.getrealsystems.com Specialists in e-Procurement and supply chain technology "Simple" <carsonk@midland.com.hk> wrote in message news:n$$kZAcWAHA.67@forums.sybase.com... > Hi all, > > Can I set focus to the datawindow button? > > -- > Simple > > ...

How to set focus to a textfield on a datawindow?
Hello How to set focus to a textfield on a datawindow when an event is caught in a datawindow ? Example : I've a textfield named tf1 and in an event of my datawindow. I want to do sthg like this : Object.tf1.SetFocus() I'm working on PB 6.5. --> Can you also tell me where I can find documentation about properties / functions related to a textfield ? -- Sam This is a multi-part message in MIME format. --------------8C7A80D844210A944E171D15 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit dwcontrol.SetColumn ( column ) Help...

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

how to set focus on a datawindow button object
I have a datawindow with a button object.I want to set focus on the buttton object with in the datawindow using the tab key or any other event. Can't be done. On Thu, 4 Apr 2002 15:13:55 -0400, in powersoft.public.powerbuilder.general <NRKP> wrote: >I have a datawindow with a button object.I want to set focus on the buttton >object with in the datawindow using the tab key or any other event. Bruce Armstrong [TeamSybase] http://www.teamsybase.com http://www.needhim.org ---== Posted via the PFCGuide Web Newsreader ==--- http://www.pfcguide.com/_newsgroups/...

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

Custom Web datawindow and setting focus
I am using a custom datawindow component and I was wondering how I set focus to the first field on my datawindow. I have set the tab order on the datawindow itself but when I view it through a browser the focus does not appear in the first field. Kind Regards Colin Brown First I would suggest you post Web DW questions in the htmldw forum. Here's something from an old thread. << <YourDWObjectName>_dataForm.<YourColumnName>_0.focus();>> -- Larry Cermak [Team Sybase] Branick Consulting, Inc. www.branick-inc.com Web DataWindow eBook &qu...

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

How can I set focus to a particular collumn in a datawindow?
I've tried this: dw_debit.object.cardswipe[1].SetFocus() but I get an error. Any ideas? tia, chance Try SetRow and SetColumn: dw_debit.SetRow ( 1 ) dw_debit.SetColumn ( "cardswipe" ) On 16 Oct 2004 03:56:17 -0700, "chance" <chance@crwmail.com> wrote: >I've tried this: >dw_debit.object.cardswipe[1].SetFocus() but I get an error. Any ideas? > >tia, >chance > Bruce Armstrong [TeamSybase] http://www.teamsybase.com TeamSybase blogs: http://www.teamsybase.net/blogs Two 3rd party books on developing with PowerB...

How to set focus on the window/datawindow returned by GetActiveSheet
Hello everybody, I am using PB 4.0 and have a following problem. I have created a user object toolbar with Add, Save, Navigation Keys and Close buttons. This is then inherited to four windows (one master and three details). From each of these windows the events for the toolbar buttons can be triggered. After executing the event I want the cursor to return to that particular window and for this I have to set the focus on the datawindow in the window by using SetFocus function. For this I check the active window name using GetActiveSheet function in the event of the buttons. So, how...

Web resources about - setting focus on a datawindow - sybase.power++.database

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: 11/22/2015 8:46:04 AM