Search found 185 matches: generator

Return to advanced search

Re: Centrar texto VERTICALMENTE

... quality and medium size pdfs cons: (1) Does not support rotated text and (2) pdf document is an image and not editable. 2. Using FWH's own PDF generator.(written many years ago) If MSWord is not installed, this is the default. We can also force this by setting TPrinter():lUseFWPDF := .t. cons: ...
by nageswaragunupudi
Wed Apr 10, 2024 1:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 475

New FTDN February 2024 (FWH 24.02)

... you may need to do with the names. Please review samples\rctoprg.prg for an example of use. samples\rctoprg.prg is a powerfull FWH source code generator for your resources dialogs. Simply rename your RC file as rctoprg.rc, build rctoprg.prg and it will generate the code for the dialogs that ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 210

Re: creating a new function HtmlToRtf()

... code you get in tabelle.rtf, insert your RTF header: {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1031{\fonttbl{\f0\fnil\fcharset0 Arial;}} {*\generator Riched20 10.0.19041}\viewkind4\uc1 \pard\sa200\sl276\slmult1\f0\fs22\lang7 and then add } at the end. I made a test and it is working fine. ...
by Silvio.Falconi
Fri Feb 16, 2024 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: creating a new function HtmlToRtf()
Replies: 3
Views: 287

Re: creating a new function HtmlToRtf()

... code you get in tabelle.rtf, insert your RTF header: {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1031{\fonttbl{\f0\fnil\fcharset0 Arial;}} {*\generator Riched20 10.0.19041}\viewkind4\uc1 \pard\sa200\sl276\slmult1\f0\fs22\lang7 and then add } at the end. I made a test and it is working fine. ...
by Otto
Thu Feb 15, 2024 11:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: creating a new function HtmlToRtf()
Replies: 3
Views: 287

Re: RC to PRG generator

Thank you ;)
by vilian
Thu Feb 15, 2024 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

vilian wrote:Where could i find file windows.h ?


The C compiler provides it
by Antonio Linares
Thu Feb 15, 2024 1:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Where could i find file windows.h ?
by vilian
Thu Feb 15, 2024 1:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Now we list all the dialogs that are available in the embedded RES inside the EXE and allows you to select one and generate the code for it: simply rename your RC file as rctoprg.rc and build rctoprg.prg If you keep your dialogs inside a DLL then replace GetInstance() for LoadLibrary( "yourdll....
by Antonio Linares
Tue Feb 13, 2024 11:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Simplifying the code: #include "FiveWin.ch"#define GWL_STYLE         -16static hVars := { "oBtn" => 0, "oLbx" => 0, "oGet" => 0, "oTbr" => 0,;                  "oB...
by Antonio Linares
Tue Feb 13, 2024 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Enhanced version: #include "FiveWin.ch"#define GWL_STYLE         -16static nButtons := 0, nLbxs := 0, nGets := 0, nTrackBars := 0, nXBrowses := 0, nMeterExs := 0static nGroups := 0, nRadios := 0function Main()   local oDlg    TMeterEx():Register()   TXBrowse(...
by Antonio Linares
Tue Feb 13, 2024 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

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: 1202

Re: RC to PRG generator

Antonio, One small thought. You are using oDlg each time. I realize it is LOCAL and that should be OK, but over the years, I find in my experience, sometimes I still have issues arise. In my case, I often give the dialogs unique names, especially if I will have multiple ones on the same screen. For ...
by TimStone
Mon Feb 12, 2024 11:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Antonio. I've already done some tests and I couldn't identify the GoupBox control. The control is assigned to the BUTTON type. I needed a way to identify the BS_GROUPBOX too.  CONTROL "Guias Anteriores", 1101, "Button", BS_GROUPBOX, 2, 13, 135, 22  CONTROL "Atualiz...
by Giovany Vecchi
Mon Feb 12, 2024 11:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Very good master. It's starting to look good. Muy buen maestro. Está empezando a tener buena pinta. local oBtn1, oBtn2, oBtn3, oBtn4, oBtn5local oGet1, oGet2local oXbrw1local oMtr1DEFINE DIALOG oDlg RESOURCE "BOXBACKUP"REDEFINE BUTTON oBtn1 ID 611 OF oDlg ACTION ''REDEFINE XBROWSE oBrw1 ID...
by karinha
Mon Feb 12, 2024 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202

Re: RC to PRG generator

Dear Joao, Please try this updated version: #include "FiveWin.ch"#define GWL_STYLE         -16static nButtons := 0, nLbxs := 0, nGets := 0, nTrackBars := 0, nXBrowses := 0, nMeterExs := 0function Main()   local oDlg    TMeterEx():Regi...
by Antonio Linares
Mon Feb 12, 2024 7:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1202
Next

Return to advanced search