Search found 91 matches: snippet

Return to advanced search

WebView resize

... button within the WebView (HTML), the program encounters an error, but this only occurs if the DIALOG has been resized. Here's the relevant code snippet: h['oDlg']:bResized := { || oWebView:SetSize(600, 800) } Inside the function `fromjavascript(hPost)`, if the condition elseif hTemp['url'] == ...
by Otto
Fri Mar 08, 2024 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 313

Re: Calculate total pages

... ALLTRIM(str(nFor))+".emf", .F.)        DeleteEnhMetafile(hMeta)EndPage(oDevice:hDC) The code snippet you provided appears to be written in a language similar to Harbour or xBase, used for database applications. It's a routine for handling printing, ...
by Otto
Fri Nov 24, 2023 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5508

Re: Fwh 23.10 TGet another problem

... returned the value 286, as seen below. http://www.objekt.com.tr/fwh_test/newtest3.png In both versions, there is a code snippet like the one below inside the METHOD KeyChar function.      //      case nKey > 255         // reject unicode chars         SendMessage( ...
by Horizon
Wed Nov 15, 2023 9:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fwh 23.10 TGet another problem (UNSOLVED)
Replies: 132
Views: 52327

Interesting discussion with ChtGPT

... When I talk about "outdated", I'm referring to the general context of programming languages and not specifically to the provided code snippet. In the context of software development, Harbour/Clipper is seen as an older programming language or environment, especially compared to newer ...
by Otto
Mon Nov 06, 2023 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 887

FW 23.07 Xbrowse, Cargos rather than Cargo

Good evening Mr Nages, I would like to point out a small oversight in the XBROWSE program Cargos instead of Cargo, as noted in the code snippet below. The version of FWH is 23.07 Thank you   for nFor := 1 to Len( ::aCols )      if ( n := AScan( aStruct, ...
by mauri.menabue
Fri Aug 11, 2023 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW 23.07 Xbrowse, Cargos rather than Cargo
Replies: 4
Views: 279

API to download google sheet in csv form

Does anyone has a code snippet to connect to and download a google sheet in csv form?
TIA
by hua
Mon Jun 26, 2023 3:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: API to download google sheet in csv form
Replies: 0
Views: 159

create pdf

... in my print.prg But if I code oPrn:saytext( ... ) my program crashes with Unrecoverable error 9003: Too many recursive error handler calls Here a snippet from METHOD GenHaruPDF( cFile, lPreview ) of CLASS TPrinter 1905:   for each aCall in ::aCallLog1906:      oPdf:oPrn   := Self1907:      HB_ExecFromArray( ...
by Detlef
Sat May 13, 2023 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create pdf
Replies: 14
Views: 872

Re: Callback Server

... In the code snippet I provided earlier for sending SMS via Synology DSM SMS API, the "YOUR_USERNAME" and "YOUR_PASSWORD" fields refer to the login credentials of an account on your Synology NAS device that ...
by Otto
Fri Mar 10, 2023 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostBack Server
Replies: 7
Views: 648

Re: Callback Server

... he code snippets I provided in my previous answers are written in JavaScript, which is a popular programming language used for both front-end and back-end web development, as well as server-side scripting, automation, and more. ...
by Otto
Fri Mar 10, 2023 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostBack Server
Replies: 7
Views: 648

Re: modal dialog

Dear Otto,

First solution here seems to work fine: (run the provided code snippet button in the solution)
https://stackoverflow.com/questions/19528173/bootstrap-open-another-modal-in-modal
by Antonio Linares
Sat Jan 15, 2022 9:57 am
 
Forum: mod_harbour
Topic: modal dialog
Replies: 2
Views: 317

"SUBMARINE" - template for a web page (DBF database)

... We will evolve step by step this example. data comes from a DBF file bootstrap 4 -> card-columns from w3 school added a bs4 w3school slider snippet Live-Demo https://www.modharbour.club/submarine/index.prg Download https://www.modharbour.club/submarine/submarine.zip ...
by Otto
Wed Sep 22, 2021 6:38 pm
 
Forum: mod_harbour
Topic: "SUBMARINE" - template for a web page (DBF database)
Replies: 0
Views: 458

Re: CARD_COLUMN (example is called SUBMARINE )

Project name "SUBMARINE"
template for a web page
data comes from a DBF file
bootstrap 4 -> card-columns from w3 school
added a bs4 w3school slider snippet
Live-Demo
https://www.modharbour.club/submarine/index.prg
Download
https://www.modharbour.club/submarine/submarine.zip
by Otto
Wed Sep 22, 2021 6:34 pm
 
Forum: mod_harbour
Topic: CARD_COLUMN (example is called SUBMARINE )
Replies: 3
Views: 516

Re: Finding XBrowse current record

James, Here is a code snippet ...     REDEFINE  XBROWSE oLbxs ;      DATASOURCE aSrvHis ;      HEADERS " Date ", " Paid ", " Order # ", sLbl[3], " Parts ", " Labor ", " Sublet ...
by TimStone
Wed Jul 07, 2021 4:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Finding XBrowse current record
Replies: 11
Views: 1338

xBrowse: How to display image from resource based on flag

Hi,
Can someone share a code snippet to view image from resource in a column based on a flag in the dbf currently being viewed?

TIA
by hua
Fri Dec 04, 2020 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: How to display image from resource based on flag
Replies: 4
Views: 680

Re: xBrowse: Vertical Merge

Hi Rao,
Can I have zebra effect by playing with fonts for each set of No.?

If it's possible can you share the snippet to do it?

TIA
by hua
Fri May 15, 2020 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse: Vertical Merge
Replies: 14
Views: 2463
Next

Return to advanced search