This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
In my form i create an html file that contains some javascript code to call the google maps api and show a map with some data in it. I need to open this html in one form and show it. If awoleie is not available is there another solution to my problem?
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=<<yourTable.yourX>>&y=<<yourTable.yourY>>"></iframe>])
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="<<this.wcID>>">]);
+ [<iframe src="<<URL of target page>>"></iframe>];
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
Actually my code is int container's wcHTMLGen.
What does cointain tlInnerHTML
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
tlInnerHTML indicates that FAS generates HTML for elements inside the container - in this case HTML inside <div></div> is updated
But where i have to put the code you sent ?
Actually my code is int container's wcHTMLGen.
What does cointain tlInnerHTML
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
procedure wFormCallBack
lparameters userHasChangedSomething
if m.userHasChangedSomething
thisForm.someProperty = whatHasChanged && or thisForm.HTMLcontainer.someProperty
thisForm.HTMLcontainer.wlContentChanged = .T.
endifprocedure HTMLcontainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance && [.F.] {en} render container's inner HTML
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="<<this.wcID>>">]);
+ [<iframe src="<<URL of target page built with thisForm.someProperty>>"></iframe>];
+ Iif(m.tlInnerHTML, [], [</div>]);
)
Can i have a form with a button and a container. WHen i click on the button i call a form and in the button's wformcallback change something and then show something (always n html format) in the container ?
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
The code i have in my wchtmlgen() is this:
Local cUser, cUrl
cUser = ThisForm.UserName
cUrl = "http://frontend.acut.it/acut/aupd/"
This.wcHTML = textmerge([<iframe src="] + [getposition.Html?usr=] + cUser + [&url=] + cUrl + [" width="] + Str(This.Width,4) + [" height="] + Str(This.Height,4) + ["></iframe>])
In UserName_assign() method i set container.wlcontentchanged = .T.
sure,
procedure wFormCallBack
lparameters userHasChangedSomething
if m.userHasChangedSomething
thisForm.someProperty = whatHasChanged && or thisForm.HTMLcontainer.someProperty
thisForm.HTMLcontainer.wlContentChanged = .T.
endifprocedure HTMLcontainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance && [.F.] {en} render container's inner HTML
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)
Can i have a form with a button and a container. WHen i click on the button i call a form and in the button's wformcallback change something and then show something (always n html format) in the container ?
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">]); && this is important for updates
+ [<iframe src=""></iframe>];
+ Iif(m.tlInnerHTML, [], [</div>]); && this is important for updates
)
I continue to have this error message:
The code i have in my wchtmlgen() is this:
Local cUser, cUrl
cUser = ThisForm.UserName
cUrl = "http://frontend.acut.it/acut/aupd/"
This.wcHTML = textmerge([<iframe src="] + [getposition.Html?usr=] + cUser + [&url=] + cUrl + [" width="] + Str(This.Width,4) + [" height="] + Str(This.Height,4) + ["></iframe>])
In UserName_assign() method i set container.wlcontentchanged = .T.
sure,
procedure wFormCallBack
lparameters userHasChangedSomething
if m.userHasChangedSomething
thisForm.someProperty = whatHasChanged && or thisForm.HTMLcontainer.someProperty
thisForm.HTMLcontainer.wlContentChanged = .T.
endifprocedure HTMLcontainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance && [.F.] {en} render container's inner HTML
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)
Can i have a form with a button and a container. WHen i click on the button i call a form and in the button's wformcallback change something and then show something (always n html format) in the container ?
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
please replace
[<div id="">]
by
[<div id="] + this.wcID + [">]
I continue to have this error message:
The code i have in my wchtmlgen() is this:
Local cUser, cUrl
cUser = ThisForm.UserName
cUrl = "http://frontend.acut.it/acut/aupd/"
This.wcHTML = textmerge([<iframe src="] + [getposition.Html?usr=] + cUser + [&url=] + cUrl + [" width="] + Str(This.Width,4) + [" height="] + Str(This.Height,4) + ["></iframe>])
In UserName_assign() method i set container.wlcontentchanged = .T.
sure,
procedure wFormCallBack
lparameters userHasChangedSomething
if m.userHasChangedSomething
thisForm.someProperty = whatHasChanged && or thisForm.HTMLcontainer.someProperty
thisForm.HTMLcontainer.wlContentChanged = .T.
endifprocedure HTMLcontainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance && [.F.] {en} render container's inner HTML
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)
Can i have a form with a button and a container. WHen i click on the button i call a form and in the button's wformcallback change something and then show something (always n html format) in the container ?
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
-- thn (FoxInCloud)
$('main_scx-_pageframe1-page1-cntweb').update('<iframe src="getposition.Html?usr=M.BOSETTI&url=http://frontend.acut.it/acut/aupd/" width=" 208" height=" 196"></iframe>');
or on this that is after
var oForm = $('main_scx_caption'); oForm && oForm.update && oForm.update(oForm.innerHTML.sub(/ - <a title=.+/i, '') + ' - <a title="In case of trouble, click to send a support request by email ACUT erp" href="mailto:FoxInCloud App Admin<appAdmin@yourDomain.com>?subject=ACUT erp - trouble with form main_scx at ::1 server: 02:10:32 PM">::1 server: 02:10:32 PM <img src="Images/email_error.png" style="vertical-align:text-top;" /></a>');
sure,
procedure wFormCallBack
lparameters userHasChangedSomething
if m.userHasChangedSomething
thisForm.someProperty = whatHasChanged && or thisForm.HTMLcontainer.someProperty
thisForm.HTMLcontainer.wlContentChanged = .T.
endifprocedure HTMLcontainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance && [.F.] {en} render container's inner HTML
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)
Can i have a form with a button and a container. WHen i click on the button i call a form and in the button's wformcallback change something and then show something (always n html format) in the container ?
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...
can you drop me (by PM) an URL on your dev machine so that I can see what happens?
Thks,
Provided you have an element with id = "main_scx-_pageframe1-page1-cntweb", this instruction should work:
can you drop me (by PM) an URL on your dev machine so that I can see what happens?
Thks,
Provided you have an element with id = "main_scx-_pageframe1-page1-cntweb", this instruction should work:
can you drop me (by PM) an URL on your dev machine so that I can see what happens?
Thks,
procedure yourContainer.wcHTMLgen
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur
local ciFrameciFrame = [<iframe src="] + <URL of target page> + ["></iframe>]
if m.tlInnerHTML
this.wcHTML = m.ciFrame
else
m.toHTMLgen.cHTMLadd = m.ciFrame
m.toHTMLgen.lHTMLaddInside = .T.
endif
Is there a way to position the container where i want and not at the top of the form ?
Provided you have an element with id = "main_scx-_pageframe1-page1-cntweb", this instruction should work:
can you drop me (by PM) an URL on your dev machine so that I can see what happens?
Thks,
-- thn (FoxInCloud)
I just keep being amazed at how many features FiC has,
Michele,
You can adapt your code as explained below,
#if .F. && {en} implementation sample: render an external web page
this.wcHTML = Textmerge('';
+ Iif(m.tlInnerHTML, [], [<div id="">] );
+ [<iframe src=""></iframe>] ;
+ Iif(m.tlInnerHTML, [], [</div>]);
)&& {en} if URL of target page can change due to user action and/or thisForm.Init(),
&& {en} 1- at design time or this.Init(), set:
this.wlContentDynamic = .T.&& {en} 2- after each change, set:
this.wlContentChanged = .T.#endif
Using wcHTMLGEN what i asked is working fine, but can i set wchtmlgen after i have initialized the form ? wcHtmlGen value depends on one parameter i pass to the form, but when i read this parameter in the form's init() i can change container's wcHtmlgen but the show html doesn't change....
Can you send us by PM an URL and/or UI steps so that we can see this beauty ... ;-)
thks
Happy Easter to you
Using wcHtmlGen i solved the problem.....without Oleie control...
Thanks
in .wcHTMLgen(), you can get:
m.toHTMLgen.oConfigApp.cHTMLpath && site home dir
m.toHTMLgen.oConfigApp.cTempPathPhysical && site temp dir
Is there a global or property or a public variable where i can recover the full path to the phisical web folder where my app resides ?
sure, it'll override default HTML code
But in This.wcHTML i can put Html code ?
you might try to add a container to your form, and implement its .wcHTMLgen() method like follows:
LPARAMETERS toHTMLgen AS awHTMLgen OF awHTML.prg, tlInnerHTML && {en} awHTMLgen instance {fr} instance de awHTMLgen && [.F.] {en} render container's inner HTML {fr} Rendre l'intérieur du conteneur&& {en} Implement in sub-class for custom HTML rendering or adding code to form's JavaScript
&& {fr} Implémenter en sous-classe pour rendu HTML spécifique ou ajouter du JavaScript au formulaire
this.wcHTML = textmerge([<iframe src="https://maps.google.com?x=&y= )"></iframe>]
&& replace x and y by whatever parameters Google expects to locate the map
Not urgently, but if there is a way to open this page even in another form or in the browser for the moment i can wait. If instead it is possible to insert this option in Fic it is better...for our project, based on google maps, it is necessary.
Ciao Michele,
awoleie is not supported yet in Web mode
Is is something you need urgently?
I isnert in a form the awoleie class object....but when i try to navigate to a specified url nothing happens...The html file i wanto to navigate is on local drive. The command i use is
This.oWeb.Navigate(cHtml4)
where chtml4 contains the path for the local drive...