|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Wed Feb 12, 2014 1:44 pm Post subject: New ClearWin+ web browser control |
|
|
A new format code %wb has been added in order to provide web browser controls. It is available now for beta testing by downloading from http://www.silverfrost.com/beta/salflibc.exe or http://www.silverfrost.com/beta/clearwin64.exe.
Here is a sample program and screen clip...
Code: | !FTN95$WINAPP
program WebPage
use clrwin$
integer iw
integer,external::cbForum,cbWeb
iw=winio$("%ww[no_border]%ca[New HTML]&")
iw=winio$("%pm[Back,Forward,History,Copy,Forum]&", &
& "wbGoBack", "wbGoForward", "wbHistory", "wbCopy", cbForum)
iw=winio$("%pv%60.30^wb[http://www.silverfrost.com]", cbWeb)
end
integer function cbForum()
use clrwin$
integer r
r = wbCommand$("http://forums.silverfrost.com")
cbForum = 2
end function
integer function cbWeb()
use clrwin$
character(len=256)::reason,url
reason = clearwin_string$("CALLBACK_REASON")
url = clearwin_string$("CURRENT_URL")
print*, reason(1:len_trim(reason)), " = ", url(1:len_trim(url))
cbWeb = 2
end function
|
|
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Feb 14, 2014 2:30 am Post subject: |
|
|
Paul,
This sample did not compile in my case. The error
!FTN95$WINAPP
*** Missing expression
And when remove this line then it compiles but EXE could not start
Also, is it possible to post ZIP files for latest build libraries instead of EXE? EXEs are associated with the possibility if getting viruses and are very often blocked by the admins at work. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Feb 14, 2014 8:45 am Post subject: |
|
|
Are you using the latest release of FTN95?
If not then it would be necessary to translate the sample to use @ rather than $ etc.. You will also need a new clearwin.ins which I have now added to the download. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Feb 14, 2014 2:16 pm Post subject: |
|
|
Paul,
Thanks, but I thought it is pretty recent, done update a months or two ago, but will look at updating again.
/* Is it possible to implement FTN95 Update same one click automatic way as cellphones update their apps? I wrote many times that the update is a bit cumbersome, that the whole installation process is confusing, leaves the questions if you have done everything correctly, not self-explanatory even for those who have done that gazillion times for a quarter of century, let alone being novice-friendly or cool looking. Or may be the Clearwin+ itself checks for compatibility of all controls with FTN95 and informs about possible troublems? This check would not slow down most of controls since they do not have to be fast. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Feb 14, 2014 4:44 pm Post subject: |
|
|
Thanks for the suggestion. In the longer term we could do something for the main releases but not (I guess) for the beta releases. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|