The VFP 9 beta can now be downloaded from . Get it while it's hot...
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004
|
FW: VFUG April-May Newsletter - Z32
?
||||||||||||||||||||||||||||||||||||||||||||||||||||||||???
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VFUG -
April-May 2004 VFUG Newsletter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This is an
official Virtual FoxPro User Group (VFUG) publication. You are receiving this
because you indicated in your member profile that would like to receive all
new VFUG content. If you no longer want to automatically receive this
newsletter via e- mail, please login to the VFUG site (http://www.VFUG.org)
and adjust your member options accordingly by first choosing "Members" in the
upper control panel. Then select "Update your Account information" to get to
the final screen where you can choose your mailout preferences under
"Mailing". [This is also where you will change/update your e-mail address.]
Then click on "Update my personal info" and you're done!
If you have
forgotten your login to the site, use the "Retrieve Forgotten Login" selection
at the main VFUG screen to help you get it back. Just enter the e-mail address
you entered when you created your VFUG account and VFUG will e-mail you your
login name and password.
You must
maintain your own account.
****
Virtual FoxPro
User Group
Copyright ?
2004, Virtual FoxPro User Group, Orlando (Florida), All Rights Reserved
barbara@...??
|
Check this out... I just stumbled across it.? Suppose you've got two
parallel datasets....
data1\myDBC.dbc
data2\myDBC.dbc
...and you want to pull some data from one into the other and then do
some other stuff.? You might try...
OPEN DATABASE data1\myDBC
USE myDBC!Table1
APPEND FROM data2\Table1
...and that would work fine, but move on to table 2
USE myDBC!Table2
APPEND FROM data2\Table2
...and it doesn't work properly!? Why?? Here's the gotcha:
When you APPEND FROM data2\Table1, it opened up the second database
that Table1 is contained in, also called myDBC.? Then when you went to
USE myDBC!Table2, which database does it open it from???? You can't be
sure.? In my case it's consistently opening it from the second
database.? One way around this is to replace USE myDBC!Table2 with USE
data1\Table2.
Eric
P.S. Does the Ripon Cookie Factory have a meeting room?
|
PJ,
I still live in Ripon and only work down here in Milwaukee.
Our office is not big enough to host a madfox meeting I am
afraid.
Einar
?
?
toggle quoted message
Show quoted text
Einar,
?
Maybe
the group might feel up to a road trip?? How about scheduling something for
next month or the following month, where we crash Milwaukee and see the
sites?? Are you open to this?
?
P.J.
Einar,
?
You can do it in less that 1.5 hrs.? (Bring
your children along ... Maybe we could hire Dave's daughter to musically
entertain them ...? after all, a concert is a concert no matter the
audience ... it's just a matter of perspective).
?
Jim in Lodi
----- Original Message -----
Sent: Tuesday, May 18, 2004 7:37
AM
Subject: RE: [madfox_vfp] Web Connect
Question
PJ, I wish I could come to Madtown tonight. I would
love to come to a user meeting and give ya'll the lowdown about
ActiveVFP, but this required careful coordination with my wife. I have
been assigned the task of keeping an eye on our kids Tuesday evening and
night as she is working the graveyard shift at a hospital. Going to a
madfox meeting would require careful planning and several deposits into
the emotional bank account so I could make a withdrawal from the same
account and go to madtown :) Anywho I need a little time to prepare
myself for a ActiveVFP presentation (the fact that I need to prepare does
not guarantee a great presentation but it will be better than if I didn't
prepare). Also I need to coordinate this with work since I am usually
here until 4-5pm (how long does it take to drive from Milwaukee to
Madtown?)
Einar
-----Original
Message----- From: PJ Fernandez [mailto:pfernandez@...] Sent:
Monday, May 17, 2004 6:33 PM To: madfox_vfp@... Subject:
RE: [madfox_vfp] Web Connect Question
Einar,
Are you coming
tomorrow?? Please tell us all the skinny about
ActiveVFP.
P.J.
-----Original Message----- From: Einar
Kvandahl [mailto:ekvandahl@...] Sent: Monday, May 17, 2004 3:45
PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web
Connect Question
Peter, I have only used wc to connect to
internet resources from a desktop app, but I guess you can also use wc to
build a webapp. I have found it very easy to work with ActiveVFP and I
have gotten fast response to my questions regarding ActiveVFP from Claude
Fucht (not sure about the spelling) on UT. I have created a pretty cool
(if I may say so myself) task manager called TaskAsap (go to
www.iotechno.com and click on the products/suppor clink on top and you
should find a link to the webapp with usernname and password if you want
to check it out keep in mind that the app is currently in beta and even
though I don't think there are any glitches there might be some anyways
time to close this comment and continue where I left off) using strictly
VFP through ActiveVFP and some javascript code for browser side stuff.
ActiveVFP is nothing more than a quick way of setting up a project
to create a MTDLL that you can call from either ASP or ASP.NET. It
works great and you can use syntax that is familiar to you.
UT
also has a section for ActiveVFP where you can read about
questions posted.
Did I mention that ActiveVFP is free? Well just
in case I didn't I'll just say that ActiveVFP is free
:)
Einar
-----Original
Message----- From: Foxprotalk@...
[mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To:
madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect
Question
Einar:
I remember seeing Active VFP a few years ago
at one of the devcon's. Chris Lange was the designer as I
recall.
Do you find it easier/better than web connect?? Have you
found that each tool has its place?? If so, when would you use one
over the other.
Thanks,
Peter d.
> > >
You are welcome. Glad I could help. > Working with webapps is a lot of
fun. > I would recommend checking out www.activevfp.com it is very
cool. > > Einar > > > > >
-----Original Message----- > From: Foxprotalk@...
[mailto:Foxprotalk@...] > Sent: Friday, May 14, 2004 10:56
AM > To: madfox_vfp@... > Subject: Re: [madfox_vfp]
Web Connect Question > > Einar: > > Thanks - that
helped me solve it.? Basically I had the window.open() > call,
but it was cluttered with extra garbage.? I stripped it down
to: > window.open(cURL) and it gave me what I wanted! > >
Thanks.? That URL is an excellent reference for the
various parameters. > > Dave - thanks also for the idea - I
did check the _hyperlink.vcx and > it's a good place for ideas around
this topic. > > peter d. > > > > >
> > Check out > > >
> ht > > ml > > /reference/methods/open_0.asp >
> Window.open() takes several parameters and you can spcify the size
> > of the window (or fullsize). > > Please let me know
if you need further help. > > Einar > > > >
> > > > > > -----Original Message----- >
> From: Foxprotalk@... [mailto:Foxprotalk@...] > > Sent:
Friday, May 14, 2004 9:59 AM > > To:
madfox_vfp@... > > Subject: Re: [madfox_vfp] Web
Connect Question > > > > Einar: > > >
> Currently I have approximately 2 approaches: > > > >
1.? Just a hyperlink to another form.? When clicked, the next form
> > fills in the current screen.? It's that scenario that I'd
like a new
> > browser window to open. > > >
> 2.? My second approach I open a separate window, but most of it's
> > control features don't appear.? Here's the code: >
> > > Within my PRG that generates the screen that contains the
button to > > jump to a different URL: > > Basically, I
want the user to click a button and be taken to > > "CodeEdit.TIS"
in a separate browser window.? Currently it takes > > them
there in a different browser window, but the resultant window > >
is missing some of the standard navigation features, etc. > >
> > ***within a PRG: > > > >???
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") >
>??? lobtn18.cvalue="Codes EDIT" >
>??? lobtn18.cwinfunction="ViewLogPopup()" >
>??? lobtn18.cwinName="ViewPop" >
>??? lobtn18.lReadOnly=.f. > >???
lobtn18.cwinURL="CodesEdit.TIS"?? > > >
>??? lobtn18.renderjava() > > *** > >
> > And - within my "PCDWC.prg": > > > > DEFINE
CLASS PDwebButtonToFULLWindowURL AS PDwebControl > > >
>??? ** this is similar/same as PDwebButtonToPopupURL -
except trying > > for a full-blown separate window >
>??? ** coordinates of the resulting window >
>??? nwinLeft=5 > >???
nwinTop=5 > >??? nwinWidth=700 >
>??? nwinHeight=350 > >??? ** name
of called popup function > >???
cwinFunction="" > >??? cwinClick="" >
>??? cwinUrlVars="" > >??? ** URL
to call > >??? cwinURL="" >
>??? cwinURLoFormCall="" > >??? **
retain reference to the java object created at top of calling > >
page routine > >??? cwinName="POPUP" >
>??? > >??? FUNCTION
Render > >??????? RETURN
THIS.RenderButton() > >??? ENDFUNC > >
> >??? FUNCTION RenderJava >
>???????????
> >???????
response.writeln([]) > > >
>??? ENDFUNC > > > > > >
> >??? FUNCTION RenderButton > > >
> > >??????? ** define the
button on the page > >??????? IF
empty(this.cwinclick) >
>???????????
this.cwinclick=this.cwinfunction >
>??????? ENDIF?? >
> > >??????? RETURN ;
>
>???????????
[<input type=button value="]+this.cvalue+["] +; >
>??????????? [
onClick="]+this.cwinclick+["]+; >
>???????????
IIF(THIS.lReadOnly,[ DISABLED>],[>]) > > >
>??? ENDFUNC > > > > ENDDEFINE >
> > > peter d. > > > > > > >
> > > > Please post the code that currently opens the
browser window. > > > > > > Einar > > >
> > > > > > > > > > > >
-----Original Message----- > > > From: Foxprotalk@...
[mailto:Foxprotalk@...] > > > Sent: Friday, May 14, 2004
8:58 AM > > > To: madfox_vfp@... > > >
Subject: [madfox_vfp] Web Connect Question > > > > >
> What's the code/setting required so that a browser form will open
> > > in > > > > a > > >
> > new, separate, full-functioning browser window? > > >
> > > I have a WC app that opens separate windows - but they
aren't full
> > > browser windows. > > >
> > > Peter d. > > > > > > >
> > > > > > > > Yahoo! Groups Links >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > ------------------------ Yahoo! Groups Sponsor
> > > ---------------------~--> Yahoo! Domains - > > > Claim > >
> > > yours for only $14.70 </FONT>> >
> href="">>
> > >C > > > li > > > ck
Here! > > >
------------------------------------------------------------ > >
> ---------~-> > > > > > > > > >
Yahoo! Groups Links > > > > > > > > >
> > > > > > > > > > Yahoo!
Groups Links > > > > > > > > >
> > > > > > > > > > >
------------------------ Yahoo! Groups Sponsor > >
---------------------~--> <FONT COLOR="#000099">Make a clean sweep
> > of > pop-up ads. Yahoo! Companion Toolbar. > >
Now with Pop-Up Blocker. Get it for free! > >
> > href=""><B>C >
> li > > ck Here! > >
------------------------------------------------------------ > >
---------~-> > > > > > > Yahoo! Groups
Links > > > > > > > > >
> > Yahoo! Groups Links > > > >
> > > > > >
------------------------ Yahoo! Groups Sponsor >
---------------------~--> Make a clean sweep
of pop-up ads. Yahoo! Companion Toolbar. > Now with Pop-Up Blocker.
Get it for free! > > href="">Cli >
ck Here! >
------------------------------------------------------------ >
---------~-> > > > Yahoo! Groups Links >
> >
Yahoo! Groups
Links
Yahoo! Groups
Links
Yahoo! Groups
Links
|
Einar,
?
Maybe
the group might feel up to a road trip?? How about scheduling something for
next month or the following month, where we crash Milwaukee and see the
sites?? Are you open to this?
?
P.J.
toggle quoted message
Show quoted text
Einar,
?
You can do it in less that 1.5 hrs.? (Bring
your children along ... Maybe we could hire Dave's daughter to musically
entertain them ...? after all, a concert is a concert no matter the
audience ... it's just a matter of perspective).
?
Jim in Lodi
----- Original Message -----
Sent: Tuesday, May 18, 2004 7:37
AM
Subject: RE: [madfox_vfp] Web Connect
Question
PJ, I wish I could come to Madtown tonight. I would
love to come to a user meeting and give ya'll the lowdown about
ActiveVFP, but this required careful coordination with my wife. I have
been assigned the task of keeping an eye on our kids Tuesday evening and
night as she is working the graveyard shift at a hospital. Going to a
madfox meeting would require careful planning and several deposits into
the emotional bank account so I could make a withdrawal from the same
account and go to madtown :) Anywho I need a little time to prepare
myself for a ActiveVFP presentation (the fact that I need to prepare does
not guarantee a great presentation but it will be better than if I didn't
prepare). Also I need to coordinate this with work since I am usually
here until 4-5pm (how long does it take to drive from Milwaukee to
Madtown?)
Einar
-----Original
Message----- From: PJ Fernandez [mailto:pfernandez@...] Sent:
Monday, May 17, 2004 6:33 PM To: madfox_vfp@... Subject:
RE: [madfox_vfp] Web Connect Question
Einar,
Are you coming
tomorrow?? Please tell us all the skinny about
ActiveVFP.
P.J.
-----Original Message----- From: Einar
Kvandahl [mailto:ekvandahl@...] Sent: Monday, May 17, 2004 3:45
PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web
Connect Question
Peter, I have only used wc to connect to
internet resources from a desktop app, but I guess you can also use wc to
build a webapp. I have found it very easy to work with ActiveVFP and I
have gotten fast response to my questions regarding ActiveVFP from Claude
Fucht (not sure about the spelling) on UT. I have created a pretty cool
(if I may say so myself) task manager called TaskAsap (go to
www.iotechno.com and click on the products/suppor clink on top and you
should find a link to the webapp with usernname and password if you want
to check it out keep in mind that the app is currently in beta and even
though I don't think there are any glitches there might be some anyways
time to close this comment and continue where I left off) using strictly
VFP through ActiveVFP and some javascript code for browser side stuff.
ActiveVFP is nothing more than a quick way of setting up a project
to create a MTDLL that you can call from either ASP or ASP.NET. It
works great and you can use syntax that is familiar to you.
UT
also has a section for ActiveVFP where you can read about
questions posted.
Did I mention that ActiveVFP is free? Well just
in case I didn't I'll just say that ActiveVFP is free
:)
Einar
-----Original
Message----- From: Foxprotalk@...
[mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To:
madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect
Question
Einar:
I remember seeing Active VFP a few years ago
at one of the devcon's. Chris Lange was the designer as I
recall.
Do you find it easier/better than web connect?? Have you
found that each tool has its place?? If so, when would you use one
over the other.
Thanks,
Peter d.
> > >
You are welcome. Glad I could help. > Working with webapps is a lot of
fun. > I would recommend checking out www.activevfp.com it is very
cool. > > Einar > > > > >
-----Original Message----- > From: Foxprotalk@...
[mailto:Foxprotalk@...] > Sent: Friday, May 14, 2004 10:56
AM > To: madfox_vfp@... > Subject: Re: [madfox_vfp]
Web Connect Question > > Einar: > > Thanks - that
helped me solve it.? Basically I had the window.open() > call,
but it was cluttered with extra garbage.? I stripped it down
to: > window.open(cURL) and it gave me what I wanted! > >
Thanks.? That URL is an excellent reference for the
various parameters. > > Dave - thanks also for the idea - I
did check the _hyperlink.vcx and > it's a good place for ideas around
this topic. > > peter d. > > > > >
> > Check out > > >
> ht > > ml > > /reference/methods/open_0.asp >
> Window.open() takes several parameters and you can spcify the size
> > of the window (or fullsize). > > Please let me know
if you need further help. > > Einar > > > >
> > > > > > -----Original Message----- >
> From: Foxprotalk@... [mailto:Foxprotalk@...] > > Sent:
Friday, May 14, 2004 9:59 AM > > To:
madfox_vfp@... > > Subject: Re: [madfox_vfp] Web
Connect Question > > > > Einar: > > >
> Currently I have approximately 2 approaches: > > > >
1.? Just a hyperlink to another form.? When clicked, the next form
> > fills in the current screen.? It's that scenario that I'd
like a new
> > browser window to open. > > >
> 2.? My second approach I open a separate window, but most of it's
> > control features don't appear.? Here's the code: >
> > > Within my PRG that generates the screen that contains the
button to > > jump to a different URL: > > Basically, I
want the user to click a button and be taken to > > "CodeEdit.TIS"
in a separate browser window.? Currently it takes > > them
there in a different browser window, but the resultant window > >
is missing some of the standard navigation features, etc. > >
> > ***within a PRG: > > > >???
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") >
>??? lobtn18.cvalue="Codes EDIT" >
>??? lobtn18.cwinfunction="ViewLogPopup()" >
>??? lobtn18.cwinName="ViewPop" >
>??? lobtn18.lReadOnly=.f. > >???
lobtn18.cwinURL="CodesEdit.TIS"?? > > >
>??? lobtn18.renderjava() > > *** > >
> > And - within my "PCDWC.prg": > > > > DEFINE
CLASS PDwebButtonToFULLWindowURL AS PDwebControl > > >
>??? ** this is similar/same as PDwebButtonToPopupURL -
except trying > > for a full-blown separate window >
>??? ** coordinates of the resulting window >
>??? nwinLeft=5 > >???
nwinTop=5 > >??? nwinWidth=700 >
>??? nwinHeight=350 > >??? ** name
of called popup function > >???
cwinFunction="" > >??? cwinClick="" >
>??? cwinUrlVars="" > >??? ** URL
to call > >??? cwinURL="" >
>??? cwinURLoFormCall="" > >??? **
retain reference to the java object created at top of calling > >
page routine > >??? cwinName="POPUP" >
>??? > >??? FUNCTION
Render > >??????? RETURN
THIS.RenderButton() > >??? ENDFUNC > >
> >??? FUNCTION RenderJava >
>???????????
> >???????
response.writeln([<SCRIPT LANGUAGE="JavaScript">]) >
>???????
response.writeln([ Yahoo! Domains - > > > Claim > >
> > > yours for only $14.70 > >
> href="">>
> > >C > > > li > > > ck
Here! > > >
------------------------------------------------------------ > >
> ---------~-> > > > > > > > > >
Yahoo! Groups Links > > > > > > > > >
> > > > > > > > > > Yahoo!
Groups Links > > > > > > > > >
> > > > > > > > > > >
------------------------ Yahoo! Groups Sponsor > >
---------------------~--> Make a clean sweep
> > of > pop-up ads. Yahoo! Companion Toolbar. > >
Now with Pop-Up Blocker. Get it for free! > >
> > href="">C >
> li > > ck Here! > >
------------------------------------------------------------ > >
---------~-> > > > > > > Yahoo! Groups
Links > > > > > > > > >
> > Yahoo! Groups Links > > > >
> > > > > >
------------------------ Yahoo! Groups Sponsor >
---------------------~--> Make a clean sweep
of pop-up ads. Yahoo! Companion Toolbar. > Now with Pop-Up Blocker.
Get it for free! > > href="">Cli >
ck Here! >
------------------------------------------------------------ >
---------~-> > > > Yahoo! Groups Links >
> >
Yahoo! Groups
Links
Yahoo! Groups
Links
Yahoo! Groups
Links
|
1.5 hours at the speed limit from the Marquette interchange to downtown MadTown, depending on traffic leaving Milw.
-= Dave
David F. Lorentzen Manager, HLA/Molecular Diagnostics Lab University of Wisconsin Hospital and Clinics 600 Highland Ave Madison, WI 53792-2472
toggle quoted message
Show quoted text
-----Original Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent: Tuesday, May 18, 2004 7:38 AM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question PJ, I wish I could come to Madtown tonight. I would love to come to a user meeting and give ya'll the lowdown about ActiveVFP, but this required careful coordination with my wife. I have been assigned the task of keeping an eye on our kids Tuesday evening and night as she is working the graveyard shift at a hospital. Going to a madfox meeting would require careful planning and several deposits into the emotional bank account so I could make a withdrawal from the same account and go to madtown :) Anywho I need a little time to prepare myself for a ActiveVFP presentation (the fact that I need to prepare does not guarantee a great presentation but it will be better than if I didn't prepare). Also I need to coordinate this with work since I am usually here until 4-5pm (how long does it take to drive from Milwaukee to Madtown?) Einar -----Original Message----- From: PJ Fernandez [mailto:pfernandez@...] Sent: Monday, May 17, 2004 6:33 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question Einar, Are you coming tomorrow? Please tell us all the skinny about ActiveVFP. P.J. -----Original Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent: Monday, May 17, 2004 3:45 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question Peter, I have only used wc to connect to internet resources from a desktop app, but I guess you can also use wc to build a webapp. I have found it very easy to work with ActiveVFP and I have gotten fast response to my questions regarding ActiveVFP from Claude Fucht (not sure about the spelling) on UT. I have created a pretty cool (if I may say so myself) task manager called TaskAsap (go to www.iotechno.com and click on the products/suppor clink on top and you should find a link to the webapp with usernname and password if you want to check it out keep in mind that the app is currently in beta and even though I don't think there are any glitches there might be some anyways time to close this comment and continue where I left off) using strictly VFP through ActiveVFP and some javascript code for browser side stuff. ActiveVFP is nothing more than a quick way of setting up a project to create a MTDLL that you can call from either ASP or ASP.NET. It works great and you can use syntax that is familiar to you. UT also has a section for ActiveVFP where you can read about questions posted. Did I mention that ActiveVFP is free? Well just in case I didn't I'll just say that ActiveVFP is free :) Einar -----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question Einar: I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall. Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other. Thanks, Peter d.
You are welcome. Glad I could help. Working with webapps is a lot of fun. I would recommend checking out www.activevfp.com it is very cool.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 10:56 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!
Thanks. That URL is an excellent reference for the various
parameters. Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.
peter d.
Check out
ht ml /reference/methods/open_0.asp Window.open() takes several parameters and you can spcify the size of the window (or fullsize). Please let me know if you need further help. Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 9:59 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Currently I have approximately 2 approaches:
1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new
browser window to open.
2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:
Within my PRG that generates the screen that contains the button to jump to a different URL: Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.
***within a PRG:
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") lobtn18.cvalue="Codes EDIT" lobtn18.cwinfunction="ViewLogPopup()" lobtn18.cwinName="ViewPop" lobtn18.lReadOnly=.f. lobtn18.cwinURL="CodesEdit.TIS"
lobtn18.renderjava() ***
And - within my "PCDWC.prg":
DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl
** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window ** coordinates of the resulting window nwinLeft=5 nwinTop=5 nwinWidth=700 nwinHeight=350 ** name of called popup function cwinFunction="" cwinClick="" cwinUrlVars="" ** URL to call cwinURL="" cwinURLoFormCall="" ** retain reference to the java object created at top of calling page routine cwinName="POPUP"
FUNCTION Render RETURN THIS.RenderButton() ENDFUNC
FUNCTION RenderJava
response.writeln([<SCRIPT LANGUAGE="JavaScript">]) response.writeln([<!--]) response.writeln([ function ]+this.cwinFunction+[{]) ** I feel like some setting here needs to be set to give standard browser navigation ability response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,r es iz able=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinhe ig ht )+[";]) response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])
response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowp ro ps )]) response.writeln(this.cwinName+[.focus()])
response.writeln([}]) response.writeln([-->]) response.writeln([ </SCRIPT>])
ENDFUNC
FUNCTION RenderButton
** define the button on the page IF empty(this.cwinclick) this.cwinclick=this.cwinfunction ENDIF
RETURN ; [<input type=button value="]+this.cvalue+["] +; [ onClick="]+this.cwinclick+["]+; IIF(THIS.lReadOnly,[ DISABLED>],[>])
ENDFUNC
ENDDEFINE
peter d.
Please post the code that currently opens the browser window.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 8:58 AM To: madfox_vfp@... Subject: [madfox_vfp] Web Connect Question
What's the code/setting required so that a browser form will open in
a new, separate, full-functioning browser window?
I have a WC app that opens separate windows - but they aren't full
browser windows.
Peter d.
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70 </FONT><A href="><B
C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of
pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Cli ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links
|
Einar,
?
You can do it in less that 1.5 hrs.? (Bring
your children along ... Maybe we could hire Dave's daughter to musically
entertain them ...? after all, a concert is a concert no matter the
audience ... it's just a matter of perspective).
?
Jim in Lodi
toggle quoted message
Show quoted text
----- Original Message -----
Sent: Tuesday, May 18, 2004 7:37 AM
Subject: RE: [madfox_vfp] Web Connect
Question
PJ, I wish I could come to Madtown tonight. I would love
to come to a user meeting and give ya'll the lowdown about ActiveVFP, but
this required careful coordination with my wife. I have been assigned the
task of keeping an eye on our kids Tuesday evening and night as she is
working the graveyard shift at a hospital. Going to a madfox meeting
would require careful planning and several deposits into the emotional
bank account so I could make a withdrawal from the same account and go
to madtown :) Anywho I need a little time to prepare myself for a
ActiveVFP presentation (the fact that I need to prepare does not guarantee
a great presentation but it will be better than if I didn't
prepare). Also I need to coordinate this with work since I am usually here
until 4-5pm (how long does it take to drive from Milwaukee to
Madtown?)
Einar
-----Original Message----- From:
PJ Fernandez [mailto:pfernandez@...] Sent: Monday, May 17, 2004
6:33 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web
Connect Question
Einar,
Are you coming tomorrow?? Please
tell us all the skinny about ActiveVFP.
P.J.
-----Original
Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent:
Monday, May 17, 2004 3:45 PM To: madfox_vfp@... Subject: RE:
[madfox_vfp] Web Connect Question
Peter, I have only used wc to
connect to internet resources from a desktop app, but I guess you can also
use wc to build a webapp. I have found it very easy to work with ActiveVFP
and I have gotten fast response to my questions regarding ActiveVFP from
Claude Fucht (not sure about the spelling) on UT. I have created a pretty
cool (if I may say so myself) task manager called TaskAsap (go to
www.iotechno.com and click on the products/suppor clink on top and you
should find a link to the webapp with usernname and password if you want to
check it out keep in mind that the app is currently in beta and even though
I don't think there are any glitches there might be some anyways time to
close this comment and continue where I left off) using strictly VFP
through ActiveVFP and some javascript code for browser side stuff.
ActiveVFP is nothing more than a quick way of setting up a project
to create a MTDLL that you can call from either ASP or ASP.NET. It
works great and you can use syntax that is familiar to you.
UT also
has a section for ActiveVFP where you can read about
questions posted.
Did I mention that ActiveVFP is free? Well just in
case I didn't I'll just say that ActiveVFP is free
:)
Einar
-----Original Message----- From:
Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004
5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web
Connect Question
Einar:
I remember seeing Active VFP a few years
ago at one of the devcon's. Chris Lange was the designer as I
recall.
Do you find it easier/better than web connect?? Have you
found that each tool has its place?? If so, when would you use one
over the other.
Thanks,
Peter d.
> > >
You are welcome. Glad I could help. > Working with webapps is a lot of
fun. > I would recommend checking out www.activevfp.com it is very
cool. > > Einar > > > > >
-----Original Message----- > From: Foxprotalk@...
[mailto:Foxprotalk@...] > Sent: Friday, May 14, 2004 10:56
AM > To: madfox_vfp@... > Subject: Re: [madfox_vfp]
Web Connect Question > > Einar: > > Thanks - that
helped me solve it.? Basically I had the window.open() > call, but
it was cluttered with extra garbage.? I stripped it down to: >
window.open(cURL) and it gave me what I wanted! > > Thanks.?
That URL is an excellent reference for the various parameters. >
> Dave - thanks also for the idea - I did check the _hyperlink.vcx and
> it's a good place for ideas around this topic. > > peter
d. > > > > > > > Check out > > >
> ht > > ml > > /reference/methods/open_0.asp >
> Window.open() takes several parameters and you can spcify the size
> > of the window (or fullsize). > > Please let me know if
you need further help. > > Einar > > > > >
> > > > > -----Original Message----- > > From:
Foxprotalk@... [mailto:Foxprotalk@...] > > Sent: Friday, May
14, 2004 9:59 AM > > To: madfox_vfp@... > >
Subject: Re: [madfox_vfp] Web Connect Question > > > >
Einar: > > > > Currently I have approximately 2
approaches: > > > > 1.? Just a hyperlink to another
form.? When clicked, the next form > > fills in the current
screen.? It's that scenario that I'd like a new
> > browser
window to open. > > > > 2.? My second approach I open
a separate window, but most of it's > > control features don't
appear.? Here's the code: > > > > Within my PRG that
generates the screen that contains the button to > > jump to a
different URL: > > Basically, I want the user to click a button and
be taken to > > "CodeEdit.TIS" in a separate browser window.?
Currently it takes > > them there in a different browser window, but
the resultant window > > is missing some of the standard navigation
features, etc. > > > > ***within a PRG: > >
> >???
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") >
>??? lobtn18.cvalue="Codes EDIT" >
>??? lobtn18.cwinfunction="ViewLogPopup()" >
>??? lobtn18.cwinName="ViewPop" >
>??? lobtn18.lReadOnly=.f. > >???
lobtn18.cwinURL="CodesEdit.TIS"?? > > >
>??? lobtn18.renderjava() > > *** > >
> > And - within my "PCDWC.prg": > > > > DEFINE
CLASS PDwebButtonToFULLWindowURL AS PDwebControl > > >
>??? ** this is similar/same as PDwebButtonToPopupURL -
except trying > > for a full-blown separate window >
>??? ** coordinates of the resulting window >
>??? nwinLeft=5 > >???
nwinTop=5 > >??? nwinWidth=700 >
>??? nwinHeight=350 > >??? ** name
of called popup function > >???
cwinFunction="" > >??? cwinClick="" >
>??? cwinUrlVars="" > >??? ** URL to
call > >??? cwinURL="" > >???
cwinURLoFormCall="" > >??? ** retain reference to the
java object created at top of calling > > page routine >
>??? cwinName="POPUP" > >???
> >??? FUNCTION Render >
>??????? RETURN
THIS.RenderButton() > >??? ENDFUNC > >
> >??? FUNCTION RenderJava >
>???????????
> >???????
response.writeln([]) > > >
>??? ENDFUNC > > > > > >
> >??? FUNCTION RenderButton > > >
> > >??????? ** define the
button on the page > >??????? IF
empty(this.cwinclick) >
>???????????
this.cwinclick=this.cwinfunction >
>??????? ENDIF?? > >
> >??????? RETURN ; >
>???????????
[>
>??????????? [
onClick="]+this.cwinclick+["]+; >
>???????????
IIF(THIS.lReadOnly,[ DISABLED>],[>]) > > >
>??? ENDFUNC > > > > ENDDEFINE >
> > > peter d. > > > > > > > >
> > > Please post the code that currently opens the browser
window. > > > > > > Einar > > > >
> > > > > > > > > > >
-----Original Message----- > > > From: Foxprotalk@...
[mailto:Foxprotalk@...] > > > Sent: Friday, May 14, 2004 8:58
AM > > > To: madfox_vfp@... > > > Subject:
[madfox_vfp] Web Connect Question > > > > > > What's
the code/setting required so that a browser form will open > > >
in > > > > a > > > > > new, separate,
full-functioning browser window? > > > > > > I have a
WC app that opens separate windows - but they aren't full
> >
> browser windows. > > > > > > Peter d. >
> > > > > > > > > > > >
> > Yahoo! Groups Links > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
------------------------ Yahoo! Groups Sponsor > > >
---------------------~--> Yahoo! Domains -
> > > Claim > > > > > yours for only $14.70
> > > href="">>
> > >C > > > li > > > ck
Here! > > >
------------------------------------------------------------ > > >
---------~-> > > > > > > > > > Yahoo!
Groups Links > > > > > > > > > >
> > > > > > > > > Yahoo! Groups
Links > > > > > > > > > >
> > > > > > > > > >
------------------------ Yahoo! Groups Sponsor > >
---------------------~--> Make a clean sweep
> > of > pop-up ads. Yahoo! Companion Toolbar. > >
Now with Pop-Up Blocker. Get it for free! > >
> > href="">C >
> li > > ck Here! > >
------------------------------------------------------------ > >
---------~-> > > > > > > Yahoo! Groups
Links > > > > > > > > >
> > Yahoo! Groups Links > > > >
> > > > > > ------------------------
Yahoo! Groups Sponsor > ---------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion
Toolbar. > Now with Pop-Up Blocker. Get it for free! >
> href="">Cli >
ck Here! >
------------------------------------------------------------ >
---------~-> > > > Yahoo! Groups Links > >
>
Yahoo! Groups
Links
Yahoo! Groups
Links
Yahoo! Groups
Links
|
Re: TaskAsap @ iotechno.com
Roger,
Thanks I am glad you liked it. The app has a lot of great
features, I can't remember if all of them are available using the provided
username and password.
?
Einar
?
?
Hi Einar,
?
It was me. I couldn't resist the opportunity to check
it out. Yeah, it is a cool web app.
?
Roger
toggle quoted message
Show quoted text
I see someone has
visited TaskAsap @ iotechno.com (I assume it is someone from this usergroup cuz
it happened shortly after I posted the address). Please feel free to give me
your comments regarding the site. (i might take it personally but I will try not
to :) )
?
Einar
?
?
|
PJ, I wish I could come to Madtown tonight. I would love to come to a user meeting and give ya'll the lowdown about ActiveVFP, but this required careful coordination with my wife. I have been assigned the task of keeping an eye on our kids Tuesday evening and night as she is working the graveyard shift at a hospital. Going to a madfox meeting would require careful planning and several deposits into the emotional bank account so I could make a withdrawal from the same account and go to madtown :) Anywho I need a little time to prepare myself for a ActiveVFP presentation (the fact that I need to prepare does not guarantee a great presentation but it will be better than if I didn't prepare). Also I need to coordinate this with work since I am usually here until 4-5pm (how long does it take to drive from Milwaukee to Madtown?)
Einar
toggle quoted message
Show quoted text
-----Original Message----- From: PJ Fernandez [mailto:pfernandez@...] Sent: Monday, May 17, 2004 6:33 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question Einar, Are you coming tomorrow? Please tell us all the skinny about ActiveVFP. P.J. -----Original Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent: Monday, May 17, 2004 3:45 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question Peter, I have only used wc to connect to internet resources from a desktop app, but I guess you can also use wc to build a webapp. I have found it very easy to work with ActiveVFP and I have gotten fast response to my questions regarding ActiveVFP from Claude Fucht (not sure about the spelling) on UT. I have created a pretty cool (if I may say so myself) task manager called TaskAsap (go to www.iotechno.com and click on the products/suppor clink on top and you should find a link to the webapp with usernname and password if you want to check it out keep in mind that the app is currently in beta and even though I don't think there are any glitches there might be some anyways time to close this comment and continue where I left off) using strictly VFP through ActiveVFP and some javascript code for browser side stuff. ActiveVFP is nothing more than a quick way of setting up a project to create a MTDLL that you can call from either ASP or ASP.NET. It works great and you can use syntax that is familiar to you. UT also has a section for ActiveVFP where you can read about questions posted. Did I mention that ActiveVFP is free? Well just in case I didn't I'll just say that ActiveVFP is free :) Einar -----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question Einar: I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall. Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other. Thanks, Peter d.
You are welcome. Glad I could help. Working with webapps is a lot of fun. I would recommend checking out www.activevfp.com it is very cool.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 10:56 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!
Thanks. That URL is an excellent reference for the various
parameters. Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.
peter d.
Check out
ht ml /reference/methods/open_0.asp Window.open() takes several parameters and you can spcify the size of the window (or fullsize). Please let me know if you need further help. Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 9:59 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Currently I have approximately 2 approaches:
1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new
browser window to open.
2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:
Within my PRG that generates the screen that contains the button to jump to a different URL: Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.
***within a PRG:
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") lobtn18.cvalue="Codes EDIT" lobtn18.cwinfunction="ViewLogPopup()" lobtn18.cwinName="ViewPop" lobtn18.lReadOnly=.f. lobtn18.cwinURL="CodesEdit.TIS"
lobtn18.renderjava() ***
And - within my "PCDWC.prg":
DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl
** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window ** coordinates of the resulting window nwinLeft=5 nwinTop=5 nwinWidth=700 nwinHeight=350 ** name of called popup function cwinFunction="" cwinClick="" cwinUrlVars="" ** URL to call cwinURL="" cwinURLoFormCall="" ** retain reference to the java object created at top of calling page routine cwinName="POPUP"
FUNCTION Render RETURN THIS.RenderButton() ENDFUNC
FUNCTION RenderJava
response.writeln([<SCRIPT LANGUAGE="JavaScript">]) response.writeln([<!--]) response.writeln([ function ]+this.cwinFunction+[{]) ** I feel like some setting here needs to be set to give standard browser navigation ability response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,r es iz able=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinhe ig ht )+[";]) response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])
response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowp ro ps )]) response.writeln(this.cwinName+[.focus()])
response.writeln([}]) response.writeln([-->]) response.writeln([ </SCRIPT>])
ENDFUNC
FUNCTION RenderButton
** define the button on the page IF empty(this.cwinclick) this.cwinclick=this.cwinfunction ENDIF
RETURN ; [<input type=button value="]+this.cvalue+["] +; [ onClick="]+this.cwinclick+["]+; IIF(THIS.lReadOnly,[ DISABLED>],[>])
ENDFUNC
ENDDEFINE
peter d.
Please post the code that currently opens the browser window.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 8:58 AM To: madfox_vfp@... Subject: [madfox_vfp] Web Connect Question
What's the code/setting required so that a browser form will open in
a new, separate, full-functioning browser window?
I have a WC app that opens separate windows - but they aren't full
browser windows.
Peter d.
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70 </FONT><A href="><B
C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of
pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Cli ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links Yahoo! Groups Links Yahoo! Groups Links
|
Re: TaskAsap @ iotechno.com
Hi Einar,
?
It was me. I couldn't resist the opportunity to check
it out. Yeah, it is a cool web app.
?
Roger
toggle quoted message
Show quoted text
I see someone has
visited TaskAsap @ iotechno.com (I assume it is someone from this usergroup cuz
it happened shortly after I posted the address). Please feel free to give me
your comments regarding the site. (i might take it personally but I will try not
to :) )
?
Einar
?
?
|
Einar,
Are you coming tomorrow? Please tell us all the skinny about ActiveVFP.
P.J.
toggle quoted message
Show quoted text
-----Original Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent: Monday, May 17, 2004 3:45 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] Web Connect Question Peter, I have only used wc to connect to internet resources from a desktop app, but I guess you can also use wc to build a webapp. I have found it very easy to work with ActiveVFP and I have gotten fast response to my questions regarding ActiveVFP from Claude Fucht (not sure about the spelling) on UT. I have created a pretty cool (if I may say so myself) task manager called TaskAsap (go to www.iotechno.com and click on the products/suppor clink on top and you should find a link to the webapp with usernname and password if you want to check it out keep in mind that the app is currently in beta and even though I don't think there are any glitches there might be some anyways time to close this comment and continue where I left off) using strictly VFP through ActiveVFP and some javascript code for browser side stuff. ActiveVFP is nothing more than a quick way of setting up a project to create a MTDLL that you can call from either ASP or ASP.NET. It works great and you can use syntax that is familiar to you. UT also has a section for ActiveVFP where you can read about questions posted. Did I mention that ActiveVFP is free? Well just in case I didn't I'll just say that ActiveVFP is free :) Einar -----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question Einar: I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall. Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other. Thanks, Peter d.
You are welcome. Glad I could help. Working with webapps is a lot of fun. I would recommend checking out www.activevfp.com it is very cool.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 10:56 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!
Thanks. That URL is an excellent reference for the various
parameters. Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.
peter d.
Check out
ht ml /reference/methods/open_0.asp Window.open() takes several parameters and you can spcify the size of the window (or fullsize). Please let me know if you need further help. Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 9:59 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Currently I have approximately 2 approaches:
1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new
browser window to open.
2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:
Within my PRG that generates the screen that contains the button to jump to a different URL: Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.
***within a PRG:
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") lobtn18.cvalue="Codes EDIT" lobtn18.cwinfunction="ViewLogPopup()" lobtn18.cwinName="ViewPop" lobtn18.lReadOnly=.f. lobtn18.cwinURL="CodesEdit.TIS"
lobtn18.renderjava() ***
And - within my "PCDWC.prg":
DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl
** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window ** coordinates of the resulting window nwinLeft=5 nwinTop=5 nwinWidth=700 nwinHeight=350 ** name of called popup function cwinFunction="" cwinClick="" cwinUrlVars="" ** URL to call cwinURL="" cwinURLoFormCall="" ** retain reference to the java object created at top of calling page routine cwinName="POPUP" FUNCTION Render RETURN THIS.RenderButton() ENDFUNC
FUNCTION RenderJava response.writeln([<SCRIPT LANGUAGE="JavaScript">]) response.writeln([<!--]) response.writeln([ function ]+this.cwinFunction+[{]) ** I feel like some setting here needs to be set to give standard browser navigation ability response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,r es iz able=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinhe ig ht )+[";]) response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])
response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowp ro ps )]) response.writeln(this.cwinName+[.focus()])
response.writeln([}]) response.writeln([-->]) response.writeln([ </SCRIPT>])
ENDFUNC
FUNCTION RenderButton
** define the button on the page IF empty(this.cwinclick) this.cwinclick=this.cwinfunction ENDIF
RETURN ; [<input type=button value="]+this.cvalue+["] +; [ onClick="]+this.cwinclick+["]+; IIF(THIS.lReadOnly,[ DISABLED>],[>])
ENDFUNC
ENDDEFINE
peter d.
Please post the code that currently opens the browser window.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 8:58 AM To: madfox_vfp@... Subject: [madfox_vfp] Web Connect Question
What's the code/setting required so that a browser form will open in
a new, separate, full-functioning browser window?
I have a WC app that opens separate windows - but they aren't full
browser windows.
Peter d.
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70 </FONT><A href="><B
C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of
pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Cli ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links Yahoo! Groups Links
|
I see someone has
visited TaskAsap @ iotechno.com (I assume it is someone from this usergroup cuz
it happened shortly after I posted the address). Please feel free to give me
your comments regarding the site. (i might take it personally but I will try not
to :) )
?
Einar
?
?
?
?
|
Re: MadFox Monthly Meeting, 5/18/2004, 5:30 pm
I'll be there and will bring the soda.
?
Jim in Lodi
toggle quoted message
Show quoted text
----- Original Message -----
Sent: Monday, May 17, 2004 12:25 PM
Subject: [madfox_vfp] MadFox Monthly
Meeting, 5/18/2004, 5:30 pm
 |
Reminder
from the | |
MadFox Monthly Meeting
Tuesday May 18,
2004 5:30 pm - 8:30 pm This event
repeats on the third Tuesday of every month.
Event
Location: PJ's Place Street: 222 West
Washintong Ave., Suite 200 City, State,
Zip: Madison, WI 53703 Phone:
608-239-1509 Notes: 222 West Washintong Ave.,
Suite 200 Madison, WI 53703 |
|
Send a Yahoo!
Greeting. |
|
Set up birthday
reminders! | | | | |
Copyright ?? 2004 ??All
Rights Reserved. - |
|
Re: MadFox Monthly Meeting, 5/18/2004, 5:30 pm
Unfortunately, I'll not be able to make it - damn, that's 2 months in a
row. My wife is out-of-town, and I have to play driver for the 14 year-old, plus
she has a band concert at 7:00.
?
School
is out 6/12, which should mean no excuse for next month!
-= Dave
David F. Lorentzen Manager, HLA/Molecular Diagnostics Lab
University of Wisconsin Hospital and
Clinics 600 Highland Ave
Madison, WI? 53792-2472
toggle quoted message
Show quoted text
 |
Reminder
from the | |
MadFox Monthly Meeting
Tuesday May 18,
2004 5:30 pm - 8:30 pm This event
repeats on the third Tuesday of every month.
Event
Location: PJ's Place Street: 222 West
Washintong Ave., Suite 200 City, State,
Zip: Madison, WI 53703 Phone:
608-239-1509 Notes: 222 West Washintong Ave.,
Suite 200 Madison, WI 53703 |
|
Send a Yahoo!
Greeting. |
|
Set up birthday
reminders! | | | | |
Copyright ?? 2004 ??All
Rights Reserved. - |
|
Re: MadFox Monthly Meeting, 5/18/2004, 5:30 pm
I'm
planning on coming.? I'll bring the app I'm working on - mostly finished
other than a couple minor finalizations.? It takes an in-depth look at that
TreeView control.? So we can look at it if we want.
?
Walk In Beauty,
Cliff Smith hawkridge@... / 608 647-2366
?
?
|
I think Einar has just volunteered for a demo at a monthly meeting, eh? -= d
toggle quoted message
Show quoted text
-----Original Message----- From: Einar Kvandahl [mailto:ekvandahl@...] Sent: Mon 5/17/2004 3:44 PM To: madfox_vfp@... Cc: Subject: RE: [madfox_vfp] Web Connect Question
Peter, I have only used wc to connect to internet resources from a desktop app, but I guess you can also use wc to build a webapp. I have found it very easy to work with ActiveVFP and I have gotten fast response to my questions regarding ActiveVFP from Claude Fucht (not sure about the spelling) on UT. I have created a pretty cool (if I may say so myself) task manager called TaskAsap (go to www.iotechno.com and click on the products/suppor clink on top and you should find a link to the webapp with usernname and password if you want to check it out keep in mind that the app is currently in beta and even though I don't think there are any glitches there might be some anyways time to close this comment and continue where I left off) using strictly VFP through ActiveVFP and some javascript code for browser side stuff. ActiveVFP is nothing more than a quick way of setting up a project to create a MTDLL that you can call from either ASP or ASP.NET. It works great and you can use syntax that is familiar to you. UT also has a section for ActiveVFP where you can read about questions posted. Did I mention that ActiveVFP is free? Well just in case I didn't I'll just say that ActiveVFP is free :) Einar -----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question Einar: I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall. Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other. Thanks, Peter d. > > > You are welcome. Glad I could help. > Working with webapps is a lot of fun. > I would recommend checking out www.activevfp.com it is very cool. > > Einar > > > > > -----Original Message----- > From: Foxprotalk@... [mailto:Foxprotalk@...] > Sent: Friday, May 14, 2004 10:56 AM > To: madfox_vfp@... > Subject: Re: [madfox_vfp] Web Connect Question > > Einar: > > Thanks - that helped me solve it. Basically I had the window.open() > call, but it was cluttered with extra garbage. I stripped it down to: > window.open(cURL) and it gave me what I wanted! > > Thanks. That URL is an excellent reference for the various parameters. > > Dave - thanks also for the idea - I did check the _hyperlink.vcx and > it's a good place for ideas around this topic. > > peter d. > > > > > > > Check out > > > > ht > > ml > > /reference/methods/open_0.asp > > Window.open() takes several parameters and you can spcify the size > > of the window (or fullsize). > > Please let me know if you need further help. > > Einar > > > > > > > > > > -----Original Message----- > > From: Foxprotalk@... [mailto:Foxprotalk@...] > > Sent: Friday, May 14, 2004 9:59 AM > > To: madfox_vfp@... > > Subject: Re: [madfox_vfp] Web Connect Question > > > > Einar: > > > > Currently I have approximately 2 approaches: > > > > 1. Just a hyperlink to another form. When clicked, the next form > > fills in the current screen. It's that scenario that I'd like a new > > browser window to open. > > > > 2. My second approach I open a separate window, but most of it's > > control features don't appear. Here's the code: > > > > Within my PRG that generates the screen that contains the button to > > jump to a different URL: > > Basically, I want the user to click a button and be taken to > > "CodeEdit.TIS" in a separate browser window. Currently it takes > > them there in a different browser window, but the resultant window > > is missing some of the standard navigation features, etc. > > > > ***within a PRG: > > > > lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") > > lobtn18.cvalue="Codes EDIT" > > lobtn18.cwinfunction="ViewLogPopup()" > > lobtn18.cwinName="ViewPop" > > lobtn18.lReadOnly=.f. > > lobtn18.cwinURL="CodesEdit.TIS" > > > > lobtn18.renderjava() > > *** > > > > And - within my "PCDWC.prg": > > > > DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl > > > > ** this is similar/same as PDwebButtonToPopupURL - except trying > > for a full-blown separate window > > ** coordinates of the resulting window > > nwinLeft=5 > > nwinTop=5 > > nwinWidth=700 > > nwinHeight=350 > > ** name of called popup function > > cwinFunction="" > > cwinClick="" > > cwinUrlVars="" > > ** URL to call > > cwinURL="" > > cwinURLoFormCall="" > > ** retain reference to the java object created at top of calling > > page routine > > cwinName="POPUP" > > > > FUNCTION Render > > RETURN THIS.RenderButton() > > ENDFUNC > > > > FUNCTION RenderJava > > > > response.writeln([<SCRIPT LANGUAGE="JavaScript">]) > > response.writeln([<!--]) > > response.writeln([ function ]+this.cwinFunction+[{]) > > ** I feel like some setting here needs to be set to > > give standard browser navigation ability > > response.writeln([ var > > windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,r > > es iz able=yes,controlbox=yes,controls=yes,left=]+; > > > > TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+; > > > > [,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinhe > > ig > > ht > > )+[";]) > > response.writeln([var URL > > ="]+this.cwinURL+["]+this.cWinUrlVars+[;]) > > > > > > response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowp > > ro > > ps > > )]) > > response.writeln(this.cwinName+[.focus()]) > > > > response.writeln([}]) > > response.writeln([-->]) > > response.writeln([ </SCRIPT>]) > > > > ENDFUNC > > > > > > > > FUNCTION RenderButton > > > > > > ** define the button on the page > > IF empty(this.cwinclick) > > this.cwinclick=this.cwinfunction > > ENDIF > > > > RETURN ; > > [<input type=button value="]+this.cvalue+["] +; > > [ onClick="]+this.cwinclick+["]+; > > IIF(THIS.lReadOnly,[ DISABLED>],[>]) > > > > ENDFUNC > > > > ENDDEFINE > > > > peter d. > > > > > > > > > > > Please post the code that currently opens the browser window. > > > > > > Einar > > > > > > > > > > > > > > > -----Original Message----- > > > From: Foxprotalk@... [mailto:Foxprotalk@...] > > > Sent: Friday, May 14, 2004 8:58 AM > > > To: madfox_vfp@... > > > Subject: [madfox_vfp] Web Connect Question > > > > > > What's the code/setting required so that a browser form will open > > > in > > > > a > > > > > new, separate, full-functioning browser window? > > > > > > I have a WC app that opens separate windows - but they aren't full > > > browser windows. > > > > > > Peter d. > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > > ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - > > > Claim > > > > > yours for only $14.70 </FONT><A > > > href="><B > > > >C > > > li > > > ck Here!</B></A> > > > ------------------------------------------------------------ > > > ---------~-> > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > ---------------------~--> <FONT COLOR="#000099">Make a clean sweep > > of > pop-up ads. Yahoo! Companion Toolbar. > > Now with Pop-Up Blocker. Get it for free! > > </FONT><A > > href="><B>C > > li > > ck Here!</B></A> > > ------------------------------------------------------------ > > ---------~-> > > > > > > Yahoo! Groups Links > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. > Now with Pop-Up Blocker. Get it for free! > </FONT><A > href="><B>Cli > ck Here!</B></A> > ------------------------------------------------------------ > ---------~-> > > > Yahoo! Groups Links > > > Yahoo! Groups Links Yahoo! Groups Links
|
Peter, I have only used wc to connect to internet resources from a desktop app, but I guess you can also use wc to build a webapp. I have found it very easy to work with ActiveVFP and I have gotten fast response to my questions regarding ActiveVFP from Claude Fucht (not sure about the spelling) on UT. I have created a pretty cool (if I may say so myself) task manager called TaskAsap (go to www.iotechno.com and click on the products/suppor clink on top and you should find a link to the webapp with usernname and password if you want to check it out keep in mind that the app is currently in beta and even though I don't think there are any glitches there might be some anyways time to close this comment and continue where I left off) using strictly VFP through ActiveVFP and some javascript code for browser side stuff.
ActiveVFP is nothing more than a quick way of setting up a project to create a MTDLL that you can call from either ASP or ASP.NET. It works great and you can use syntax that is familiar to you.
UT also has a section for ActiveVFP where you can read about questions posted.
Did I mention that ActiveVFP is free? Well just in case I didn't I'll just say that ActiveVFP is free :)
Einar
toggle quoted message
Show quoted text
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 5:16 PM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question Einar: I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall. Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other. Thanks, Peter d.
You are welcome. Glad I could help. Working with webapps is a lot of fun. I would recommend checking out www.activevfp.com it is very cool.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 10:56 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!
Thanks. That URL is an excellent reference for the various
parameters. Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.
peter d.
Check out
ht ml /reference/methods/open_0.asp Window.open() takes several parameters and you can spcify the size of the window (or fullsize). Please let me know if you need further help. Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 9:59 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Currently I have approximately 2 approaches:
1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new
browser window to open.
2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:
Within my PRG that generates the screen that contains the button to jump to a different URL: Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.
***within a PRG:
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") lobtn18.cvalue="Codes EDIT" lobtn18.cwinfunction="ViewLogPopup()" lobtn18.cwinName="ViewPop" lobtn18.lReadOnly=.f. lobtn18.cwinURL="CodesEdit.TIS"
lobtn18.renderjava() ***
And - within my "PCDWC.prg":
DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl
** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window ** coordinates of the resulting window nwinLeft=5 nwinTop=5 nwinWidth=700 nwinHeight=350 ** name of called popup function cwinFunction="" cwinClick="" cwinUrlVars="" ** URL to call cwinURL="" cwinURLoFormCall="" ** retain reference to the java object created at top of calling page routine cwinName="POPUP"
FUNCTION Render RETURN THIS.RenderButton() ENDFUNC
FUNCTION RenderJava
response.writeln([<SCRIPT LANGUAGE="JavaScript">]) response.writeln([<!--]) response.writeln([ function ]+this.cwinFunction+[{]) ** I feel like some setting here needs to be set to give standard browser navigation ability response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,r es iz able=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinhe ig ht )+[";]) response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])
response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowp ro ps )]) response.writeln(this.cwinName+[.focus()])
response.writeln([}]) response.writeln([-->]) response.writeln([ </SCRIPT>])
ENDFUNC
FUNCTION RenderButton
** define the button on the page IF empty(this.cwinclick) this.cwinclick=this.cwinfunction ENDIF
RETURN ; [<input type=button value="]+this.cvalue+["] +; [ onClick="]+this.cwinclick+["]+; IIF(THIS.lReadOnly,[ DISABLED>],[>])
ENDFUNC
ENDDEFINE
peter d.
Please post the code that currently opens the browser window.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 8:58 AM To: madfox_vfp@... Subject: [madfox_vfp] Web Connect Question
What's the code/setting required so that a browser form will open in
a new, separate, full-functioning browser window?
I have a WC app that opens separate windows - but they aren't full
browser windows.
Peter d.
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70 </FONT><A href="><B
C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of
pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Cli ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
|
MadFox Monthly Meeting, 5/18/2004, 5:30 pm
 |
Reminder from
the |
|
MadFox Monthly Meeting
Tuesday May 18, 2004
5:30 pm
- 8:30 pm
This event repeats on the third Tuesday of every month.
Event Location: PJ's Place
Street: 222 West Washintong Ave., Suite 200
City, State, Zip: Madison, WI 53703
Phone: 608-239-1509
Notes:
222 West Washintong Ave., Suite 200 Madison, WI 53703
|
|
Send a Yahoo! Greeting.
|
|
Set up birthday reminders! |
|
|
|
|
Copyright ??
2004
??All Rights Reserved.
-
|
|
Einar:
I remember seeing Active VFP a few years ago at one of the devcon's. Chris Lange was the designer as I recall.
Do you find it easier/better than web connect? Have you found that each tool has its place? If so, when would you use one over the other.
Thanks,
Peter d.
toggle quoted message
Show quoted text
You are welcome. Glad I could help. Working with webapps is a lot of fun. I would recommend checking out www.activevfp.com it is very cool.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 10:56 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Thanks - that helped me solve it. Basically I had the window.open() call, but it was cluttered with extra garbage. I stripped it down to: window.open(cURL) and it gave me what I wanted!
Thanks. That URL is an excellent reference for the various parameters.
Dave - thanks also for the idea - I did check the _hyperlink.vcx and it's a good place for ideas around this topic.
peter d.
Check out
ml /reference/methods/open_0.asp Window.open() takes several parameters and you can spcify the size of the window (or fullsize). Please let me know if you need further help. Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 9:59 AM To: madfox_vfp@... Subject: Re: [madfox_vfp] Web Connect Question
Einar:
Currently I have approximately 2 approaches:
1. Just a hyperlink to another form. When clicked, the next form fills in the current screen. It's that scenario that I'd like a new browser window to open.
2. My second approach I open a separate window, but most of it's control features don't appear. Here's the code:
Within my PRG that generates the screen that contains the button to jump to a different URL: Basically, I want the user to click a button and be taken to "CodeEdit.TIS" in a separate browser window. Currently it takes them there in a different browser window, but the resultant window is missing some of the standard navigation features, etc.
***within a PRG:
lobtn18=NEWOBJECT("PDwebButtonToFULLWindowURL","pcdwc.prg") lobtn18.cvalue="Codes EDIT" lobtn18.cwinfunction="ViewLogPopup()" lobtn18.cwinName="ViewPop" lobtn18.lReadOnly=.f. lobtn18.cwinURL="CodesEdit.TIS"
lobtn18.renderjava() ***
And - within my "PCDWC.prg":
DEFINE CLASS PDwebButtonToFULLWindowURL AS PDwebControl
** this is similar/same as PDwebButtonToPopupURL - except trying for a full-blown separate window ** coordinates of the resulting window nwinLeft=5 nwinTop=5 nwinWidth=700 nwinHeight=350 ** name of called popup function cwinFunction="" cwinClick="" cwinUrlVars="" ** URL to call cwinURL="" cwinURLoFormCall="" ** retain reference to the java object created at top of calling page routine cwinName="POPUP" FUNCTION Render RETURN THIS.RenderButton() ENDFUNC
FUNCTION RenderJava response.writeln([<SCRIPT LANGUAGE="JavaScript">]) response.writeln([<!--]) response.writeln([ function ]+this.cwinFunction+[{]) ** I feel like some setting here needs to be set to give standard browser navigation ability response.writeln([ var windowprops="location=yes,scrollbars=yes,menubars=yes,toolbars=yes,res iz able=yes,controlbox=yes,controls=yes,left=]+;
TRANSFORM(this.nwinleft)+[,top=]+TRANSFORM(this.nwintop)+;
[,width=]+TRANSFORM(this.nwinwidth)+[,height=]+TRANSFORM(this.nwinheig ht )+[";]) response.writeln([var URL ="]+this.cwinURL+["]+this.cWinUrlVars+[;])
response.writeln(this.cwinName+[=window.open(URL,"MenuPopup",windowpro ps )]) response.writeln(this.cwinName+[.focus()])
response.writeln([}]) response.writeln([-->]) response.writeln([ </SCRIPT>])
ENDFUNC
FUNCTION RenderButton
** define the button on the page IF empty(this.cwinclick) this.cwinclick=this.cwinfunction ENDIF
RETURN ; [<input type=button value="]+this.cvalue+["] +; [ onClick="]+this.cwinclick+["]+; IIF(THIS.lReadOnly,[ DISABLED>],[>])
ENDFUNC
ENDDEFINE
peter d.
Please post the code that currently opens the browser window.
Einar
-----Original Message----- From: Foxprotalk@... [mailto:Foxprotalk@...] Sent: Friday, May 14, 2004 8:58 AM To: madfox_vfp@... Subject: [madfox_vfp] Web Connect Question
What's the code/setting required so that a browser form will open in
a new, separate, full-functioning browser window?
I have a WC app that opens separate windows - but they aren't full browser windows.
Peter d.
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Yahoo! Domains - Claim yours for only $14.70 </FONT><A href="><B>C li ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Cli ck Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~--> <FONT COLOR="#000099">Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! </FONT><A href="><B>Click Here!</B></A> ------------------------------------------------------------ ---------~->
Yahoo! Groups Links
|
MadFox Monthly Meeting, 5/18/2004, 5:30 pm
 |
Reminder from
the |
|
MadFox Monthly Meeting
Tuesday May 18, 2004
5:30 pm
- 8:30 pm
This event repeats on the third Tuesday of every month.
The next reminder for this event will be sent in 3 days, 4 minutes.
Event Location: PJ's Place
Street: 222 West Washintong Ave., Suite 200
City, State, Zip: Madison, WI 53703
Phone: 608-239-1509
Notes:
222 West Washintong Ave., Suite 200 Madison, WI 53703
|
|
Send a Yahoo! Greeting.
|
|
Set up birthday reminders! |
|
|
|
|
Copyright ??
2004
??All Rights Reserved.
-
|
|