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


0
sam
5/9/2001 9:56:44 AM
sybase.powerbuilder.general 62418 articles. 19 followers. Follow

1 Replies
505 Views

Similar Articles

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

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: DataWindow controls -  Functions


--------------8C7A80D844210A944E171D15
Content-Type: text/x-vcard; charset=us-ascii;
 name="taskob.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Task� Barbara
Content-Disposition: attachment;
 filename="taskob.vcf"

begin:vcard 
n:Barbara;Task� Barbara
x-mozilla-html:FALSE
org:Axis Kft.
adr:;;;;;;
version:2.1
email;internet:taskob@axis.hu
title:szoftverfejleszt�
x-mozilla-cpt:;-22400
fn:Task� Barbara
end:vcard

--------------8C7A80D844210A944E171D15--

0
iso
5/9/2001 10:26:35 AM
Reply:

Similar Artilces:

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

set focus to textfield
Could somebody please tell me how to set the focus to a textfield of a webform? Thank you in advance Create a Javascript method, and call it from your body onload event... example: <html> <head> <script language="javascript"> function SetFocus() { document.getElementById('<%= TextBox1.ClientID%>').focus(); } </script> </head> <body onload="SetFocus()"> <form runat="server"> <asp:TextBox runat="server" id="Te...

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

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

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

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

To set date mask for datawindows in Powerbuilder.
Hi All, I am udayan Majumdar and i am getting some problems in Powerbuider. My application has a number of datawindows in it. the date mask for the date fileds in the datawindows is mm/dd/yyyy. i want to branch out another application which will have the date mask as dd/mm/yyyy. Is there a way to change the date mask globally for all the date fields in the datawindows or i have to go through each date field in datawindow and change its format. or we have have come code which will help me out. Thanks in advance. Udayan I am using APOL Library and Power Builder 7.0...

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

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

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

To set date mask for datawindows in Powerbuilder
Thanks Terry I will try this out. Re: To set date mask for datawindows in Powerbuilder. Please post in a PB newsgroup, e.g. powersoft.public.powerbuilder.datawindow. Thisone is for Infomaker related issues. Anyways, you can probably define a routine where you parse through the column list and for each column determine its datatype. See DWSyntax for exact syntax. -- Terry Dykstra (TeamSybase) Please state PB / OS / DB versions in your post. SDN: http://www.sybase.com/developer/ http://www.pb9books.com <udayan_majumdar> wrote in message news:003F1D07D64BB9DA000FB3E5...

Web resources about - How to set focus to a textfield on a datawindow? - sybase.powerbuilder.general

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/21/2016 3:41:12 PM