FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Fivewin samples - Dialog designer
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 10:37 AM

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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 10:59 AM
Otto,
I do not get bug

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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 11:26 AM

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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 06:31 PM

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 08:23 PM

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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin samples - Dialog designer
Posted: Sat Oct 24, 2015 08:50 PM

Dear Antonio,
depending what you insert the error is not always the same.
Best regards,
Otto

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Oct 25, 2015 09:49 AM

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
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 07:51 AM

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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 08:50 AM
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:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 09:06 AM

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 )

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 09:09 AM

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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 09:10 AM

Otto,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Fivewin samples - Dialog designer
Posted: Sun Nov 01, 2015 09:50 AM

Dear Antonio,
thank you.
Now it is working fine.
Best regards,
Otto

Continue the discussion