Fivewin samples - Dialog designer

Post Reply
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Fivewin samples - Dialog designer

Post by Otto »

Hello Antonio,

Dialog designer

C:\fwh\samples\design.prg
If I add a Radio button and then try to create the prg file it errors out:
Application
===========
Path and name: C:\fwh\samples\design.exe (32 bits)
Size: 2,873,856 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20150712)
FiveWin Version: FWHX 15.06
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 30 secs
Error occurred at: 10/24/15, 12:19:14
Error description: Error BASE/1004 Class: 'NIL' has no exported method: NCLRTEXT
Args:
[ 1] = U

Stack Calls
===========
Called from: => NCLRTEXT( 0 )
Called from: .\source\classes\RADMENU.PRG => TRADMENU:NEW( 88 )
Called from: C:\fwh\samples\design.prg => CREATERADIO( 178 )
Called from: C:\fwh\samples\design.prg => (b)EDITDIALOG( 206 )
Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE( 1086 )
Called from: C:\fwh\samples\design.prg => EDITDIALOG( 239 )
Called from: C:\fwh\samples\design.prg => (b)MAIN( 19 )
Called from: .\source\classes\WINDOW.PRG => TDIALOG:RBUTTONDOWN( 2253 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 916 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 289 )
Called from: C:\fwh\samples\design.prg => MAIN( 19 )


Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6572
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 4 times
Been thanked: 6 times

Re: Fivewin samples - Dialog designer

Post by cnavarro »

Otto,
I do not get bug

Image
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Otto »

Hello Cristobal,
thank you.
I get the error when I try to save as prg.
I use xHarbour.
Can you send me your exe.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6572
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 4 times
Been thanked: 6 times

Re: Fivewin samples - Dialog designer

Post by cnavarro »

Otto, I get error also saved as prg
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
Antonio Linares
Site Admin
Posts: 42655
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 67 times
Been thanked: 96 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Antonio Linares »

I get this error:


Time from start: 0 hours 0 mins 7 secs
Error occurred at: 10/24/15, 22:22:46
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = C
DEFINE WINDOW
[ 2] = U

Stack Calls
===========
Called from: .\source\classes\WINDOW.PRG => TRADIO:CGENPRG( 1447 )
Called from: .\source\classes\WINDOW.PRG => (b)TWINDOW_CGENPRG( 1468 )
Called from: => AEVAL( 0 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:CGENPRG( 1468 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:CGENPRG( 470 )

Not sure how you get a different error...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Otto »

Dear Antonio,
depending what you insert the error is not always the same.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 42655
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 67 times
Been thanked: 96 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Antonio Linares »

Otto,

FWH\samples\design.prg it is just a draft to show the possibilities.

We should implement several changes in FWH to make it work right for all the controls.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Otto »

Dear Antonio,
have you had time to implement the changes in Windows.prg?
Is this in the new release.
Thank you and best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 42655
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 67 times
Been thanked: 96 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Antonio Linares »

Otto,

We have been focused on Unicode support in FWH and I didn't want to include any additional changes,
as implementing unicode in FWH has been a lot of changes already.

I am testing samples\design.prg testing each control, so I started with an empty dialog, placed a radio
and generated the PRG. Here you can download the EXE:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/design.exe

If you want to build it there, then I can email you the modified libs.

Anyhow, it requires more changes and the generated source code for a radio is not right. But at least
it is not crashing now. Instead of calling MemoEdit() and I am using FWH function SourceEdit() to review
the generated source code:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Otto »

Dear Antonio,
I get following error clicking on prg-code rc is working fine.
Best regards,
Otto

Application
===========
Path and name: C:\Entwicklung_2012\XICECUBE\xICZahlung\design.exe (32 bits)
Size: 3,084,800 bytes
Compiler version: Harbour 3.2.0dev (r1506171039)
FiveWin Version: FWH 15.09
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 45 secs
Error occurred at: 11/01/15, 10:05:11
Error description: Error FiveWin/6 Cannot create window or control:
Class: TSCINTILLA
Caption:
System Error: Fensterklasse wurde nicht gefunden.


Stack Calls
===========
Called from: .\source\classes\WINDOW.PRG => WNDCREATEERROR( 797 )
Called from: .\source\classes\WINDOW.PRG => TSCINTILLA:CREATE( 780 )
Called from: .\source\classes\SCINTILA.PRG => TSCINTILLA:NEW( 521 )
Called from: .\source\function\MEMOEDIT.PRG => (b)SOURCEEDIT( 313 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 699 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 889 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
Called from: .\source\function\MEMOEDIT.PRG => SOURCEEDIT( 313 )
Called from: design.prg => (b)EDITDIALOG( 213 )
Called from: .\source\classes\MENU.PRG => TMENU:ACTIVATE( 1034 )
Called from: design.prg => EDITDIALOG( 240 )
Called from: design.prg => (b)MAIN( 19 )
Called from: .\source\classes\WINDOW.PRG => TDIALOG:RBUTTONDOWN( 2265 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 905 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 293 )
Called from: design.prg => MAIN( 19 )
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
cnavarro
Posts: 6572
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Has thanked: 4 times
Been thanked: 6 times

Re: Fivewin samples - Dialog designer

Post by cnavarro »

Dear Otto
You Need Scilexer.dll, Scintilla.dll
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
Antonio Linares
Site Admin
Posts: 42655
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 67 times
Been thanked: 96 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Antonio Linares »

Otto,

Please copy SciLexer.dll from FWH\samples folder to the same path where design.exe is
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6416
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 35 times
Been thanked: 2 times
Contact:

Re: Fivewin samples - Dialog designer

Post by Otto »

Dear Antonio,
thank you.
Now it is working fine.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Post Reply