Search found 77 matches

by Detlef
Wed Nov 13, 2024 8:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Buttonbar Hided RESOLVED
Replies: 2
Views: 549

Re: Buttonbar Hided

Silvio,
you must build the button bar using the 'ON INIT' clause.
Like this:
#include "FiveWin.ch"

FUNCTION Main()
//-------------
local oDlg

DEFINE DIALOG oDlg ;
SIZE 800, 600 PIXEL TRUEPIXEL ;
TITLE " Dialog" COLOR 0, CLR_WHITE

ACTIVATE DIALOG oDlg CENTER;
ON INIT BuildBar( oDlg )

RETURN ...
by Detlef
Tue Nov 12, 2024 9:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: change color checkboxex on line
Replies: 3
Views: 591

Re: change color checkboxex on line

Hi Silvio,

here a strange eample:
#include "fivewin.ch"


Function main()
local oWnd
local lChk := .f., oChk

DEFINE WINDOW oWnd

@ 5, 12 CHECKBOX oChk VAR lChk;
PROMPT "hi there";
SIZE 85, 20 PIXEL;
OF oWnd COLOR CLR_BLACK, CLR_WHITE ;
ON CHANGE colorize( oChk, oWnd )

ACTIVATE WINDOW ...
by Detlef
Wed Oct 16, 2024 7:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 885

Re: a math formula

I need to make a formula to calculate a final value having an initial value for example 1 € and a fixed profit from 1 to 999
for example

If nFixedProfit is 10, nInitialBet becomes 1.50.
If nFixedProfit is from 10 to 13 nInitialBet becomes 1.50.
If nFixedProfit is 14 nInitialBet becomes 2.00
If ...
by Detlef
Sat Aug 10, 2024 6:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Timeout to close App
Replies: 16
Views: 3696

Re: Timeout to close App

Hi Jimmy,
to know that the mouse has been moved you could watch the x y coordinates of the screen cursor.
There is a function in FWH GetCursorPos() that gives you these coordinates.

Regards
Detlef
by Detlef
Fri Feb 09, 2024 8:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: webview: toggle-switch replaceing TSwitch
Replies: 1
Views: 278

Re: webview: toggle-switch replaceing TSwitch

That’s really impressive, Otto! Cool. :D
by Detlef
Tue Feb 06, 2024 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 614

Re: Search by line

If you give me your email adress I will send you the docs.
by Detlef
Tue Feb 06, 2024 4:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 614

Re: Search by line

You could use regex function HB_RegEx().
by Detlef
Tue Feb 06, 2024 8:51 am
Forum: FiveWin for Harbour/xHarbour
Topic: REDEFINE BUTTON with custom font
Replies: 12
Views: 1470

Re: REDEFINE BUTTON with custom font

Many thanks João,

I didn't know this emulator.
It works fine. :D

Best regards, Detlef
by Detlef
Mon Feb 05, 2024 9:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WEBVIEW2 and xBrowse
Replies: 7
Views: 858

Re: WEBVIEW2 and xBrowse

That's simply great, Otto.
Many thanks for sharing this.
by Detlef
Sun Feb 04, 2024 9:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: REDEFINE BUTTON with custom font
Replies: 12
Views: 1470

Re: REDEFINE BUTTON with custom font

karinha wrote:Ruth, in workshop.exe, try Borland Checkbox Style.

Regards.
Hi João,

do you mean Borland Resource Workshop?
If so, does workshop.exe run on your machine?
On my Windows 11 it crashes. :cry:

Kind regards, Detlef
by Detlef
Tue Jan 30, 2024 11:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 sample
Replies: 16
Views: 2458

Re: WebView2 sample

Dear Antonio, Enrico,

I made a clean install of FWH and xHarbour and now my problem is solved.
One error was my modified buildx.bat.
Because I thought never using zip functions I put the entry
echo %hdirl%\hbzip.lib + >> b32.bc as comment. :x

I'm very sorry having wasted your time with my ...
by Detlef
Mon Jan 29, 2024 11:55 am
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 sample
Replies: 16
Views: 2458

Re: WebView2 sample

I could avoid the error about "ModuleFakeDyn" by setting the right include path.
But I'm not able to link the tWebView.obj into my exe.

I'm sure doing something wrong when adding the obj file into the linking section of buildx.bat
by Detlef
Mon Jan 29, 2024 8:44 am
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 sample
Replies: 16
Views: 2458

Re: WebView2 sample

Dear Antonio,

yes, I have the file tWebView.prg in source\classes.
And I put this into samples\webview.prg to compile and link.
But it doesn't work.

This is the message if I try to compile tWebView.prg to tWebView.obj:
Error E2451 twebview.c 71: Undefined symbol 'ModuleFakeDyn'
Error E2141 ...
by Detlef
Sun Jan 28, 2024 6:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 sample
Replies: 16
Views: 2458

Re: WebView2 sample

Silvio.Falconi wrote: install https://developer.microsoft.com/en-us/m ... /webview2/ x86 version before using it
then U ust have WebView2Loader.dll and webview.dll in your folder
Thanks, Silvio.
I already did this but the errors do remain.
by Detlef
Sun Jan 28, 2024 5:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: WebView2 sample
Replies: 16
Views: 2458

WebView2 sample

Dear Antonio,

I want to start a new thread about this topic because the old one is getting confusing.

I do not succeed trying to create the sample program 'webview.prg' which I found in FWH 22.10.
The linking process terminates with following messages:
Turbo Incremental Link 6.70 Copyright (c ...