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++.datawindow 589 articles. 0 followers. Follow

3 Replies
582 Views

Similar Articles

[PageSpeed] 58
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:

DataWindow This, DataWindow That...
Blah blah blah You've heard it enough that you don't even want to comment on how many times... The DataWindow. ....but it can't be enough anymore...can it? This from one of our colleagues (and yes my apologies for taking it out of context)... "...PB covers all you need to do that in ONE Tool. This includes Windowprogramming ( meaning the interface to the user: Windows, Sheets, diallougeboxes, etc.), Database operability AND Reporting! Well, I see als well as many other PB users that some of the implementations and features PB offers are improvable. But thi...

How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow!
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 first row of each datawindow. It seems I used the loop access the value it doesn't work. Indeed, It has the all data for me but just right for the first row in each data window. Could you have any ideas, please!...

How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow!
This is a multi-part message in MIME format. ------=_NextPart_000_004F_01C308EA.58A195E0 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...

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

How to share the datawindow to inner datawindow of nested datawindow
How to share the datawindow to inner datawindow of nested datawindow. Ex -------- dw_1 is normal datawindow dw_nes is nested datawindow, both are placed one window dw_nes contain dw_child datawindow Question ---------------- i want to share dw_1 and dw_child. I have tried the below code, getting error dw_1.sharedata( dw_nes.object.dw_child) It's the dot notation. You will need to dw_nes.GetChild("dw_child", ldwc) where ldwc is a _local_ datawindowchild. <kzganesan@gmail.com> wrote in message news:4c64c402-bac5-4ee0-83aa-4ac08ffe43e5@r66g2000hsg.go...

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

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

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

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

DataWindows and datawindow objects
Difference between Datawindow and datawindowobjects? - datawindow is a control on a userobject or a window - datawindowobject (DWObject) is a control within a datawindow, defined in the dataobject of the datawindow. You refer to it as <datawindow-instance>.Object.<datawindow object> HTH, Ben (bede) <Santhoshi> wrote in message news:3f8bee8b.4631.846930886@sybase.com... > Difference between Datawindow and datawindowobjects? Not exactly; DW Control is a "container" that reserves real-estate on the surface of a visual object. DW Obj...

datawindows in composite datawindow used in datawindow.NET, are not sliding up
Hi, Problem: datawindows in composite datawindow used in "datawindow.NET", are not sliding up , if one dw is not visible or did not retrieve data. Resulting in unwanted spaces. The height of blank white space is equal to the height of the datawindow art design time. When I looked at the generated JavaScript, I noticed there is "div" for the datawindow with height 0.00in which is supposed to be not visible. Tried different options with html/xhtml/xml same result. But slides up ok when exported to pdf(using saveas) on web and in PB10.5 application. Also s...

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

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: 1/19/2016 2:33:55 PM