Incompatible property xxxx for type xxxx

I am using PFC's with PowerBuilder 6.5 on an Windows NT 4.0 development
environment. Here are the objects in this application:

Window - Sheet window that will be opened up on the MDI Frame
Tab Control - Inherited from a user object
Tab Pages - One tab page for each datawindow in the app. These tab pages are
also inherited from a user object.
DataWindows - There may be some tab pages that have more than 1 datawindow
on it.

I need to write some code to be placed either on the window or the tab
control that references each tab page on the tab control and each datawindow
on each tab page.

I have been able to loop through the objects on the control by using the
..Control [ ] array for both the tab control and the tab page. The problem
is, I don't know how to use this information to reference the events and
functions on the datawindow level.

Here is how my code looks when I hard-coded the fully qualified script:
tab_1.tabpage_2.dw_detail.of_AcceptText (False)

Now I have an application that will have more than one tabpage and I am
trying to loop thru each tabpage (and each datawindow on the tab page) to
perform the same function for each datawindow.

What the code needs to look like is:

DataWindow  ldw_datawindow
UserObject    luo_tabpage
For I = 1 to Number_of_Tabpages
    luo_tabpage = tab_1.Control [ I ]
    For J = 1 to Number_DataWindows_This_Tabpage
        ldw_datawindow = luo_tabpage.Control [ J ]
            tab_1.luo_tabpage.ldw_datawindow.of_AcceptText (False)
    Next
Next

The problem is, I cannot figure out how to get the syntax (or variable
declaration right as there is no TabPage data type) to work. I get this
message that says 'Incompatible property ldw_datawindow for type
userobject'.

Is there any way to (1) loop through the Control arrays of both the tab
control and the tab pages, (2) get a reference to these objects found in
these arrays, and (3) use this reference to type a line of code like I wrote
in the above For ... Next loop.

Any help would be greatly appreciated.
Thank You,
Monte



0
Monte
12/18/1998 8:25:24 PM
sybase.powerbuilder.general 62418 articles. 11 followers. Follow

0 Replies
2657 Views

Similar Articles

[PageSpeed] 4

Reply:

Similar Artilces:

Get Hostname Failed For IP Address:xxxx.xxxx.xxxx.xxxx
Can somone please tell me why all of a sudden I am getting this message continuously on my console screen. Thx Do you have that IP address/URL in an access rule? Craig Johnson Novell Support Connection SysOp *** For a current patch list, tips, handy files, books and consulting services for BorderManager, go to http://nscsysop.hypermart.net *** Yep I did. I took it out and it works fine. Thx "Craig Johnson" <craigsj@ix.netcom.com> wrote in message news:VA.000027b2.034e1f4c@athlon3... > Do you have that IP address/URL in an access rule?...

Url Length limitation for "mailto:xxxx?&cc=xxxx&subject=xxxx&body=xxxx"
Hi All.. I want to generate automatic Emails after setting up the mailto, cc, subject, body components dynamically.. Lotus Notes is my default email client.  My code goes like this..message = string.Format(@"mailto:{0}?&cc={1}&subject={2}&body={3}", recipients, cc, subject, messageText); //Open registered email client with the formatted message. System.Diagnostics.Process.Start(message); The email generation fails in case of subject or message goes longer.. I cannot assure of a fixed length of this URL.. It varies in cases.. Please help me out to solve thi...

Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
Hi All, I am getting above sometimes.I am inserting values in three tables Company,Merchant and users at a time.Guid is kept as primary key(uniqueidenitifier).Why this error is coming i am unable to find it is happening sometimes.Any idea to rectify it ??   Regards How are you generating the GUID?  C# code or are you having the database generate it? Database is generating it. Hi Brijesh Singh, How did you go about inserting the values into the three tables? Usually, you will receive this exception in these scenarios: In Microsoft SQL Server Management Studio, you connect to an instance of Microsoft SQL Server 2005 Integration Services (SSIS). You import a maintenance plan from an Integration Services package that is stored in a different location. The Integration Services package was previously exported from a maintenance plan. In SQL Server Management Studio, you modified the maintenance plan, and then you try to save the maintenance plan. Are you experiencing the same issue? If so, please refer to the following document:   http://support.microsoft.com/kb/922651/en-us If your SQL Server is not SQL Server 2005 Express Edition (32-bit) or SQL Server 2005 Express Edition with Advanced Services (32-bit), you may also use SQL Profiler to see what the T-SQL statement was executing when the exception occurs. Jian KangMicrosoft Online Community SupportPlease remember to mark the replies as answers if they help and unmark them if...

xxxx
*** Now talking in #12345678 *** Phant0m^ sets mode: +snt *** MrWhite (A8EEBA11@cn-387.cyd.liu.se) has joined #12345678 <Phant0m^> yo <Phant0m^> who u? <MrWhite> just a lurker <Phant0m^> ok <Phant0m^> what fella are u <Phant0m^> that was on the message board? <MrWhite> why're u spamming grc? <Phant0m^> d.max ? <Phant0m^> spamming whats yea <Phant0m^> mean <Phant0m^> :P <Phant0m^> Not spamming when your using proxys *** MrWhite (A8EEBA11@cn-387.cyd.liu.se) Quit ...

xxxx
Name: Doctor Dave Bengard Email: drdv29ataoldotcom Product: Firefox Summary: xxxx Comments: Sorry...But you SUCK...for not having any phone contact... AND, I just tried your supposed chat, and what else...we are closed. You are jerks. I deal with companies/corporations all over the country/world, and the A-Holes as Ebay/Craig's List, et al.... that do their best to avoid customer direct/personal contact suck, and are hiding something!! Doctor Dave Bengard, 209-931-5580. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox...

xxxx
Name: Jerry Johnson Email: jerdjon_at_earthlink.net Product: Firefox 2 Beta 2 Summary: xxxx Comments: I've had very few problems, other than the fact that some of the old extensions don't work, and the program loads too slow. Can you speed up the loading process? Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 ...

xxxx
Name: DRAGAN Email: djdragan81athotmaildotcom Product: Shiretoko Summary: xxxx Comments: xxxx Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; sr; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Dynamically loaded user control -- Accessing property --'Typed xxxx is not defined" erro
My aspx page refernces a user control 'test'. I am trying to set the lblText property of 'test' in my aspx page. Here is the code... 1. My test.ascx <%@ Control Language="vb" className="test" AutoEventWireup="false" Codebehind="test.ascx.vb" Inherits="test" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> <asp:Label Runat=server ID=lbl text="before changed"/> I have set the controlName attribute in the Control directive to 'test' 2. My test.ascx.vb code Public M...

how to compile xxxx.aspx and xxxx.vb
Hi guys..i am asp programmer...and still don't get to this aspx. and vb concept..i just write script and the html in one page.i want to learn how to seperate those two side into two pages..any basic thing that i should know?..any website link?thanks... this is called codebehind. what you're used to is 'inline' you can use inline, no problem. what editor are you using? RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadableJason Brown - MVP, IIS don't laugh at me..i am using notepad..i am starting to use visual studio.net well, with notepad you won'...

Incompatible types error creating property
I'm trying to add a public property to a class defined as property LabelPrint : Boolean read GetLabelPrint write SetLabelPrint; There is a private function SetLabelPrint defined that sets the value of FLabelPrint. When I compile the program I get the error 'Incompatible Types', but if i change the write clause to 'write FLabelPrint' the program complies.This program already has other properties defined like this, which compile. What's going on? Paul wrote: > There is a private function SetLabelPrint defined that sets the value > of FLabelPrin...

incompatible property text for type window
Hi, i have a problem with object property changing (script below) string the_class[], ls_label, ls_font_name, ls_window_name windowobject the_object[], control[] integer i, j FOR i = 1 TO UpperBound(aw_window_name.Control[ ]) the_object[i] = aw_window_name.control[i] the_class[i] = the_object[i].ClassName() ls_label = the_object[i].text = '' // incompatible property text for type window end if NEXT I can change it in debug mode, but when i try to change by script message appears: incompatible property text ...

How can I bring my legacy HTMLSite xxxx.html ....into a new Asp Page xxxx.aspx?
I have an own legacy HTML applikation and want to expand it by using the Tool MS Visual Web Developer 2005 Express Edition. Is that possible?  ingeniosus__________________http://www.plbg.ch Yes. It is possible.If you import your html pages "as is" then you will get html pages that can be edited with the Visual Web Developer which is nice.But if you need some logic in your pages, then your should create a new aspx (web form) for each of your html pages and then copy over the html code.Good luck!If this post was useful to you, please mark it as answer. Thank ...

re:The type or namespace name XXXX could not be found
hi  The following error has occured for me i m new to C#, please tell me the solution name of the namespace is in correct spelling , is there any other possible reasons i given my code below Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'SIPWebService' could not be found (are you missing a using directive or an assembly reference?)Source Error: Line 11: Line 12: /...

CS0246: The type or namespace name XXXX could not be found
Hi all,  Sorry if this is the wrong forum to post, but I got a real head-scratcher on my hands. I have a custom dll I created, popped it in the application root/bin folder and created a mini aspx page for testing it. But when I run the page in my browser, I get the error  "Compiler Error Message: CS0246: The type or namespace name 'SalesOrderWorkFlow' could not be found (are you missing a using directive or an assembly reference?)"  I checked the usual things: that the spelling and case was exactly the same that the dll was placed in the /bin folder of the applicat...

Error C158 the property XXXX was found but insufficient privilegs for acces it
Hi, My code PB 10.5.2 long lLog,rVal SoapConnection conn // Define SoapConnection services proxy_obj // Declare proxy ServiceHeader Header patient _Patient string Id_Patient[] Id_Patient[1] ="542585" conn = create SoapConnection lLog = conn.SetSoapLogFile ("C:\temp\mySoapLog.log") rVal = conn.CreateInstance(proxy_obj, "services") try Header.SourceEnvironmentCode = "RHMS" Header.SourceEnvironmentType = 1 Header.DestinationEnvironmentCode = "ug" proxy_obj.s...

"Incorrect type information in class Xxxx" exception
In XE2: Using the RIDL editor in the IDE, I have created a type library with an interface (not dual) and an events dispinterface. I have defined several methods for the main interface and a couple for the events interface, and generated the _TLB.pas and .tlb files. I have copied the main interface's method definitions verbatum to the protected section of my implementing object's definition, and created stub functions for all of them. The code compiles fine. But when I run the EXE, I get a EOleError ex ception with "Incorrect type information in class Xxxx" as the message...

Powerbuilder & 7.0, 7.01 build 7027, 7.02 build xxxx y sigue
This is a multi-part message in MIME format. ------=_NextPart_000_002C_01BF792A.2CDB2550 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Me gustaria saber cual es el mejor metodo para conseguir la ultima = version disponible por Sybase.=20 Hasta ahora aparte de un contrato de mantenimiento que teniamos con = Sybase (UPS) y que actualizaba la version cada 6 meses y debido a la = cantidad de Bug's que han aparecido repentinamente en la 7.0 (despues de = una muy estable 6.5) no teniamos otro metodo para actualizar versiones...

superreview requested: [Bug 277434] Setting .type property on <object> element doesn't create an HTML attribute type : [Attachment 187457] Make setting .type change the type attr
Johnny Stenback <jst@mozilla.org> has asked Peter Van der Beken <peterv@propagandism.org> for superreview: Bug 277434: Setting .type property on <object> element doesn't create an HTML attribute type https://bugzilla.mozilla.org/show_bug.cgi?id=277434 Attachment 187457: Make setting .type change the type attr https://bugzilla.mozilla.org/attachment.cgi?id=187457&action=edit ------- Additional Comments from Johnny Stenback <jst@mozilla.org> This implements what I talked about in my previous comment. ...

superreview granted: [Bug 277434] Setting .type property on <object> element doesn't create an HTML attribute type : [Attachment 187457] Make setting .type change the type attr
Peter Van der Beken <peterv@propagandism.org> has granted Johnny Stenback <jst@mozilla.org>'s request for superreview: Bug 277434: Setting .type property on <object> element doesn't create an HTML attribute type https://bugzilla.mozilla.org/show_bug.cgi?id=277434 Attachment 187457: Make setting .type change the type attr https://bugzilla.mozilla.org/attachment.cgi?id=187457&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> Yeah, switch to nsACString, also maybe rename mType to mActualType. ...

Gridview with Dictionary Data Source DataBind Error: A field or property with the name 'XXXX' was not found on the selected data source
I have created a custom type of Entity which I am storing in a dictionary. I'd like to use this dictionary as the datasource for a gridview. I thought I had things setup correctly and don't see much difference between what I have done and what is outlined here: http://forums.asp.net/t/1149549.aspx. However, when it comes time to do databinding I keep getting the exception: "A field or property with the name 'EntityID' was not found on the selected data source."  If I check to ensure that the EntityID is populated it always is so I am not sure what's going o...

how to get type of collection type property of webcontrols
i want to get type of items which is property of DropDownList webControl through C# coding. get type isn't a property it's a method. GetType() is inherited from object so it is available to almost any object. The type of the items is always gonna be System.Web.UI.WebControls.ListItem because it is part of a standard collection. If you want to go deeper and get the type of the value or text it's always gonna be of type string.Answering a question increases your knowledge asking a question shows your Intelligence!...

superreview granted: [Bug 293190] [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" : [Attachment 188765] Simple patch v0.1
neil@parkwaycc.co.uk <neil.parkwaycc.co.uk@myrealbox.com> has granted Ian Neal <bugzilla@arlen.demon.co.uk>'s request for superreview: Bug 293190: [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" https://bugzilla.mozilla.org/show_bug.cgi?id=293190 Attachment 188765: Simple patch v0.1 https://bugzilla.mozilla.org/attachment.cgi?id=188765&action=edit ...

superreview requested: [Bug 293190] [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" : [Attachment 188765] Simple patch v0.1
Serge GAUTHERIE <gautheri@noos.fr> has asked Scott MacGregor <mscott@mozilla.org> for superreview: Bug 293190: [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" https://bugzilla.mozilla.org/show_bug.cgi?id=293190 Attachment 188765: Simple patch v0.1 https://bugzilla.mozilla.org/attachment.cgi?id=188765&action=edit ...

superreview requested: [Bug 293190] [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" : [Attachment 188765] Simple patch v0.1 #2
Ian Neal (away 16th July - 21st July) <bugzilla@arlen.demon.co.uk> has asked neil@parkwaycc.co.uk <neil.parkwaycc.co.uk@myrealbox.com> for superreview: Bug 293190: [MAS v1.8b2-xxxx] In <AccountManager.js>, "Warning: reference to undefined property formElement.selectedItem.value" https://bugzilla.mozilla.org/show_bug.cgi?id=293190 Attachment 188765: Simple patch v0.1 https://bugzilla.mozilla.org/attachment.cgi?id=188765&action=edit ...

Web resources about - Incompatible property xxxx for type xxxx - sybase.powerbuilder.general

Incompatible-properties argument - Wikipedia, the free encyclopedia
The incompatible-properties argument is the idea that no description of God is consistent with reality . For example, if one takes the definition ...

Architecture and war are not incompatible. Architecture is war. War is architecture. - Flickr - Photo ...
I am at war with my time, with history, with all authority that resides in fixed and frightened forms. I am one of millions who do not fit in, ...

Menopause and work: incompatible?
It's one of the last taboo topics and it needs to be explored.

Mark Carney says Scottish independence 'incompatible' with keeping pound
Mark Carney says the idea that an independent Scotland would be able to use the British pound as its national currency is 'incompatible with ...

China Mobile is the T-Mobile of the East with 10 million iPhone users, an incompatible high speed network ...
China Mobile doesn’t officially offer the iPhone yet. But it is carrying 10 Million iPhones on its network according to Reuters. “We have not ...

‘Bro Code’ Incompatible With Judicial Code Of Conduct
It's good to look out for your friends, but maybe don't violate the judge code of conduct.

Obama Admin Marriage Brief: Bans 'Incompatible' With Constitution
The administration makes a strong argument for marriage equality in a brief filed Friday in the upcoming Supreme Court case.

Dear Google, whose bright idea was it to make the new Blogger CMS incompatible with the iPhone and iPad ...
Blogger's new content management system no longer permits mobile blogging on the iPhone or iPad, the CMS simply doesn't work on the iPhone or ...

Samsung Galaxy S 4 Incompatible with Original TecTiles, TecTile 2 Announced
... Ordinarily this isn’t much of a problem, as long as users are aware of the limitation and to stay away from MIFARE classic tags on an incompatible ...

GALAXY S 4 incompatible with current line of Samsung NFC TecTile tags
The Samsung TecTile tags are not a terribly expensive item, however it looks like those who are using the tags and also upgrading from a Galaxy ...

Resources last updated: 3/8/2016 4:50:54 AM