FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour IS IT POSSIBLE TO MAKE THIS CONTROL
Posts: 56
Joined: Tue Mar 23, 2010 12:53 PM
IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Thu Feb 08, 2024 03:48 PM
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Thu Feb 08, 2024 05:43 PM
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 01:42 AM
Hello,
I recommend using WebView2.
The painting of the TSwitch in OVALSTYLE could be improved.

Best regards,
Otto

webview2


FW
Posts: 56
Joined: Tue Mar 23, 2010 12:53 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 02:46 PM

WebView2

is it functional ?

how to use ?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 06: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 07: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

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 07: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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 08: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

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 09:27 PM

was tSwitch updated to provide for the use in resource files ?

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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Fri Feb 09, 2024 09: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.08 with Harbour
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: 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.

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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: 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

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: 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.
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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Sat Feb 10, 2024 01: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

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: IS IT POSSIBLE TO MAKE THIS CONTROL
Posted: Sat Feb 10, 2024 01: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