accessing a datawindow's control's properties using expresisons

Is it possible to access a column's y coordinate and use it in a 
datawindow extression?

example:

if(column.y > 500, a..., b...)

0
Leon
1/23/2003 11:56:36 PM
sybase.powerbuilder.datawindow 28057 articles. 4 followers. Follow

1 Replies
741 Views

Similar Articles

[PageSpeed] 49

If( Long( Describe( 'column.Y' )) > 500, a..., b... )

--
Paul Horan[TeamSybase]
VCI   Springfield, MA
www.vcisolutions.com


"Leon Mandel" <lmandel@sao.state.tx.us> wrote in message
news:3E308134.8070602@sao.state.tx.us...
> Is it possible to access a column's y coordinate and use it in a
> datawindow extression?
>
> example:
>
> if(column.y > 500, a..., b...)
>


0
Paul
1/24/2003 5:04:55 AM
Reply:

Similar Artilces:

Unable to access user control's user control's function\property from another user control
Hi, I used to call an user control's user control function as stated below from my user control in ASP.Net 1.1 wucCompany.wucEmployee.GetEmployeeSomething() After migrating to ASP.Net 2.0, I am unable to use any properties/functions(even the public ones) of the user control's User control's from another user control.  The way I have to do is create property\function in wucCompany which calls the wucEmployee's property\function and call the wucDepartment.GetEmployeeSomething().Since I need to do this change in too many places, I can...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

Access OCX control's properties in DataWindow
Hello, I've just discovered an interesting "feature" in powerbuilder. I've put a OCX control in a DataWindow and try to access that OCX's properties in scripts like: <datawindow>.object.<ole_control>.object.<property> = ... It works fine only if you can see the OCX control in the Window. It dosen't matter if that DataWindow was behind other controls. However, if your DataWindow Control is not large enough so that the OCX control cannot be seen in the Window or if you make that DataWindow invisible, you'll get error when access ...

Using 6.5 DW's in 7's HTML and ActiveX DataWindows
PB 7 has the new HTML DataWindow and the ActiveX DataWindow. Both just read PBD's to extract a specific datawindow to process. Question: Can these new facilites read PB 6.5 datawindows? This would be nice to ease transition. We can still develop DW's in 6.5 until we thing 7.0 is stable and we can distribute to our developers. Don Weimann 1. No, it won't read PB7 datawindows. HTMLDW is implemented by adding properties to the datawindow object. 2. PB7 is, AFAIK, rather stable. I've invested a great deal of time to ensure that it, and in particular, the HTM...

Label control's text doesn't appear to be set (in the page which has a user control )when trying to update the text property in the FormView's ItemUpdated event
Hi There,I have a user control which hosts a formview control, gridview control and a label control. The grid view is usedto show rows in the DB and when clicked to edit each row, a form view opens up in edit mode with that particular row info. So I have nothing in the item template.My first question is..is it mandatory to have smth in the itemtemplate of the form view.I have controls in edititemtemplate and insertitemtemplate.When a particular row is edited, I would like to show a status msg showing that the row has been updated.For this, I use the ItemUpdated event of the formview and try ...

Use Cross page post back feature of ASP.NET 2.0 while redirecting the user to another page to access previou's page's control
Hi.I am new to .Net..Can anyone tell me how to use  Use Cross page post back feature of ASP.NET 2.0 while redirecting the user to another page to access previou's page's control??  Thanku in advance  set postbackurl of the button's to where u want to redirect page. on second page check is it redirected from previouse using cross page post back like below and then find control which u want on second pageif (PreviousPage.IsCrossPagePostBack) {TextBox text1 = (TextBox)PreviousPage.FindControl("TextBox1"); Response.Write(text1.Text); }www.askaspdo...

Replace 1's and 0's in a gridview column with Yes's and No's
Is it possible to change the display of a column in a gridview to show a Yes for all 1's and a No for 0's that display in a particular column of a gridview bound to a database?  If so, can someone share the way with me?  I am using ASP.NET 2.0 with VB Code Behind.  Thanks One way you can do is thrrough  CASE in your select statement: Select YesNoColumn= CASE yourColumn WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END FROM YourtableLimno <Columns>     <asp:TemplateField HeaderText="yourHeader" SortExpression="yourDataField"> ...

Meke Control's property disabled or enabled based on another property's entered value ?
Does anyone know how to disable or enable a property in properties window based on value entered in another property?Please advise.Regards,Dimitry...

It's Linux !? No, it's BSD ! No, no, it's...
kFreeBSD http://wiki.debian.org/Debian_GNU/kFreeBSD a Debian distro using the FreeBSD kernel ! ObiWan wrote: > kFreeBSD > > http://wiki.debian.org/Debian_GNU/kFreeBSD > > a Debian distro using the FreeBSD kernel ! Why use a BSD kernel? I hope the reason is more than, just because they can. http://wiki.debian.org/Debian_GNU/kFreeBSD_why It's easy to understand why the would want to use Debian packages. :) -- Jimmy Johnson Registered Linux User #380263 >> kFreeBSD >> >> http://wiki.debian.org/Debian_GNU/kFreeBSD >> ...

how to control a RadioButtonList's Listitem's text show according database's field
Hi my page has a repeater control,in repeater has a RadioButtonList control now i want to let the RadioButtonList has four Listitem,every Listitem's text is a database's field so the listitem can show dynamic according every record how can i work out my problem thanks a lot  hello dearbound your RadioButtonList to database if i m not clear fell free 4 replySatyabrat SinghB.E.(C.Sc.)Web developer Livetek Solution Dont forget to click "Mark as Answer" on the post that helped you. yes.i bound the radiobuttonlist to a dataset but how to display the ...

How to add oracle's CLOB column to PB10's datawindow
Hi, I try to show all record from product table in DataWindow. The backend database is Oracle 9i. When I try to drop a CLOB column into datawindow, it don't allow me to do so. Please advise. Danny ...

Using PowerBuilder's or Infomaker's Query Painter in my applicatoin
I am at the point in my application where I would like to allow my users to create customized queries, and possibly reports. I have figured out how to use syntaxfromsql to convert sql to the special datawindow code, and this works find for me. But some of my users arn't as gifted in the sql department. So now I wish I had a nice GUI query builder. My question is; Is the query painter, and maybe even the datawindow painter accessable from Powerbuilder script kind of like an activeX? Or an object that I can drop into a window. I think I am to the point that I could recreate th...

Setting column's property in a datawindow from composite datawindow
Hi I know this is easy but I cant get it to work. I have two datawindows controls (dw_1, dw_2) in a composite datawindow (dw_report). I want to change Text of a header column of dw_2, so I try it using: 1. GetChild and Modify ------ datawindowchild ldw_child Int li_Rtn String ls_Error dw_Report.SetTransObject ( SQLCA ) li_Rtn = dw_Report.GetChild ( "dw_2", ldw_Child ) /* This returns 1, no problem */ If li_Rtn = 1 Then ls_Error = ldw_Child.Modify ( "item_number_t.Text = ~'New Text~' ") /* ls_Error is empty string, no problem, but report do...

Hyperlink's, ImageURL's, and OnError's
I created an ASP:Hyperlink and set the ImageURL attribute so the link will be the image.If the image is missing, I would like it to display a 'missing image' pic that I have.  I know you can use the OnError attribute of the <img> tag to run some javascript to change it.Unfortunately I can't find a way to access the Hyperlink's Image that is inside it, so I can add an Attribute so the resulting <img> tag will have an OnError attribute inside of it.Any help?If my Hyperlink is called 'foo'....would I do...  ((Image) foo.Controls[0]).Attributes.Add(&...

Web resources about - accessing a datawindow's control's properties using expresisons - sybase.powerbuilder.datawindow

Resources last updated: 12/27/2015 1:32:49 PM