FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Quotation
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Quotation
Posted: Thu Nov 22, 2012 05:31 PM
How I can create a quotation with stars ?

for sample I wish give to Fivewin five stars as

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Fri Nov 23, 2012 12:50 PM
Silvio,

working on a tester with different styles :
( added some more different Star-images )







Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Quotation
Posted: Fri Nov 23, 2012 02:49 PM

I like to move the mouse over the strars and set the quotation
the user must set also half stars

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Fri Nov 23, 2012 07:25 PM
Silvio,

3 different Star-styles
Left-click = full star
Right click = half star
changes in Tselect deletes all stars ( grey )
Exit-button saves selection to a INI-file


Autofill to right-direction
Samples :

1. ) with right Mouseclick select 3. Image from right
Result : fills Image 3 with half star and Image 1, 2 with full star

2. ) with left Mouseclick select 4. Image from right
Result : fills Image 1 to 4 with full star

Download : http://www.pflegeplus.com/fw_downlods/quotation1.zip

Click-results screenshots :
1. Right Mouseclick on 3. Image from right
2. Left Mouseclick on 4. Image from right
3. Right Mouseclick on 1. Image from right



Another 3 Sets :
Download : http://www.pflegeplus.com/fw_downlods/qset1.zip



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Quotation
Posted: Sat Nov 24, 2012 10:23 AM
GOOD
we can try to create a small class ....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Sat Nov 24, 2012 12:22 PM
Added ZERO-selection, Style-preview and 3 more styles
Selecting - 0 - and next a Image-click ( 1 - 5 ),
the slider auto-moves from - 0 - back to the selected style-position.
- 0 - status is saved to the INI as well ( selecting - 0 - and next the EXIT-button ).

Download : http://www.pflegeplus.com/fw_downlods/quotation2.zip



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Quotation
Posted: Sat Nov 24, 2012 08:48 PM

and we can give to a quotation a number ?

sample 150 one stars and half

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Sat Nov 24, 2012 09:03 PM
Silvio,

Yes, it will calculate from a given MAX-value.
I will add this solution.



Best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Sun Nov 25, 2012 01:08 PM
Added Star-value-calculations.
The Calc-button replaces the Image-values with a new Calculation from a new Max-value.
Values are calculated with the Image-change on Mouseclick.
The Max-value is saved to the INI-file.

Download : http://www.pflegeplus.com/fw_downlods/quotation3.zip



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Quotation
Posted: Mon Nov 26, 2012 02:36 PM

Please I have a small dialog

I have a get spinner as

@ 10, 8 SAY "Valorizzazione :" SIZE 39, 8 PIXEL OF oFld:aDialogs[7] COLOR 0, 14215660
@ 8, 54 GET aGet[28] VAR nLIVALORACI SIZE 50, 12 PIXEL OF oFld:aDialogs[7] UPDATE SPINNER MIN 1 MAX 10

and near to left I wish insert 5 stars
If the use press the spinner it must refresh the bitmap at left
it is possible ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Mon Nov 26, 2012 07:24 PM
Silvio,

calculation and painting from SPINNER works fine :
( still working on a TTitle-solution with Border, frame and Gradient / brush )



TTitle-solution with gradient, box-shadow, animated and reflex



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Quotation
Posted: Tue Nov 27, 2012 08:54 AM

where is this last sample ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Tue Nov 27, 2012 09:03 PM
Silvio,

completed
because TTitle doesn`t support Left / Right-mouseclick, You can change stars with the Get
Maybe I will still add a click-counter to the TTitle-images, to get it working like the the sample on top.
Any changes inside the Get or Style-selection, adjusts the Images and Values of TTitle as well.

Download :
http://www.pflegeplus.com/fw_downlods/Quotation4.zip



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Quotation
Posted: Mon Dec 03, 2012 10:51 AM
I completed the Quotation-tool with a new TTitle-image-dblclick and a PAINTER
It can be used as a TTitle-tester as well.

New :
1. Double-click-solution on TTitle-image ( normal, only Action defined )
--- 1 click = half star, 2 clicks = full star
2. TTitle-Base ( selection a Base-gradient, starts from 0.5 to 1 Color-position )
3. TTitle Color, Gradient, Brush or Transparent
4. TTitle-Shadow-size
5. Dialog Color, Gradient and Brush-selection
6. TTitle-Border ( uses the defined Textcolors from Dialog and TTitle )
7. Text-color for Dialog and TTitle


Download :
http://www.pflegeplus.com/fw_downloads/quotation5.zip



A BASE-TRANSPARENT-selection



The Painter .



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion