accessing a datawindow's control's properties using expresisons
Is it possible to access a column's y coordinate and use it in a
if(column.y > 500, a..., b...)
If( Long( Describe( 'column.Y' )) > 500, a..., b... )
VCI Springfield, MA
"Leon Mandel" <email@example.com> wrote in message
> Is it possible to access a column's y coordinate and use it in a
> datawindow extression?
> if(column.y > 500, a..., b...)
...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...Setting column's property in a datawindow from composite datawindow
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
I want to change Text of a header column of dw_2, so I try it using:
1. GetChild and Modify
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...How to access an objetct's property located in a nested report from a datawindow expression ?
Pb 7.0.1 7024, WinNT 4
Thanks for your answers.
An exempt from:
PowerBuilder Version 7
Document number: MC0013
Copyright � 1999 Sybase, Inc. and its subsidiaries. All rights
reserved. Printed in the United States of America.
Accessing DataWindow Object Properties in Code
PowerBuilder: Da...Accessing a control's properties in another user control?
I have two user controls on the page, control A and control B. Control B has a bunch of panels in it that I need to access from Control A. Control A needs to lookup a panel in Control B and turn its visibility on or off based on some criteria.
Using the FindControl() method how can I accomplish this? I have no problem accessing a control from the Page or from within the same control, but I haven't figured out how to access the properties of a different control than the one thats requesting the info.
You *could* do a FindControl on the Parent of UserControl A, to get a reference t...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 ...datawindow's controls
I am trying to change dynamically the format of each control (staticText and
SingleLineEdit) in my datawindow.
What is the array object that contains all these controls.
Control seems working only for windows, tabs but not datawindow control.
This will return a tab delimited string listing all the objects in the
datawindow. You will have to parse the string into an array yourself.
There is a PFC function that will do this for you.
> Hello all!
> I am trying to change d...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...User control can't access the parent page's public properties
Hi Guys I have built a page that is contained within a master page and it holds 2 user controls Control A contains a DataListControl B contains a FormView I want to pass the selected index from the DataList on Control A to the FormView on Control B so it acts like a master / detail scenario I created a public property on the page that contains both controls called DataListSelectedIndex A also created a public property for DataListSelectedIndex on the Control I populate the DataListSelectedIndex property of the Control when the DataList_SelectedIndexChanged...Accessing OCX properties and functions in a datawindow
How can I access to the properties and functions of an OCX placed into a
I try this : dw_1.Object.OCXName.Object.OCXProperties/Functions
But it does not work !
Caveat...a while back a user named Alex found that if
a 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 the OCX's properties.
He was using a barcode OCX at the time. Brand...Accessing a control's properties
Sorry, but I am missing something basic here. I have a window with
user objects. The user objects contain command buttons. When the
command button is clicked I want to be able to get the command
button's name ( i.e. cb_1 ) and the user object's name ( i.e.
uo_db_access ). this.name and parent.name do not work and it appears
the name is not a property I can get. What am I missing?
<nospam_TomBreidall@compuserve.com> wrote in message
> Sorry, but I am missing something basic here. I have...DataWindow This, DataWindow That...
Blah blah blah
You've heard it enough that you don't even want to comment on how many
....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...Datawindow, Protect property, add datawindow expression to control setting
There is already a Protect property for datawindow columns which can be an
expression. Did you mean the ReadOnly property of the whole datawindow?
Matthew Chestnut wrote in message <firstname.lastname@example.org>...
Oops, I was in a hurry when I entered this ... I meant to request an
expression on the *Required* attribute for a datawindow column.
On Thu, 7 Mar 2002 14:48:33 -0500, "Jerry Siegel"
>There is already a Protect property for datawindow columns which can be an
>expression. Did you mean the Re...What's the difference between datawindow dtc and html datawindow dtc?
In powersite we can find some dtc activex. but what's the difference between
datawindow dtc and html datawindow dtc? When should I use one and when
should I use the other?
Please see InstaHelp for the answer, under this topic:
PowerSite Concepts and Procedures
> Working in The PowerSite Client
> Integrating application servers
> About the HTML DataWindow DTC
Feng Zhu <email@example.com> wrote in message
> Hi, all.