Search found 1080 matches: form

Return to advanced search

FWH 24.02 nueva Clase TWebView2

... #080710;        }        .background{            width: 430px;            height: 520px;            position: absolute;            transform: translate(-50%,-50%);            left: 50%;            top: 50%;        }        .background .shape{            height: 200px;  ...
by csincuir
Sat Mar 16, 2024 5:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.02 nueva Clase TWebView2
Replies: 7
Views: 1243

Re: How to put a horizontal scroll bar at the bottom of xBrowse

Armando Here is the code ... I do have the form in a .rc but I would think you should be able to change the browse behaviour in code ?? Rao ?? REDEFINE xBROWSE oLBXA        ;         RECORDSET oRsContact        ;         COLUMNS "IDSTATUS", ...
by Rick Lipkin
Wed Mar 06, 2024 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to put a horizontal scroll bar at the bottom of xBrowse
Replies: 6
Views: 328

Re: SAPI : change Voice

... := __axRegisterHandler( oSpVoice:__hObj, { | a, b, c, d, e | OnEvent( a, b, c, d, e ) } ) al hacer Play en el form DEFINE BUTTON oBtnPlay         ROW 160         COL 460         WIDTH ...
by Danielmaximiliano
Tue Feb 13, 2024 4:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3524

Re: RC to PRG generator

Hola Antonio,

Interesting work, I think it can be the start to another aproach to start a visual form builder, rc and prg source generator

Saludos cordiales

Marcelo Via
by Marcelo Via Giglio
Tue Feb 13, 2024 2:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1188

webview: toggle-switch replaceing TSwitch

Hello friends, In the green section, you see an object containing a WebView2. Inside this WebView2, there is an HTML form and a table. On the right side is an XBrowse. You can observe how WebView2 updates the XBrowse. I use XBrowse to display the events coming from JavaScript to ...
by Otto
Fri Feb 09, 2024 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: webview: toggle-switch replaceing TSwitch
Replies: 1
Views: 142

Re: Mr. Rao, refresh a Tree

Mr. Rao: the browse recordset has several columns although in the browse I only show three, the ones necessary to form the tree, and the editing of all the columns is done in a dialog, I am going to upload a video to better explain my problem, may I?. For me and my client your support ...
by Armando
Fri Feb 09, 2024 12:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao, refresh a Tree
Replies: 21
Views: 713

WEBVIEW2 and xBrowse

Hello friends, In the green section, you see an oSay containing a WebView2. Inside this WebView2, there is an HTML form and a table. On the right side is an XBrowse. You can see how WebView2 is updating the XBrowse. Best regards, Otto https://mybergland.com/fwforum/webview_xbrowse.gif ...
by Otto
Mon Feb 05, 2024 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WEBVIEW2 and xBrowse
Replies: 7
Views: 391

Re: REDEFINE BUTTON with custom font

... https://mybergland.com/ruth/screen.jpg but now I still struggle with the box itself. Maybe it is possible to have the square form of the checkbox also a little bit bigger? again thank you and have a nice weekend Ruth
by Ruth
Sat Feb 03, 2024 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: REDEFINE BUTTON with custom font
Replies: 12
Views: 681

Re: Different Processing of Escape Characters in Mod Harbour

Dear Otto,
I think \n leads to an error because the backslash is an escape character in javascript.
according to chatgpt :-) ... when used in a string, the \ expects to be followed by another character to form the escape sequence.
So \\n is needed in this case I suppose.
kind regards
ruth
by Ruth
Wed Jan 31, 2024 1:38 pm
 
Forum: mod_harbour
Topic: Different Processing of Escape Characters in Mod Harbour
Replies: 5
Views: 489

Re: Fine tune Phi2 from Microsoft with your own data

... !pip install accelerate==0.25.0!pip install bitsandbytes==0.41.1!pip install datasets==2.14.6!pip install peft==0.6.2!pip install transformers==4.36.2!pip install torch==2.1.0!pip install einops==0.4.1  # Phi needs this one import torchfrom transformers import AutoTokenizer, AutoModelForCausalLMbase_model ...
by Antonio Linares
Wed Jan 17, 2024 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fine tune Phi2 from Microsoft with your own data
Replies: 11
Views: 1251

Re: Unicode vs UTF8

... encodings. Accented WU characters are encoded with 2 bytes. Complex scripts like Asian languages use 3 bytes for each character. utf8 also is one form of Unicode encodings. Windows uses UTF16LE (Little Endian) encoding for all characters, i.e., 2 bytes for each character. This is what we call ...
by nageswaragunupudi
Sun Jan 07, 2024 5:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unicode vs UTF8
Replies: 2
Views: 1022

Re: Using Microsoft AI Phi-2 from FWH

Dear Jimmy, glad to know that you got it working using FWH :-) I think the different behavior with HMG is this: AI_FORM.oAnswer.Value += cStr with FWH we use Class TMultiGet METHOD Append( cStr )      METHOD Append( cText, nLen ) INLINE ;          &nbs...
by Antonio Linares
Fri Dec 22, 2023 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8225

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, Please try this using 64 bits only: HMG_CallDLL( "llama64.dll", HB_DYN_CTYPE_VOID, "Llama", cModel, cPrompt, CallBack( { | cStr | AI_FORM.oAnswer.SetFocus(), AI_FORM.oAnswer.Value += cStr } ) )  thx for Answer have try that CODE but s...
by Jimmy
Thu Dec 21, 2023 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8225

Re: Using Microsoft AI Phi-2 from FWH

Dear Jimmy, many thanks Please try this using 64 bits only: HMG_CallDLL( "llama64.dll", HB_DYN_CTYPE_VOID, "Llama", cModel, cPrompt, CallBack( { | cStr | AI_FORM.oAnswer.SetFocus(), AI_FORM.oAnswer.Value += cStr } ) ) and add this at the bottom: #pragma BEGINDUMP #include <hba...
by Antonio Linares
Thu Dec 21, 2023 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8225

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, Does HMG support DLL FUNCTION ? or similar ? Or should we use Harbour default DLL management functions ? Can you convert the FWH GUI part of the example to HMG ? as i know there is no DLL FUNCTION under HMG only HMG_CallDLL() Calls a ANSI/Unicode DLL Function HMG_CallDLL() detects the cu...
by Jimmy
Thu Dec 21, 2023 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 8225
Next

Return to advanced search