Search found 187 matches: generator

Return to advanced search

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

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

Re: RC to PRG generator

Master, intenta con este por favor. #ifdef __FLAT__  1 24 "WinXP\WindowsXP.Manifest"#endifBOXBACKUP DIALOG 90, 44, 310, 301STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_CAPTION | WS_SYSMENUCAPTION "PLENOIND - Configurar o Backup:"FONT 8, "MS Sans Serif"{ CON...
by karinha
Mon Feb 12, 2024 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Estimado Joao, Puedes usar cualquier fichero RC, la idea es cargar un diálogo a partir de su recurso y que escriba el código fuente. Aqui tienes el ejemplo: #ifdef __FLAT__  1 24 "WinXP\WindowsXP.Manifest"#endifsound DIALOG 69, 52, 446, 364STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE |...
by Antonio Linares
Mon Feb 12, 2024 3:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Master Antônio, donde está este recurso?    DEFINE DIALOG oDlg RESOURCE "Test"  I don't understand how this example works. I'm slow in the brain today. hahahaha. No entiendo cómo funciona este ejemplo. Hoy tengo el cerebro lento. jajajaja. Gracias, thanks. Regards, saludos.
by karinha
Mon Feb 12, 2024 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

If I understand correctly, you can't have both automatic and fixed items placing together.
by Enrico Maria Giordano
Mon Feb 12, 2024 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Enrico, You need to integrate bootstrap. However, the layout must result from the RC file. After the conversion, it should look similar to the initial screen. I only added the code to demonstrate how it's done with bootstrap. Best regards, Otto <!DOCTYPE html><html><head>  &nb...
by Otto
Mon Feb 12, 2024 11:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

With your sample I get a very ugly result. Is it that you really want? If yes, you don't need to position the items at all.
by Enrico Maria Giordano
Mon Feb 12, 2024 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Enrico, I want to generate a kind of HTML code from an RC file similar to the example code I posted. Best regards, Otto  <div class="container">        <h2>Adresskartei Eingabe</h2>        <form>       ...
by Otto
Mon Feb 12, 2024 10:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Can you show a sample of what you want to achieve exactly?
by Enrico Maria Giordano
Mon Feb 12, 2024 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Enrico, I would like a flexible system in HTML like Bootstrap's GRID, otherwise it becomes difficult if you want it to be responsive.
Best regards,
Otto
by Otto
Mon Feb 12, 2024 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Can't you just use style clause?

Code: Select all  Expand view
style = "position: absolute;  top: ...px; left: ...px;"
by Enrico Maria Giordano
Mon Feb 12, 2024 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Dear Antonio, I tried a few days ago to create html files from RC files using the rc.prgr. However, I couldn't find a quick solution for how to solve the positioning. In html, I have a row/column-based positioning and with the RC files, it's absolute. It then requires a bit of logic to implement thi...
by Otto
Mon Feb 12, 2024 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

Re: RC to PRG generator

Enhanced version: #include "FiveWin.ch"#define GWL_STYLE         -16static nButtons := 0, nLbxs := 0, nGets := 0, nTrackBars := 0function Main()   local oDlg    DEFINE DIALOG oDlg RESOURCE "Test"   ACTIVATE DIALOG oDlg CEN...
by Antonio Linares
Mon Feb 12, 2024 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396

RC to PRG generator

many times when we are done designing a dialog box, it is tedious to write the code for each control using REDEFINE ... Here you have an utility that automatically writes the code for you: (work in progress, we do appreciate your feedback) #include "FiveWin.ch"static nButtons := 0, nLbxs :...
by Antonio Linares
Sun Feb 11, 2024 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: RC to PRG generator
Replies: 23
Views: 1396
PreviousNext

Return to advanced search