Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Importing a Line control

5 posts in Objects Last posting was on 2005-03-22 15:21:11.0Z
Eric Ullman Posted on 2005-02-23 16:44:02.0Z
From: "Eric Ullman" <ullman2k4@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Importing a Line control
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Original-NNTP-Posting-Host: asconline.com
Message-ID: <421cb2ce$1@forums-2-dub>
X-Original-Trace: 23 Feb 2005 08:43:58 -0800, asconline.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 23 Feb 2005 08:44:01 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 23 Feb 2005 08:44:02 -0800
X-Trace: forums-1-dub 1109177042 10.22.108.75 (23 Feb 2005 08:44:02 -0800)
X-Original-Trace: 23 Feb 2005 08:44:02 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8223
Article PK: 735488

Verison PB 9.0.2 Build 7509

Hello,
I have heard that there is a way to import userobjects that are of type
drawobject into a pibble
from the raw source code. I was trying to import an userobject of type
line, with no success:

Here is the source:

PBExportHeader$u_line.sru
forward
global type u_line from line
end type
end forward

global type u_line from line
boolean Enabled=true
int BeginX=5
int BeginY=5
int EndX=15
int EndY=5
int LineThickness=8
long LineColor=16711680
end type
global u_line u_line

Are you able to do this or is this just a rumor floating around the web?
and if so, with what objects controls
can you do this with (rectangle, roundrectangle, oval, line)?

Thanks in advance,

Eric


Brad Wery Posted on 2005-02-23 17:14:20.0Z
From: Brad Wery <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Importing a Line control
References: <421cb2ce$1@forums-2-dub>
In-Reply-To: <421cb2ce$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <421cb9e7$1@forums-2-dub>
X-Original-Trace: 23 Feb 2005 09:14:15 -0800, ugg10.unitedgrain.ca
Lines: 51
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 23 Feb 2005 09:14:17 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 23 Feb 2005 09:14:20 -0800
X-Trace: forums-1-dub 1109178860 10.22.108.75 (23 Feb 2005 09:14:20 -0800)
X-Original-Trace: 23 Feb 2005 09:14:20 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8224
Article PK: 735489

I don't think you can import it. This is what you can do:

1. Create a standard visual object of any kind.
2. Save the object as u_line and close.
3. Edit the source (right click on the object in the system tree and
select edit source).
4. Remove all the code and paste in your u_line syntax and save.

Brad

Eric Ullman wrote:
> Verison PB 9.0.2 Build 7509
>
> Hello,
> I have heard that there is a way to import userobjects that are of type
> drawobject into a pibble
> from the raw source code. I was trying to import an userobject of type
> line, with no success:
>
> Here is the source:
>
> PBExportHeader$u_line.sru
> forward
> global type u_line from line
> end type
> end forward
>
> global type u_line from line
> boolean Enabled=true
> int BeginX=5
> int BeginY=5
> int EndX=15
> int EndY=5
> int LineThickness=8
> long LineColor=16711680
> end type
> global u_line u_line
>
> Are you able to do this or is this just a rumor floating around the web?
> and if so, with what objects controls
> can you do this with (rectangle, roundrectangle, oval, line)?
>
> Thanks in advance,
>
> Eric
>
>
>
>
>
>


Eric Ullman Posted on 2005-02-23 17:34:21.0Z
From: "Eric Ullman" <ullman2k4@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <421cb2ce$1@forums-2-dub> <421cb9e7$1@forums-2-dub>
Subject: Re: Importing a Line control
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: asconline.com
X-Original-NNTP-Posting-Host: asconline.com
Message-ID: <421cbe9d$1@forums-1-dub>
Date: 23 Feb 2005 09:34:21 -0800
X-Trace: forums-1-dub 1109180061 68.21.225.178 (23 Feb 2005 09:34:21 -0800)
X-Original-Trace: 23 Feb 2005 09:34:21 -0800, asconline.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8225
Article PK: 735490

Bingo! Thanks for the quick response Brad. You would think I would try
that too? doh...

Thanks again,

Eric

"Brad Wery" <bradweryatagricoreunited.com> wrote in message
news:421cb9e7$1@forums-2-dub...
> I don't think you can import it. This is what you can do:
>
> 1. Create a standard visual object of any kind.
> 2. Save the object as u_line and close.
> 3. Edit the source (right click on the object in the system tree and
> select edit source).
> 4. Remove all the code and paste in your u_line syntax and save.
>
> Brad
>
> Eric Ullman wrote:
> > Verison PB 9.0.2 Build 7509
> >
> > Hello,
> > I have heard that there is a way to import userobjects that are of
type
> > drawobject into a pibble
> > from the raw source code. I was trying to import an userobject of type
> > line, with no success:
> >
> > Here is the source:
> >
> > PBExportHeader$u_line.sru
> > forward
> > global type u_line from line
> > end type
> > end forward
> >
> > global type u_line from line
> > boolean Enabled=true
> > int BeginX=5
> > int BeginY=5
> > int EndX=15
> > int EndY=5
> > int LineThickness=8
> > long LineColor=16711680
> > end type
> > global u_line u_line
> >
> > Are you able to do this or is this just a rumor floating around the web?
> > and if so, with what objects controls
> > can you do this with (rectangle, roundrectangle, oval, line)?
> >
> > Thanks in advance,
> >
> > Eric
> >
> >
> >
> >
> >
> >


Eric Ullman Posted on 2005-03-22 15:21:11.0Z
From: "Eric Ullman" <ullman2k4@hotmail.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <421cb2ce$1@forums-2-dub> <421cb9e7$1@forums-2-dub> <421cbe9d$1@forums-1-dub>
Subject: Re: Importing a Line control
Lines: 76
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Original-NNTP-Posting-Host: asconline.com
Message-ID: <424037e2$1@forums-2-dub>
X-Original-Trace: 22 Mar 2005 07:21:06 -0800, asconline.com
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 22 Mar 2005 07:21:07 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 22 Mar 2005 07:21:11 -0800
X-Trace: forums-1-dub 1111504871 10.22.108.75 (22 Mar 2005 07:21:11 -0800)
X-Original-Trace: 22 Mar 2005 07:21:11 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8276
Article PK: 735531

Hello Millard,
I was able to create 4 user objects uo_line, uo_rectangle,
uo_roundrectangle, and uo_oval, but I
haven't gotten around to using any of them yet.

Eric

"Eric Ullman" <ullman2k4@hotmail.com> wrote in message
news:421cbe9d$1@forums-1-dub...
> Bingo! Thanks for the quick response Brad. You would think I would try
> that too? doh...
>
> Thanks again,
>
> Eric
>
> "Brad Wery" <bradweryatagricoreunited.com> wrote in message
> news:421cb9e7$1@forums-2-dub...
> > I don't think you can import it. This is what you can do:
> >
> > 1. Create a standard visual object of any kind.
> > 2. Save the object as u_line and close.
> > 3. Edit the source (right click on the object in the system tree and
> > select edit source).
> > 4. Remove all the code and paste in your u_line syntax and save.
> >
> > Brad
> >
> > Eric Ullman wrote:
> > > Verison PB 9.0.2 Build 7509
> > >
> > > Hello,
> > > I have heard that there is a way to import userobjects that are of
> type
> > > drawobject into a pibble
> > > from the raw source code. I was trying to import an userobject of
type
> > > line, with no success:
> > >
> > > Here is the source:
> > >
> > > PBExportHeader$u_line.sru
> > > forward
> > > global type u_line from line
> > > end type
> > > end forward
> > >
> > > global type u_line from line
> > > boolean Enabled=true
> > > int BeginX=5
> > > int BeginY=5
> > > int EndX=15
> > > int EndY=5
> > > int LineThickness=8
> > > long LineColor=16711680
> > > end type
> > > global u_line u_line
> > >
> > > Are you able to do this or is this just a rumor floating around the
web?
> > > and if so, with what objects controls
> > > can you do this with (rectangle, roundrectangle, oval, line)?
> > >
> > > Thanks in advance,
> > >
> > > Eric
> > >
> > >
> > >
> > >
> > >
> > >
>
>


Millard Brown Posted on 2005-03-22 14:26:01.0Z
Sender: a99.42402875.1804289383@sybase.com
From: Millard Brown
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Importing a Line control
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42402af3.acb.1681692777@sybase.com>
References: <421cb2ce$1@forums-2-dub>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 22 Mar 2005 06:25:56 -0800, 10.22.241.42
Lines: 47
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 22 Mar 2005 06:25:56 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 22 Mar 2005 06:26:01 -0800
X-Trace: forums-1-dub 1111501561 10.22.108.75 (22 Mar 2005 06:26:01 -0800)
X-Original-Trace: 22 Mar 2005 06:26:01 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8274
Article PK: 735533

Eric,

What results are you getting?

Regards,
Millard[TeamSybase]

> Verison PB 9.0.2 Build 7509
>
> Hello,
> I have heard that there is a way to import userobjects
> that are of type drawobject into a pibble
> from the raw source code. I was trying to import an
> userobject of type line, with no success:
>
> Here is the source:
>
> PBExportHeader$u_line.sru
> forward
> global type u_line from line
> end type
> end forward
>
> global type u_line from line
> boolean Enabled=true
> int BeginX=5
> int BeginY=5
> int EndX=15
> int EndY=5
> int LineThickness=8
> long LineColor=16711680
> end type
> global u_line u_line
>
> Are you able to do this or is this just a rumor floating
> around the web? and if so, with what objects controls
> can you do this with (rectangle, roundrectangle, oval,
> line)?
>
> Thanks in advance,
>
> Eric
>
>
>
>
>
>