Fivewin samples - Dialog designer

Fivewin samples - Dialog designer

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin samples - Dialog designer

Postby cnavarro » Sat Oct 24, 2015 10:59 am

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
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Fivewin samples - Dialog designer

Postby Otto » 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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin samples - Dialog designer

Postby cnavarro » Sat Oct 24, 2015 6: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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Fivewin samples - Dialog designer

Postby Antonio Linares » Sat Oct 24, 2015 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin samples - Dialog designer

Postby Otto » Sat Oct 24, 2015 8:50 pm

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
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin samples - Dialog designer

Postby Antonio Linares » Sun Oct 25, 2015 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin samples - Dialog designer

Postby Otto » Sun Nov 01, 2015 7: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin samples - Dialog designer

Postby Antonio Linares » Sun Nov 01, 2015 8: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:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin samples - Dialog designer

Postby Otto » Sun Nov 01, 2015 9: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 )
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Re: Fivewin samples - Dialog designer

Postby cnavarro » Sun Nov 01, 2015 9: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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Fivewin samples - Dialog designer

Postby Antonio Linares » Sun Nov 01, 2015 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Fivewin samples - Dialog designer

Postby Otto » Sun Nov 01, 2015 9:50 am

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
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 91 guests