Page 1 of 1
How to make this with FWH ?
Posted: Sat Apr 05, 2008 10:44 am
by Marco Turco
Hi to all,
I succesfully using the class VTITLE to make a title control over (or under) a browse or another control. I can also add a buttonbar on this control.
See this sample image at
www.softwarexp.co.uk/beta/vtitle.png where I use this control (follow the arrows)
My question:
could be possibile to make this also with the standard FWH classes ?
I haven't any problem with C5 but - by experience - there are always problems with third parts components when we update FWH so a build-in FWH control would be preferable.
Thanks.
Posted: Sat Apr 05, 2008 1:52 pm
by Antonio Linares
Marco,
What syntax do you use for VTitle ?
I guess we can easily create a replacement for it using standard FWH source code
Posted: Sat Apr 05, 2008 2:35 pm
by Marco Turco
This is the vtitle CH file.
#xcommand @ <nTop>, <nLeft> VTITLE [ <oTitle> ] ;
[ SIZE <nWidth>, <nHeight> ] ;
[ <dlg:OF,DIALOG> <oDlg> ] ;
[ CAPTION <cText> ] ;
[ ACTION <uAction,...> ] ;
[ FONT <oFont> ] ;
[ IMAGE <cImage> ] ;
[ MARGIN <nMargin> ] ;
[ <lLeftImg: LEFTIMG> ] ;
[ <lIcon: ICON> ] ;
[ <lBorder: BORDER> ] ;
[ <lOnOff: ONOFF> ] ;
[ <color: COLOR, COLORS> <nClrText> [,<nClrPane> ] ] ;
[ COLORBAR <nClrBar>[, <nClrBar2> ] ] ;
[ COLORBORDER <nClrBorde> ] ;
[ SPEED <nSpeed> ] ;
[ ANIMATION <aBmps,...> ] ;
[ <lDnArrow: NODOWNARROW> ] ;
[ <lFlash: FLASH> ] ;
=> ;
[ <oTitle> := ] TTitle():New( <nTop>, <nLeft>, <nWidth>, <nHeight>, <oDlg>,;
<cText>, <cImage>, <.lLeftImg.>, <.lIcon.>, <.lBorder.>, <nClrText>, <nClrPane>,;
<nClrBar>, <nClrBar2>, [{|this|<uAction>}], <oFont>, <nMargin>, [\{<aBmps>\}], <nSpeed>,;
<.lOnOff.>, <.lDnArrow.>,;
<nClrBorde>, <.lFlash.> )
Posted: Sat Apr 05, 2008 3:12 pm
by richard-service
Marco Turco wrote:This is the vtitle CH file.
#xcommand @ <nTop>, <nLeft> VTITLE [ <oTitle> ] ;
[ SIZE <nWidth>, <nHeight> ] ;
[ <dlg:OF,DIALOG> <oDlg> ] ;
[ CAPTION <cText> ] ;
[ ACTION <uAction,...> ] ;
[ FONT <oFont> ] ;
[ IMAGE <cImage> ] ;
[ MARGIN <nMargin> ] ;
[ <lLeftImg: LEFTIMG> ] ;
[ <lIcon: ICON> ] ;
[ <lBorder: BORDER> ] ;
[ <lOnOff: ONOFF> ] ;
[ <color: COLOR, COLORS> <nClrText> [,<nClrPane> ] ] ;
[ COLORBAR <nClrBar>[, <nClrBar2> ] ] ;
[ COLORBORDER <nClrBorde> ] ;
[ SPEED <nSpeed> ] ;
[ ANIMATION <aBmps,...> ] ;
[ <lDnArrow: NODOWNARROW> ] ;
[ <lFlash: FLASH> ] ;
=> ;
[ <oTitle> := ] TTitle():New( <nTop>, <nLeft>, <nWidth>, <nHeight>, <oDlg>,;
<cText>, <cImage>, <.lLeftImg.>, <.lIcon.>, <.lBorder.>, <nClrText>, <nClrPane>,;
<nClrBar>, <nClrBar2>, [{|this|<uAction>}], <oFont>, <nMargin>, [\{<aBmps>\}], <nSpeed>,;
<.lOnOff.>, <.lDnArrow.>,;
<nClrBorde>, <.lFlash.> )
Is this C5 product?
Richard
Dialog-Titles with Fivewin
Posted: Sat Apr 05, 2008 3:36 pm
by ukoenig
Hello Marco,
I will put a source-creator in the forum,
that will do the job for you for a given design.
It is 100% FW-code
Regards
Uwe
Posted: Sat Apr 05, 2008 6:10 pm
by Marco Turco
richard-service wrote:Marco Turco wrote:This is the vtitle CH file.
Is this C5 product?
Richard
Yes. It is a C5 product.
Posted: Sat Apr 05, 2008 8:08 pm
by Silvio
Marco i made a class as your Vtitle !
Antonio and Emg know this class but i cannot publish it because i have some problems with ch file
If antonio can help me perhaps i can pubblish it soon
Posted: Sun Apr 06, 2008 2:42 am
by richard-service
Marco Turco wrote:richard-service wrote:Marco Turco wrote:This is the vtitle CH file.
Is this C5 product?
Richard
Yes. It is a C5 product.
Hi Marco,
I think we had bought more C5 products or other 3rd party.
C5 offer to near 100% full source code that let me modify it when FWH or xHarbour upgrade. So your problem only one. Try to find problem and modify it for compatible new FWH or xHarbour. You try this, you will be study C5 products skill for you.
Regards,
Richard
Posted: Sun Apr 06, 2008 8:44 am
by Enrico Maria Giordano
Silvio wrote:Marco i made a class as your Vtitle !
Antonio and Emg know this class
Sorry, but I don't know (and I'm not interested in) that class.
EMG
Posted: Sun Apr 06, 2008 11:03 am
by Silvio
dear emg,
on saturday you sent me a message for thr tpsinttitle class do you remember now?
why you say all not truly?
Posted: Sun Apr 06, 2008 1:52 pm
by Marco Turco
richard-service wrote:Marco Turco wrote:richard-service wrote:
Yes. It is a C5 product.
Hi Marco,
I think we had bought more C5 products or other 3rd party.
C5 offer to near 100% full source code that let me modify it when FWH or xHarbour upgrade. So your problem only one. Try to find problem and modify it for compatible new FWH or xHarbour. You try this, you will be study C5 products skill for you.
Regards,
Richard
Hi Richard,
as written we haven't any problem with C5
and we also succesfully use others C5 controls without problem.
However - in my opinion - I would like to have an alternative class as "second choice" built into FWH to avoid update problems in the future.
C5 provide near the 100% source code as many other third parts components providers and it is appreciated but it is not a warrancy because the library has to be compatible in the same moment with the current xharbour version (and pcode) and with the current FWH version.
Simply take a look to the FWH and xharbour's newsgroups to see how many problems the FWH users have had with third class components (Easypreview, excel class, barcode etc...) when they made a relevant Harbour/FWH upgrade.
What it will happens if the library authors go to holiday for two months and I need to update Harbour of FWH to the current version for bug fixs of to include more features to my app ?
Posted: Mon Apr 07, 2008 12:16 pm
by Silvio
To ALL
Sorry,
I must corect all My messages :
when I sad " I made this class" I mean I'm creating this class with a my friend .
this friend is Ing. Stephan Haupt of Germany
I not wanted drop he and his work in this project
the first beta class is mine and then he corrected it .