IS IT POSSIBLE TO MAKE THIS CONTROL

IS IT POSSIBLE TO MAKE THIS CONTROL

Postby INFORMAISVRB » Thu Feb 08, 2024 3:48 pm

INFORMAISVRB
 
Posts: 51
Joined: Tue Mar 23, 2010 12:53 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby vilian » Thu Feb 08, 2024 5:43 pm

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 978
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Otto » Fri Feb 09, 2024 1:42 am

Hello,
I recommend using WebView2.
The painting of the TSwitch in OVALSTYLE could be improved.

Best regards,
Otto

webview2
Image

FW
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6333
Joined: Fri Oct 07, 2005 7:07 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby INFORMAISVRB » Fri Feb 09, 2024 2:46 pm

WebView2

is it functional ?

how to use ?
INFORMAISVRB
 
Posts: 51
Joined: Tue Mar 23, 2010 12:53 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Antonio Linares » Fri Feb 09, 2024 6:20 pm

> WebView2

Si

> is it functional ?

Yes!

> how to use ?

Please review webview*.prg examples in FWH\samples
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby TimStone » Fri Feb 09, 2024 7:44 pm

A response is given to look at TSwitch control.
A further response is given that the control is incomplete because it doesn't have a prompt ability, nor does it have resource implementation
Last edited by TimStone on Sat Feb 10, 2024 1:41 am, edited 1 time in total.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Antonio Linares » Fri Feb 09, 2024 7:56 pm

Dear Tim,

I fully agree with you

WebView is opening new possibilities but users should not be forced to use it

FWH provides a Class TSwitch that includes a ::lOvalStyle
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42113
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Otto » Fri Feb 09, 2024 8:12 pm

Tim,
The challenge of integrating modern UI elements into traditional applications involves technological compromises and economic constraints.

The cost of updates, for example for TSwitch, can outweigh the benefits, leading to a difficult balance between innovation and financial feasibility.

I'm not very familiar with this, but I think one would need to reprogram FIVEWIN from the traditional Windows API (WinAPI) to WinUI,
which is the latest and most modern user interface library for Windows, to achieve nearly the same results on the desktop.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6333
Joined: Fri Oct 07, 2005 7:07 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby TimStone » Fri Feb 09, 2024 9:27 pm

was tSwitch updated to provide for the use in resource files ?
Last edited by TimStone on Sat Feb 10, 2024 1:41 am, edited 1 time in total.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Marc Venken » Fri Feb 09, 2024 9:42 pm

WebView could also become a separate forum ?

In all cases Webview is not interesting for people that are not willing to use it. It would keep the forum more on topic.

In Belgium there was a serious hack. 320.000 peoples data were stolen. Since then we are getting phonecalls from the other side of the world, putting down in hope that people call back on a heavy cost phoneline.
There are always people not smart and looking and call back.

For me... no online data
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1437
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby TimStone » Fri Feb 09, 2024 11:53 pm

Thankfully, FWH has given us tools to take advantage of those web services we do need.

Of course, I was asking a question about an existing control, and I only wanted to know if it now worked with resources. I don't have to use it. My clients are fine with a checkbox for logicals, but since they see it in other applications, IF it were available, I could use it.
Last edited by TimStone on Sat Feb 10, 2024 1:42 am, edited 1 time in total.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Otto » Sat Feb 10, 2024 12:39 am

Tim,
Please explain to me why you need the internet for WebView2 or mod_harbour.
It works wonderfully on a local network or even on a single PC.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6333
Joined: Fri Oct 07, 2005 7:07 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby TimStone » Sat Feb 10, 2024 12:47 am

Why would I re-write a very complex program with over 100,000 lines of code, to use on a network, when it works perfectly on one now, is rock solid, incredibly fast, and completely satisfies my clients? How would they benefit?

If it was a New program, fine, but I see no gain from doing all of that with this one.
Last edited by TimStone on Sat Feb 10, 2024 1:49 am, edited 2 times in total.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby Otto » Sat Feb 10, 2024 1:16 am

Tim,
Do you see your preconceived opinion?

Now, because it turns out that you are completely wrong with your claim that it needs the internet,
you list a series of points that have nothing to do with the matter.

The fact is, you don't need the internet for WebView2 and mod_harbour.

And that's where the whole problem started. These preconceived opinions.

And that's unfortunate because you have the reputation of an expert in this group, and it unsettles the less experienced.

Please be fair and admit that I am right, there is no need for the internet for webview2 and mod harbour.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6333
Joined: Fri Oct 07, 2005 7:07 pm

Re: IS IT POSSIBLE TO MAKE THIS CONTROL

Postby TimStone » Sat Feb 10, 2024 1:28 am

Seriously, this is ridiculous. I accepted your solution can be used on a network in my last comment.

All I asked is if tSwitch can now work with resources since Nages said elsewhere it couldn’t.

No problem. I’m done. I don’t really need an answer. Bye.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: albeiroval, cnavarro and 68 guests